Commit Graph

2238 Commits

Author SHA1 Message Date
Branimir Karadžić
dccd1cb00c Ignore sRGB from image container, use only flag passed. 2017-09-08 09:51:49 -07:00
ManuelK89
8f25bc49f5 Fix for ios: dont recreate GLES context if already existing. (#1232) 2017-09-07 09:37:13 -07:00
Branimir Karadžić
b88e566b80 Cleanup. 2017-09-06 19:04:04 -07:00
Branimir Karadžić
3bd460d39a Fail to create static vertex buffer when VertexDecl is incorrect. 2017-09-06 16:20:35 -07:00
Branimir Karadžić
b1e04204b9 D3D12: Implemented per view GPU profiler. 2017-09-04 19:52:26 -07:00
Branimir Karadžić
4ef7c415b8 Fixed OSX build. 2017-09-01 23:34:22 -07:00
Branimir Karadžić
85fb22e196 MTL: Implemented setName. 2017-09-01 20:46:07 -07:00
Branimir Karadžić
4bfb922565 D3D12: Implemented setName. 2017-09-01 19:19:08 -07:00
Branimir Karadžić
7d7c53967a Fixed several crash/mem leak issue related to multiple device init/shutdown. 2017-09-01 14:18:19 -07:00
Branimir Karadžić
83d0aab77a Updated C99 API. 2017-08-31 22:08:22 -07:00
Branimir Karadžić
db671c2ee4 GL: Implemented setName. 2017-08-31 20:30:43 -07:00
Branimir Karadžić
3aec2b89bf Added bgfx::setName to set resource debug name. 2017-08-30 21:46:57 -07:00
Branimir Karadžić
0286e209dd D3D9: Implemented per view GPU profiler. 2017-08-27 20:34:00 -07:00
Branimir Karadžić
f1c4871f5f Fixed unitialized profiler data. 2017-08-26 14:56:27 -07:00
Branimir Karadžić
f046503a1e Cleanup. 2017-08-22 11:03:37 -07:00
Branimir Karadžić
167db342bd Added BGFX_DEBUG_PROFILER. 2017-08-20 14:46:33 -07:00
Branimir Karadžić
f0971eda83 Removed Remotery. 2017-08-20 14:24:15 -07:00
Branimir Karadžić
21ade78454 Replaced GL internal profiler. 2017-08-20 14:20:54 -07:00
attilaz
036e4f86c1 removed fastMathEnabled = NO; (#1222) 2017-08-19 10:13:26 -07:00
Branimir Karadžić
64af590bd1 GL: Fixed 130 shader patching. 2017-08-17 19:21:20 -07:00
Branimir Karadžić
c83d2ea7a6 Fixed issue #1220. 2017-08-16 13:16:18 -07:00
Branimir Karadžić
07bd69c56c Fixed compute program shader ref counting. 2017-08-14 18:25:57 -07:00
Branimir Karadžić
c930137c54 Internal profiler WIP. 2017-08-13 21:15:39 -07:00
Branimir Karadžić
5a987b3af8 Added texture LOD bias setting. 2017-08-11 15:21:01 -07:00
Branimir Karadžić
1d5c3386fe Fixed shader ref counting. 2017-08-07 17:41:08 -07:00
Branimir Karadžić
90d75a0427 Cleanup. 2017-08-05 11:18:07 -07:00
tommyZZM
c8012427d9 Metal: Add support of setting CAMetalLayer as PlatformData.nwh for macOS(OSX) platform (#1218) 2017-08-05 10:44:27 -07:00
Branimir Karadžić
3d0e4b91a3 GL: Fixed OSX shader patching. 2017-08-02 11:02:33 -07:00
Branimir Karadžić
bed131c879 Cleanup. 2017-07-28 19:50:33 -07:00
Branimir Karadžić
b0efd3c44d GL: Detect write only framebuffers. 2017-07-28 19:14:25 -07:00
Branimir Karadžić
54c8d69590 Fixed shader ref counting. 2017-07-28 16:43:16 -07:00
Branimir Karadžić
6225876692 If hash match reuse existing shaders instead creating. 2017-07-28 09:43:45 -07:00
Branimir Karadžić
8272809534 Added 32-bit dispatch dimension. 2017-07-27 14:57:31 -07:00
Branimir Karadžić
a71a1ab1c0 Fixed compute type defines. 2017-07-26 20:53:49 -07:00
Branimir Karadžić
5dd943c937 Fixed build. 2017-07-24 11:01:43 -07:00
Branimir Karadžić
1a9a42bcda Fixed texture validation. 2017-07-22 21:03:29 -07:00
Branimir Karadžić
84692b51b3 Cleanup. 2017-07-22 10:07:20 -07:00
Harold Comere
4d61bfd35c gl_renderer readTexture fallback for gles based renderers (#1123)
* * Implement readTexture fallback when texture read-back is not supported ( gles based renderer )

* Add test to support readTexture fallback for non compressed texture only
2017-07-22 10:05:24 -07:00
Branimir Karadžić
38574b6b73 GL: Removed VAO support. 2017-07-20 22:50:27 -07:00
Branimir Karadžić
cca1876d1a Cleanup. 2017-07-19 10:46:18 -07:00
Branimir Karadžić
900a614915 Cleanup. 2017-07-19 08:23:07 -07:00
Branimir Karadžić
e67dcff430 Cleanup. 2017-07-18 23:20:57 -07:00
Branimir Karadžić
839cab0613 GL: gracefuly fail to initialize if frame buffer is not supported. 2017-07-18 23:20:52 -07:00
Branimir Karadžić
393ee208ca Added timeout period for renderFrame call. 2017-07-18 19:58:28 -07:00
Branimir Karadžić
7c9b2b7257 API change: Simplified destroy functions to use overload resolution. 2017-07-17 22:29:43 -07:00
Branimir Karadžić
a247d29298 Cleanup. 2017-07-17 22:14:34 -07:00
Branimir Karadžić
8d5600519a Added missing override. 2017-07-17 17:26:02 -07:00
Branimir Karadžić
3e212b519f Moving code around and renaming files. 2017-07-15 21:01:08 -07:00
Branimir Karadžić
10c9fca9a8 Fixed build. 2017-07-15 15:31:14 -07:00
Branimir Karadžić
7360d29c4b Fixed build. 2017-07-15 15:18:38 -07:00
Branimir Karadžić
0bbbb585d1 Cleanup. 2017-07-15 14:32:29 -07:00
Branimir Karadžić
a274c9a6c5 Replaced BX_OVERRIDE with override. 2017-07-15 00:17:29 -07:00
Branimir Karadžić
3b41095c85 GL: Fixed creating sRGB texture array. Issue #1194. 2017-07-07 23:20:47 -07:00
Branimir Karadžić
f27526d7e2 GL: Added texture array format test. 2017-07-07 18:23:13 -07:00
Branimir Karadžić
bf9ce5b788 Fixed issue #1194. 2017-07-06 12:32:09 -07:00
Branimir Karadžić
1ebc0d4704 GL: Fixed sampler3D on Mesa. 2017-07-06 09:21:31 -07:00
Branimir Karadžić
a48757da26 Cleanup. 2017-07-05 13:24:55 -07:00
Branimir Karadžić
94f01a34bf Fixed issue #1192. 2017-07-04 13:10:27 -07:00
Branimir Karadžić
1fb1fd979d Cleanup. 2017-07-01 14:27:30 -07:00
Branimir Karadžić
7440bed0b8 GL: Fixed compute texture sampler. 2017-06-28 18:08:20 -07:00
Branimir Karadžić
d6cdf71273 GCC7 fallthrough. 2017-06-27 20:52:37 -07:00
Branimir Karadžić
e089013129 Fixed texture format validation. 2017-06-23 15:37:15 -07:00
Branimir Karadžić
9c510e3c64 Fixed compute texture sampler binding. 2017-06-22 14:16:51 -07:00
Branimir Karadžić
9d1df47f09 Merge branch 'master' of github.com:bkaradzic/bgfx 2017-06-20 22:28:37 -07:00
Branimir Karadžić
f84711fc19 Fixed GL. 2017-06-20 22:28:22 -07:00
Branimir Karadžić
58d915d88d Cleanup. 2017-06-20 21:44:23 -07:00
Branimir Karadžić
236ef4b875 Fixed shader binary truncation. Issue #1170. 2017-06-20 20:34:41 -07:00
Branimir Karadžić
0780a3a7c9 Encoding sort key depending on view mode. 2017-06-15 16:41:59 -07:00
Branimir Karadžić
d8968e1214 Updated sort key. 2017-06-14 22:29:12 -07:00
Branimir Karadžić
6910ddba9e WIP: Adding more sort key modes. 2017-06-14 18:10:42 -07:00
Branimir Karadžić
10d78210f7 Fixed build. 2017-06-12 23:51:07 -07:00
Branimir Karadžić
30b6d07e29 Cleanup. 2017-06-12 22:43:07 -07:00
Branimir Karadžić
c39c6121a6 Removed obsolete platform. 2017-06-11 22:54:52 -07:00
Branimir Karadžić
525af7685e Renaming CrtFile* -> File*. 2017-06-11 21:01:38 -07:00
Branimir Karadžić
6a6c5e3af9 Cleanup. 2017-06-10 22:31:59 -07:00
attilaz
019d9909c1 fixed compilation of metal with new constant style (#1150) 2017-06-10 16:01:20 -07:00
Branimir Karadžić
07d799f72e Renamed constants to new style. 2017-06-09 21:57:08 -07:00
Branimir Karadžić
24569934a1 Added color2/3 attributes. 2017-06-06 17:25:17 -07:00
Branimir Karadžić
e19a6738c7 shaderc: If GLSL version is above 4.00 shaderc will just pass preprocessed code without invoking glsl-optimizer. 2017-06-05 17:37:26 -07:00
Olli Wang
ed99f83093 Fixes texture format for NanoVG framebuffer. (#1147)
* Fixes pixel format for iOS.

* Fixes texture format of nanovg framebuffer.
2017-06-04 09:53:19 -07:00
Branimir Karadžić
535dcee5f7 Fixed compute overload issue. 2017-06-02 16:53:06 -07:00
Branimir Karadžić
32730a7776 Cleanup. 2017-06-01 19:21:29 -07:00
Branimir Karadžić
83965f10e8 Cleanup. 2017-05-31 18:05:29 -07:00
Branimir Karadžić
d638e5c84d Properly initialize UAV buffer when data is provided. 2017-05-31 18:05:23 -07:00
Branimir Karadžić
c4f5129e84 Removed support for Native Client. https://developer.chrome.com/native-client/migration 2017-05-30 23:49:53 -07:00
Branimir Karadžić
18d0eebbce Cleanup. 2017-05-30 18:17:41 -07:00
Branimir Karadžić
f3b96ef61b GL: Fixed EXT_texture_array. 2017-05-29 13:08:10 -07:00
Branimir Karadžić
e5cf5a618d Fixed texture array support for embedded shaders. 2017-05-29 12:47:50 -07:00
Branimir Karadžić
2d4c62d8e8 Embedded SPIR-V shaders. 2017-05-29 10:44:52 -07:00
rams3s
5724020208 Fixed D3D11 error in example 08-update. (#1145) 2017-05-29 10:38:06 -07:00
Branimir Karadžić
32f1760690 VK: Updated headers. Cleanup. 2017-05-28 12:10:43 -07:00
Branimir Karadžić
21872101f2 Cleanup. 2017-05-26 17:17:08 -07:00
attilaz
974c0bce3f enable detach shader workaround (#1141) 2017-05-26 08:15:37 -07:00
attilaz
c9ab2af0e2 metal - texture array creation bug fix (#1144) 2017-05-26 08:13:51 -07:00
Branimir Karadžić
b0a122449c Cleanup. 2017-05-18 17:44:31 -07:00
Branimir Karadžić
f0a69b6aa5 Merge branch 'master' of github.com:bkaradzic/bgfx 2017-05-18 08:55:54 -07:00
Branimir Karadžić
b72b3df894 Fixed issue #1135. 2017-05-18 08:55:52 -07:00
PpluX
c6fd7dc095 fixes the use of texture2DLod on IOS with OpenGLES backend (#1133)
* fixes the use of texture2DLod on IOS with OpenGLES backend

* fix type in previous commit
2017-05-17 11:17:50 -07:00
Branimir Karadžić
e8c630c001 Cleanup. 2017-05-16 17:29:59 -07:00
Branimir Karadžić
0ca2e6c9eb Cleanup. 2017-05-14 19:19:28 -07:00
Branimir Karadžić
89119ba850 Cleanup. 2017-05-14 17:24:58 -07:00
Branimir Karadžić
13677280c0 Cleanup. 2017-05-14 16:28:26 -07:00
Branimir Karadžić
68c6b46a65 Exposed vertex stream argument to API. 2017-05-14 11:48:59 -07:00
Branimir Karadžić
52c28fa531 Cleanup. 2017-05-14 10:48:51 -07:00
Branimir Karadžić
8a675c66b1 D3D9: Added multiple vertex stream support. 2017-05-13 22:21:02 -07:00
Branimir Karadžić
276d1557de D3D11: Added multiple vertex stream support. 2017-05-12 17:53:12 -07:00
Branimir Karadžić
8406c9cc72 D3D12: Fixed blit. 2017-05-09 23:03:03 -07:00
Branimir Karadžić
dd836d3e45 Cleanup. 2017-05-08 17:51:26 -07:00
Branimir Karadžić
64dc397d53 Added nVidia Optimus, and AMD PowerXpress workarounds. 2017-05-06 16:45:49 -07:00
Branimir Karadžić
5cf382eac5 Fixed blit submit. 2017-05-05 22:56:57 -07:00
Branimir Karadžić
5be58d37c6 Fixix blit submit. 2017-05-05 22:22:14 -07:00
Branimir Karadžić
682cbc60ab GL: Fixed texture blit in last view. 2017-05-05 21:25:44 -07:00
Branimir Karadžić
2e31ff9fd4 shaderc: Fixed pack/unpackHalf2x16. 2017-05-04 18:00:42 -07:00
Branimir Karadžić
748a9af62a compute: Fixed imageSize. 2017-04-28 16:18:59 -07:00
Eric Budai
6c41e0e9aa static analysis fixes (#1124) 2017-04-26 19:58:31 -07:00
Branimir Karadžić
f300010028 Added setVertexBuffer with stream index. 2017-04-25 20:11:17 -07:00
Branimir Karadžić
45e7bf5df4 Making RG11B10F name consistent with other texture formats. 2017-04-24 20:31:58 -07:00
Branimir Karadžić
3d73d0904b shaderc: Added support for gl_VertexID/InstanceID. Issue #1062. 2017-04-23 15:53:15 -07:00
Branimir Karadžić
aba8438683 Fixed OSX build. 2017-04-22 16:22:57 -07:00
Branimir Karadžić
c9679731a5 Renaming string functions. 2017-04-22 14:47:02 -07:00
Branimir Karadžić
2d766b34e1 Clamp minimum window size to 1x1. 2017-04-17 17:54:59 -07:00
Branimir Karadžić
fec8e3a2bd Cleanup. 2017-04-17 14:56:44 -07:00
Branimir Karadžić
5ab9add4b8 Fixed OSX build. 2017-04-16 22:09:34 -07:00
Branimir Karadžić
6e9e862565 Renaming string functions. 2017-04-16 21:56:17 -07:00
Branimir Karadžić
73edc54b2e D3D11: Quiet some debug messages. 2017-04-14 18:10:15 -07:00
Branimir Karadžić
5cc3d866d7 GLSL: Fixed image3D compute intrisics. 2017-04-10 12:50:54 -07:00
Branimir Karadžić
370abf6788 Cleanup. 2017-04-09 19:31:24 -07:00
Branimir Karadžić
91f7782223 Cleanup. 2017-04-08 10:46:27 -07:00
Branimir Karadžić
dc69484d06 Revert commented out code. 2017-04-08 10:35:19 -07:00
Branimir Karadžić
814d04fcc5 noop: Pretend all features are available. 2017-04-08 10:17:55 -07:00
Branimir Karadžić
2334da13e6 EAGL: Renamed GL_DEPTH24_STENCIL8_OES to GL_DEPTH24_STENCIL8. Issue #1109. 2017-04-08 10:16:32 -07:00
Branimir Karadžić
a57bee7fd4 Cleanup. 2017-04-08 10:04:35 -07:00
Branimir Karadžić
c44c68ed4c Release memory inside any function that takes Memory argument and it could fail when out of handles. 2017-04-07 20:02:31 -07:00
Branimir Karadžić
8b14a7e977 Added fall back to noop renderer when device is removed. 2017-04-07 19:07:20 -07:00
Branimir Karadžić
6aae4e6962 GL: Added workaround options for issue #1105. 2017-04-06 22:15:58 -07:00
Branimir Karadžić
e2efaf56de Fixed Metal. 2017-04-06 20:39:06 -07:00
Branimir Karadžić
81f9162d58 Moved bindings outside of render item. 2017-04-06 20:32:48 -07:00
Branimir Karadžić
5ffdd2de23 Cleanup. 2017-04-06 19:40:22 -07:00
Branimir Karadžić
e5395db19c Rename setShaderBuffer to setBuffer. 2017-04-06 19:03:16 -07:00
PyryM
83e30ec609 api changes (#1107)
d3d11 + opengl implementations

everything else will have very strange behavior if you try to bind a
buffer to a shader

avoid compiler error/warning about unused parameter

copy paste mistake

add in function for index buffers as well

Might as well cover all the bases; index buffers are also a convenient
way to create int-typed buffers, since there aren't int32 vertex
attributes.

get rid of precision loss warnings

d3d12 bindShaderBuffer implementation

throw an assert on d3d9 at least

BX_CHECK on metal as well (no compute support atm)

simplify api since access is restricted to read

hide from public api at the moment

move comment into correct branch of if

Feature: bind vertex/index buffers for vertex/fragment shaders
2017-04-06 18:59:30 -07:00
Branimir Karadžić
967c811e10 mtl: Fixed build. 2017-04-03 23:00:19 -07:00
Branimir Karadžić
8ce85d2462 Added bimg dependency. 2017-04-03 22:42:27 -07:00
Branimir Karadžić
423c655095 Cleanup. 2017-04-03 20:43:57 -07:00
Branimir Karadžić
79ba213379 dxbc: Fixed udiv. 2017-03-31 12:40:23 -07:00
Branimir Karadžić
96fec2cbf3 Fixed vertex decl cleanup. 2017-03-30 22:07:23 -07:00
Branimir Karadžić
28c0cb3ace Always create separate dynamic vertex buffer for compute. 2017-03-30 21:27:05 -07:00
Branimir Karadžić
139c1353ee Cleanup. 2017-03-29 21:53:09 -07:00
Branimir Karadžić
31312f897d Fixed VertexDecl tracking. 2017-03-29 17:54:38 -07:00
Branimir Karadžić
294f15fd5e Allow updating RO compute buffers. 2017-03-28 17:35:16 -07:00
Branimir Karadžić
9b3031ab35 Force at least 1 uniform element. 2017-03-27 19:27:52 -07:00
Branimir Karadžić
f59b754274 Fixed warning. 2017-03-27 11:57:12 -07:00
Branimir Karadžić
0cc945c988 D3D12: Added info about both local and non-local memory. 2017-03-25 00:13:15 -07:00
Branimir Karadžić
db3939ca16 Merge pull request #1093 from BrianHarris/master
Vulkan/Spirv updates
2017-03-24 17:06:24 -07:00
Brian Harris
38226cf2c5 Vulkan fixes 2017-03-24 15:20:16 -05:00
Branimir Karadžić
082b2a0c02 Fixed issue #1085. 2017-03-23 20:27:16 -07:00
Branimir Karadžić
293c1dc60a Added support for texture2DGrad. 2017-03-23 17:33:29 -07:00
Branimir Karadžić
7f847d9af0 Cleanup. 2017-03-22 19:19:35 -07:00
Branimir Karadžić
7a290e0de6 Cleanup. 2017-03-21 00:14:48 -07:00
Branimir Karadžić
a77bab5a92 Fixed KTX parsing. 2017-03-16 18:01:05 -07:00
Dario Manesku
35323725e9 Don't force stb image loader to use RGBA8. 2017-03-14 14:28:11 +01:00
Dario Manesku
073ab4b3ad Fixing OGL multiple vertex streams. 2017-03-13 04:03:52 +01:00
Branimir Karadžić
6e8cd93518 GL: Fixed crash. 2017-03-11 13:36:19 -08:00
Dario Manesku
72d98681bb Fixing a bug introduced with multiple vertex stream support for OGL backend. (#1072) 2017-03-11 13:26:53 -08:00
Branimir Karadžić
dd244f8de4 Cleanup. 2017-03-10 19:03:41 -08:00
Branimir Karadžić
e2363f2b38 Cleanup. 2017-03-09 21:35:41 -08:00
Branimir Karadžić
25dd8377d5 examples/common: Cleanup dealing with textures. 2017-03-09 21:20:45 -08:00
Branimir Karadžić
9c881298a9 Cleanup. 2017-03-08 20:04:40 -08:00
Branimir Karadžić
4bdd3ae599 Cleanup. 2017-03-07 22:11:04 -08:00
Branimir Karadžić
b0e13445db Exposed occlusion query result. 2017-03-06 17:23:22 -08:00
Branimir Karadžić
a7372c8c75 Fixed issue #1064. 2017-03-05 16:17:02 -08:00
Branimir Karadžić
a1184d53c5 Invalidate occlusion queries in flight when new occlusion query with the same id is created. 2017-03-03 18:05:36 -08:00
Branimir Karadžić
cd263210f3 D3D9: Implemented swap chain screen shot. 2017-03-02 22:48:10 -08:00
Branimir Karadžić
1444704901 Cleanup. 2017-03-02 19:29:34 -08:00
Branimir Karadžić
86fc54ccfc Added ability to specify swap chain for screenshot. 2017-03-02 18:02:14 -08:00
Branimir Karadžić
7e76736082 Return bgfx::RenderFrame::Timeout when internal semaphore times out and skips rendering. 2017-03-01 20:12:47 -08:00
Branimir Karadžić
eaa5ccf6ad Cleanup. 2017-02-28 11:01:58 -08:00
Dario Manesku
a956558c93 Multiple vertex stream support for OGL backend. (#1059) 2017-02-28 10:32:36 -08:00
Don Williamson
8a37dd8e87 GL Renderer, OSX, no swap chain: Bind back buffer fbo ready for NSOpenGLContext flushBuffer (#1056) 2017-02-27 16:12:48 -08:00
Branimir Karadžić
e70f28e1b4 Enable RenderDoc loading in D3D12. 2017-02-23 22:15:28 -08:00
Branimir Karadžić
2e3bdc619e Fixed projection matrix. 2017-02-22 22:17:44 -08:00
Branimir Karadžić
0827c42dc6 Added consistent depth clear value between GL and DX (and other APIs). 2017-02-22 21:04:24 -08:00
Branimir Karadžić
61b709944c Cleanup. 2017-02-21 15:02:01 -08:00
Branimir Karadžić
af92146360 Added custom allocator to ImageContainer. 2017-02-19 17:51:38 -08:00
Branimir Karadžić
618c4841ff Cleanup. 2017-02-17 23:18:48 -08:00
Brian Harris
ae566e2bb6 Some vulkan fixes (#1051) 2017-02-17 09:35:09 -08:00
Branimir Karadžić
dca5df16dd Fixed build. 2017-02-16 23:03:38 -08:00
Branimir Karadžić
094c6a95d7 Cleanup. 2017-02-16 21:07:39 -08:00
Branimir Karadžić
6cd89105cb Clamp view rect. 2017-02-16 14:49:38 -08:00
Branimir Karadžić
61be03a1d3 Cleanup. 2017-02-15 22:24:49 -08:00
Branimir Karadžić
3a43edcf30 Defer occlusion query destruction to avoid usage overlap. 2017-02-14 18:20:49 -08:00
Branimir Karadžić
cbc7378cd1 Cleanup. 2017-02-13 19:22:58 -08:00
Branimir Karadžić
c4eec4fa69 Cleanup. 2017-02-11 09:28:38 -08:00
Branimir Karadžić
fab74e9c4a Cleanup. 2017-02-11 09:12:16 -08:00
Branimir Karadžić
87bace7f95 Cleanup. 2017-02-10 20:24:02 -08:00
Branimir Karadžić
bfe5a66b3e Cleanup. 2017-02-09 19:31:19 -08:00
Branimir Karadžić
b99ebb9535 Cleanup. 2017-02-08 19:55:31 -08:00
Branimir Karadžić
aa2a9deb5f Cleanup. 2017-02-08 18:17:59 -08:00
Branimir Karadžić
03e6076e59 Cleanup. 2017-02-07 16:02:17 -08:00
Branimir Karadžić
dd9f1a235f Cleanup. 2017-02-06 08:56:21 -08:00
PpluX
cd3d3c14f9 Added support for EGL_ANDROID_recordable (#1038) 2017-02-06 08:54:43 -08:00
Branimir Karadžić
1d7b32e464 Fixed typo. 2017-02-03 18:25:35 -08:00
Branimir Karadžić
5bfcf44d83 Cleanup. 2017-02-02 18:09:52 -08:00
Andrew Johnson
5cf641c3db Ensure we get a debug context as appropriate in glx. (#1034)
If BGFX_CONFIG_DEBUG is defined, get a GL debug context. This mirrors the
behavior from wgl, and allows KHR_debug/ARB_debug_output messages to work.
2017-02-02 08:58:49 -08:00
Branimir Karadžić
b62fe2749f Fixed create/destroy windows. 2017-01-26 15:34:11 -08:00
Branimir Karadžić
a8cf2f86a9 Cleanup. 2017-01-20 16:34:27 -08:00
Branimir Karadžić
8a1c9a2f27 Cleanup. 2017-01-20 16:28:12 -08:00
Brian Harris
ffd3771a09 Updated makefiles to build spirv (#1025) 2017-01-20 09:29:09 -08:00
Branimir Karadžić
eccf6b7b1c Cleanup. 2017-01-19 17:36:50 -08:00
Branimir Karadžić
3e4c4b8a6c Cleanup. 2017-01-19 15:12:27 -08:00
Branimir Karadžić
8f215395aa Fixed VS build. 2017-01-19 09:11:32 -08:00
Branimir Karadžić
14dccb7f1e Cleanup. 2017-01-19 00:22:06 -08:00
Branimir Karadžić
fd6ab494ff Merge branch 'master' of github.com:bkaradzic/bgfx 2017-01-15 16:22:54 -08:00
Branimir Karadžić
f63553fecc Cleanup. 2017-01-15 16:22:47 -08:00
Branimir Karadžić
ec4f98f33a Fixed VS build. 2017-01-14 17:45:27 -08:00
Branimir Karadžić
b526c8175a Moved pixelformat helper functions to bx. 2017-01-14 16:32:06 -08:00
Branimir Karadžić
8b3f752af5 Skip rendering when scissor is zero area. 2017-01-11 20:38:38 -08:00
Branimir Karadžić
5540b253a2 Fixed issue #1019. 2017-01-11 20:29:40 -08:00
Branimir Karadžić
e434222772 Fixed 0x0 backbuffer. 2017-01-11 18:46:53 -08:00
Branimir Karadžić
14dbb67320 Fixed IFH debug flag. 2017-01-10 17:14:50 -08:00
Branimir Karadžić
dcd82ea2b6 Backed out PR #1014. 2017-01-08 15:23:02 -08:00
Branimir Karadžić
0271b449f8 Cleanup. 2017-01-06 20:15:33 -08:00
Dario Manesku
bb1a2f76a1 OGL backend now supports multiple vertex streams. (#1014) 2017-01-06 19:45:50 -08:00
Branimir Karadžić
b9b8a6e871 Cleanup. 2017-01-04 08:34:25 -08:00
Branimir Karadžić
3b83f53ab1 Happy New Year! 2017-01-01 00:18:41 -08:00
Branimir Karadžić
043f4109da Fixed build. 2016-12-26 20:43:58 -08:00
Branimir Karadžić
07aae82d16 Replaced checkAvail* with getAvail* API. 2016-12-22 16:18:44 -08:00
Branimir Karadžić
5a0d824331 Exposed a few more internal performats stats. 2016-12-19 17:18:07 -08:00
Branimir Karadžić
af9122b209 texturev: Added support for loading .exr images. 2016-12-18 17:02:20 -08:00
Branimir Karadžić
1bf115a7f1 Fixed typo. 2016-12-16 19:35:27 -08:00
Branimir Karadžić
d19341359a Fixed warning. 2016-12-16 19:34:52 -08:00
attilaz
8dffd785e5 metal fixes (#999)
- texture array update fix
- commandqueue resource release fix
2016-12-16 09:14:17 -08:00
Branimir Karadžić
0f912dffec Fixed build. 2016-12-15 19:06:41 -08:00
Branimir Karadžić
e0b901a98a VK: Initial commit. 2016-12-15 19:03:47 -08:00
Branimir Karadžić
a978d21764 Cleanup. 2016-12-15 09:03:53 -08:00
attilaz
f873dcbd10 metal fixes, optim (#997)
osx meamleak fix
refactored commandqueue handling to be somewhat similar to d3d12
removed slow cb sync in buffer update
2016-12-15 08:54:45 -08:00
Branimir Karadžić
ced949ae00 Fixed warning. 2016-12-14 23:23:05 -08:00
Branimir Karadžić
7627153fc8 Cleanup. 2016-12-14 22:48:18 -08:00
Branimir Karadžić
b9845f3937 Fixed build. 2016-12-14 00:25:21 -08:00
Branimir Karadžić
e248d8a799 Cleanup. 2016-12-14 00:24:37 -08:00
Branimir Karadžić
1569122d91 Cleanup. 2016-12-10 15:42:12 -08:00
Branimir Karadžić
e54616f716 Fixed blit key remap. 2016-12-09 18:37:26 -08:00
Branimir Karadžić
90cc7640fb Fixed out of bound access when running out of matrix cache. 2016-12-06 14:47:27 -08:00
Branimir Karadžić
ec15f0a01f Fixed VS build. 2016-12-06 09:23:22 -08:00
Branimir Karadžić
02cd83ff31 Cleanup. 2016-12-05 21:47:04 -08:00
Branimir Karadžić
8da9e54957 Renamed bgfxdefines.h to defines.h, and bgfxplatform.h to platform.h. 2016-12-05 19:52:01 -08:00
Branimir Karadžić
4afd337d5e Cleanup. 2016-12-04 19:52:48 -08:00
Branimir Karadžić
8068dd7f58 Standardized way to deal with embedded shaders. 2016-12-04 19:43:07 -08:00
Branimir Karadžić
093688de3c D3D12: Better fix for texture row pitch. 2016-12-03 20:52:44 -08:00
Бранимир Караџић
231b036bca D3D12: Fixed texture update. 2016-12-03 20:39:05 -08:00
Branimir Karadžić
ae1bd00db9 D3D12: Added RenderDoc support. 2016-12-02 13:03:57 -08:00