Commit Graph

1391 Commits

Author SHA1 Message Date
Branimir Karadžić
c17f4a751d Merge branch 'dev' 2015-12-26 14:59:08 -08:00
Branimir Karadžić
dcd4ab951c D3D11: Fixed creating redundant depth/stencil state. Issue #623. 2015-12-26 14:41:43 -08:00
Branimir Karadžić
7f3084166a Cleanup. 2015-12-25 10:21:36 -08:00
Lunkhound
fb55a92239 fix: when resizing a dynamic vertex buffer, update numVertices 2015-12-25 01:53:25 -08:00
Branimir Karadžić
caf305ceb1 OSX: Added weak framework for linking Metal. 2015-12-23 14:26:20 -08:00
Branimir Karadžić
c82d3e86d9 texturec: Added BC4/5 compression. 2015-12-22 15:40:55 -08:00
Branimir Karadžić
35340d121f texturec: Added BC1/2/3 and ETC1 compression. 2015-12-18 18:15:30 -08:00
Marco Weber
2551e186cd Added triple buffering of uniform buffers. Fixes constant overwrites across frames while a render is still in flight. 2015-12-18 12:26:33 +00:00
Jonathan Young
adef759e53 Fixed macro redefinitions when using amalgamated.cpp 2015-12-17 17:03:10 +10:00
Branimir Karadžić
5a03a03b95 D3D11: Fixed dynamic index/vertex buffer update. Issue #601. 2015-12-16 11:44:42 -08:00
MikePopoloski
dfc1ea87a7 Adding missing C99 functions 2015-12-15 10:23:51 -05:00
Branimir Karadžić
51ec498559 Cleanup. 2015-12-13 12:33:27 -08:00
Branimir Karadžić
06e1486132 Added BGFX_RESET_DEPTH_CLAMP. Issue #598. 2015-12-13 12:17:08 -08:00
Branimir Karadžić
c3dd88767a OSX: Fixed NSGLGetProcAddress and Remotery. Issue #595. 2015-12-11 21:53:33 -08:00
Branimir Karadžić
a02086c119 SortKey: Added static check for overlaps. 2015-12-09 16:56:56 -08:00
Branimir Karadžić
d59cf406c0 SortKey: Added check for invalid sequence value. 2015-12-09 11:46:45 -08:00
Branimir Karadžić
43f37a001d NaCl: Added occlusion query interface. 2015-12-08 20:34:31 -08:00
Branimir Karadžić
aaea5f93ec Fixed crash when debug output is not initialized. 2015-12-08 18:33:56 -08:00
Branimir Karadžić
fac71e9e35 Fixed issue #569. 2015-12-08 16:09:30 -08:00
Branimir Karadžić
ed1034f4f9 Cleanup. 2015-12-05 19:45:14 -08:00
Branimir Karadžić
cbb3f6d495 Removed check when RenderDoc is present. 2015-12-03 18:11:13 -08:00
Branimir Karadžić
0ee31a98c1 Cleanup. 2015-12-03 14:39:26 -08:00
Branimir Karadžić
dd391067d0 Metal: Fixed ObjC -> C string conversion. 2015-12-03 11:38:48 -08:00
Branimir Karadžić
0679776a4b D3D11: Fixed invalid blend state cache hash value. 2015-12-01 22:45:22 -08:00
Branimir Karadžić
234fac6b8e Added debug check when crating texture with unsupported texture format. 2015-12-01 12:59:45 -08:00
Branimir Karadžić
0f8ca11ff7 Cleanup. 2015-11-30 14:50:28 -08:00
xMyran
eb6833bea4 Debug build mistake 2015-11-30 21:52:57 +01:00
xMyran
b72d980a8a Added BGFX_RESET_SRGB_BACKBUFFER to GL 2015-11-30 19:03:27 +01:00
Marco Weber
e31e963165 Storing flags passed down to buffer object. 2015-11-26 12:20:41 +00:00
Branimir Karadžić
a5485b977c D3D12: Added timer query. 2015-11-25 20:34:15 -08:00
Branimir Karadžić
f5d9c28f03 Fixed clang warning. 2015-11-23 19:05:52 -08:00
Branimir Karadžić
b41446d4a3 Cleanup. 2015-11-22 13:15:10 -08:00
Branimir Karadžić
489a087390 Cleanup. 2015-11-22 12:37:38 -08:00
Ka-ming Chan
c6c8d9de12 fixed compile errors on osx in renderer_mtl
fixed the follow errors:
  Cannot initialize a member subobject of type 'MTLPixelFormat' with an rvalue of type 'int' 
while compiling for OSX with  Xcode 7.1
2015-11-22 21:36:47 +08:00
Branimir Karadžić
888343aea3 Cleanup. 2015-11-20 20:49:34 -08:00
Branimir Karadžić
347a86cbc0 Cleanup. 2015-11-19 22:44:50 -08:00
Branimir Karadžić
39409696e6 Cleanup. 2015-11-19 20:10:51 -08:00
Andrew Mac
120ed1c52f Fix blit for depth textures. 2015-11-19 22:51:58 -04:00
Branimir Karadžić
a303759e4c Fixed GL Remotery. 2015-11-18 23:42:35 -08:00
Branimir Karadžić
3ab8d3f7a5 Merge branch 'dev' 2015-11-17 22:25:31 -08:00
Branimir Karadžić
9094d162aa KTX: Fixed cubemap loading. 2015-11-17 22:10:17 -08:00
Branimir Karadžić
9955508da1 GL: Check if occlusion query functions are found. 2015-11-16 21:31:27 -08:00
Branimir Karadžić
97339918a0 Cleanup. 2015-11-16 15:51:30 -08:00
Branimir Karadžić
f64c050460 Fixed Remotery integration. 2015-11-16 11:02:41 -08:00
Branimir Karadžić
8ef9e248f1 Cleanup. 2015-11-16 08:45:13 -08:00
Branimir Karadžić
9897e6c784 Merge pull request #573 from andr3wmac/extended_profiling
Extended Remotery profiling.
2015-11-16 08:42:49 -08:00
Andrew Mac
6c395391a1 Extended Remotery profiling. 2015-11-16 10:42:56 -04:00
Branimir Karadžić
bc04ad0814 Cleanup. 2015-11-15 21:00:59 -08:00
Branimir Karadžić
8677017bac KTX: Added support for more formats and stubbed writer. 2015-11-15 20:40:23 -08:00
Branimir Karadžić
cbbba6e5f6 Sprinkled profiler macros. 2015-11-14 17:09:58 -08:00
Branimir Karadžić
f6f1b86793 Updated Remotery. 2015-11-14 16:39:15 -08:00
Branimir Karadžić
7c1b4c91e5 Merge branch 'master' of github.com:bkaradzic/bgfx 2015-11-13 08:18:29 -08:00
Branimir Karadžić
10674ad181 OSX: Fixed query counter crash. 2015-11-13 08:18:21 -08:00
Marco Weber
1638d797eb Added invalidation of renderpipeline state cache. In case the program object gets re-used the cache can return invalid instances of the descriptor. 2015-11-12 12:20:02 +00:00
Branimir Karadžić
5ff8fcaa01 Cleanup. 2015-11-10 19:43:08 -08:00
Branimir Karadžić
142521c8af Cleanup (issue #566). 2015-11-09 19:48:23 -08:00
Branimir Karadžić
5cd89ff624 Added BGFX_PROFILER_SCOPE. 2015-11-09 19:18:42 -08:00
Branimir Karadžić
384b45bec1 Fixed Android build. 2015-11-09 18:32:32 -08:00
Branimir Karadžić
c55a6101d2 Added begin/end CPU/GPU timer stats instead of elapsed. 2015-11-09 17:56:12 -08:00
Branimir Karadžić
c179bd051d Disabled glBindSampler(o, 0) on OSX. Fixed #563. 2015-11-07 20:34:38 -08:00
Branimir Karadžić
40d526744a Simplifed allocator. 2015-11-06 22:03:06 -08:00
Branimir Karadžić
d46b05500b GL: Fixed text rendering. 2015-11-06 21:30:08 -08:00
Branimir Karadžić
539353b7cb Added interface for shared library linking. 2015-11-06 17:25:30 -08:00
Branimir Karadžić
7e55edf5c1 Merge branch 'dev' 2015-11-05 22:25:22 -08:00
Branimir Karadžić
517e5069c9 Warn on matrix cache overflow. 2015-11-05 22:10:32 -08:00
Branimir Karadžić
4142a8f64a Cleanup. 2015-11-05 22:01:01 -08:00
Branimir Karadžić
dd0cd19725 Cleanup. 2015-11-05 21:32:23 -08:00
Branimir Karadžić
0184074392 Merge branch 'master' of cane:bkaradzic/bgfx 2015-11-05 21:15:33 -08:00
Branimir Karadžić
a9099f6b28 D3D12: Added occlusion query support. 2015-11-05 21:15:24 -08:00
Branimir Karadžić
781973a424 Cleanup. 2015-11-05 09:41:12 -08:00
Branimir Karadžić
ad343ec6c4 Metal: Fixed occlusion query offsets. 2015-11-05 09:13:23 -08:00
Branimir Karadžić
653bbea439 Metal: Occlusion query WIP. 2015-11-04 21:38:49 -08:00
Branimir Karadžić
422fcf6052 Metal: Enable only when building for 10.11. 2015-11-04 19:56:36 -08:00
Branimir Karadžić
06cd83ce20 Cleanup. 2015-11-04 16:19:25 -08:00
Branimir Karadžić
b3aa330b1c Cleanup. 2015-11-03 19:06:14 -08:00
Branimir Karadžić
867696f1dc Cleanup. 2015-11-03 17:20:20 -08:00
Branimir Karadžić
ecf7eba043 Added ability to read occlusion query result on main thread. 2015-11-03 16:00:14 -08:00
Branimir Karadžić
fdb8d0dec9 Updated docs. 2015-11-02 19:26:42 -08:00
Branimir Karadžić
dc71df5ecc Added occlusion query handle debug code. 2015-11-02 16:38:55 -08:00
Branimir Karadžić
202bfbd174 Cleanup. 2015-11-02 13:13:57 -08:00
Branimir Karadžić
dcb80a3f41 Cleanup. 2015-11-01 20:42:19 -08:00
Branimir Karadžić
0faf6f53c1 Metal: Fixed build. 2015-11-01 19:51:14 -08:00
Branimir Karadžić
cda2261c6e Fixed Android build. 2015-11-01 19:38:27 -08:00
Branimir Karadžić
7a8b3632b9 GL: Occlusion query. 2015-11-01 19:12:42 -08:00
Branimir Karadžić
4eac3f398e Cleanup. 2015-11-01 17:39:36 -08:00
Branimir Karadžić
6aa9629816 Added initial occlusion query support. 2015-11-01 17:28:23 -08:00
Vas Crabb
79c674bf12 Support OSX versions before high-DPI support was added 2015-10-31 19:57:53 +11:00
Branimir Karadžić
d9614c7b57 D3D9: Enable device-ex by default. 2015-10-29 20:41:19 -07:00
Branimir Karadžić
c497469cc0 D3D9: Fixed texture update. 2015-10-29 11:34:55 -07:00
Branimir Karadžić
e99a7688e6 D3D9: Fixed resolution update. 2015-10-29 10:58:45 -07:00
Branimir Karadžić
ef6c0ac855 D3D9: Fixed GPU timing on Win10. 2015-10-28 20:04:59 -07:00
Branimir Karadžić
ac3c4a59b6 Cleanup. 2015-10-28 17:54:50 -07:00
Branimir Karadžić
72774fd8e1 Added resetView. 2015-10-27 15:14:48 -07:00
Branimir Karadžić
0e93c43578 Merge branch 'master' of github.com:bkaradzic/bgfx 2015-10-27 09:15:39 -07:00
Branimir Karadžić
2c2b22b711 DXBC: Added missing chunks. 2015-10-27 09:15:11 -07:00
Branimir Karadžić
47aeaf49a9 D3D12: Texture read-back. 2015-10-26 20:37:15 -07:00
Branimir Karadžić
9429d46f1c Cleanup. 2015-10-26 18:32:14 -07:00
Branimir Karadžić
0cfc61b8ac DXBC: Added missing chunk. Fixed #536. 2015-10-24 11:24:08 -07:00
Branimir Karadžić
4fa238673c Added caps debug checks. 2015-10-23 22:31:14 -07:00
Branimir Karadžić
0e116113fb Cleanup. 2015-10-23 16:05:35 -07:00