Commit graph

367 commits

Author SHA1 Message Date
Branimir Karadžić
ea36931ee1 Cleanup. 2014-10-30 21:06:52 -07:00
Branimir Karadzic
f960d0cc31 Cleanup. 2014-10-29 15:50:41 -07:00
Branimir Karadžić
f6cf4df3d3 Added OculusVR support. 2014-10-28 22:08:55 -07:00
Branimir Karadžić
e8ff46840e Cleanup. 2014-10-28 21:41:34 -07:00
Branimir Karadžić
208a348ab2 Fixed compile errors. Added default part of view debug name. Added example how to use view debug name. 2014-10-25 18:07:51 -07:00
Branimir Karadžić
8a354b0785 Added line strip primitive type. 2014-10-22 19:19:33 -07:00
Branimir Karadžić
bfa1f9f3af Moved ctor/dtor into init/shutdown to have class ctor fully initialized prior calling initialization code. 2014-10-13 21:14:51 -07:00
Branimir Karadzic
f5b8d636a6 GL: Fixed constants commit. 2014-10-08 19:58:29 -07:00
Branimir Karadžić
51d8daf762 Fixed constant buffer allocation logic. 2014-10-08 19:36:59 -07:00
Branimir Karadžić
a05acba1ee Added state cache info to debug panel. 2014-10-05 00:14:21 -07:00
Branimir Karadžić
7362288131 Added EGL swap chain. 2014-09-24 19:22:15 -07:00
Branimir Karadžić
f4c7f69ed7 Added swap chain caps. 2014-09-23 20:35:39 -07:00
Branimir Karadžić
506efdc072 GLES2: Added EXT_draw_buffers support. 2014-09-12 00:02:12 -07:00
bkaradzic
ba1c5353e6 Fixed iOS build. 2014-09-07 17:52:02 -07:00
Branimir Karadžić
2c03cf4927 Added multiple windows support. 2014-09-07 17:17:38 -07:00
Branimir Karadžić
6b00f65849 Increased number of MRT to 8. 2014-09-01 11:24:51 -07:00
Branimir Karadžić
4fb802e405 Added R11G11B10F format. 2014-08-26 20:56:53 -07:00
Branimir Karadžić
3b73fb2063 Cleanup. 2014-08-25 20:50:36 -07:00
Branimir Karadžić
2dcfe10acf Fixed undefined defines errors. 2014-08-21 22:05:02 -07:00
Branimir Karadžić
66890595b9 Added serialization for vertex decl attribute enums. Binary format changes. Rebuilt all meshes and shaders. 2014-08-17 17:20:15 -07:00
Branimir Karadžić
3295126799 Updated texture container texture format support. 2014-08-12 21:47:01 -07:00
Branimir Karadžić
659feeec61 Fixed NaCl debug build. 2014-08-06 22:16:17 -07:00
Branimir Karadžić
5ddec2b790 DX11: Added static linking with D3D libs for WinRT. 2014-08-04 22:01:20 -07:00
Branimir Karadžić
be4729940c Added BC6H and BC7 compressed formats. 2014-08-01 19:24:42 -07:00
Branimir Karadžić
1c04b822bd Cleanup. 2014-07-30 20:37:54 -07:00
Branimir Karadžić
f580110d7f Cleanup. 2014-07-30 20:34:26 -07:00
Branimir Karadžić
1d0a9841d7 Added intel fragment shader ordering. 2014-07-29 21:29:38 -07:00
Branimir Karadžić
6c8eeec36e Added caps info for all texture formats. 2014-07-27 20:44:02 -07:00
Branimir Karadžić
ac49c6f129 Added RG8 texture format. 2014-07-25 23:16:11 -07:00
Branimir Karadžić
c2c1f42ecc Cleanup. 2014-07-24 23:31:52 -07:00
Branimir Karadžić
532fdf2198 GLES3.1: Fixed getting compute shader active uniform information. 2014-07-24 21:30:57 -07:00
Branimir Karadžić
ade8f49b6d Added 32-bit texture formats. 2014-07-21 21:13:16 -07:00
Branimir Karadžić
62b620a1a0 Initial compute support. 2014-07-20 20:27:13 -07:00
Branimir Karadžić
0ebb4923fc Added interpolator qualifier support. 2014-06-25 18:43:26 -07:00
Branimir Karadžić
32ed7f5bf6 GL: Fixed MSAA + stencil. 2014-06-22 18:57:37 -07:00
Branimir Karadžić
1f7152cfc5 Cleanup. 2014-06-22 18:51:14 -07:00
Branimir Karadžić
0728b91bfa Workaround C4127 MSVC level 4 warning. 2014-06-08 20:57:39 -07:00
Branimir Karadžić
1c917de7f9 Added C99 compatible header. 2014-05-31 00:18:45 -07:00
Branimir Karadžić
b0d204c344 Added ability to choose renderer backend in runtime. 2014-05-26 14:09:26 -07:00
Branimir Karadžić
bba2ef8031 Added predefined uniforms for inverted view/proj/viewproj matrices.
shaderc: Added raw shader support.
shaderc: Fixed uniform types.
2014-05-10 20:51:54 -07:00
Branimir Karadžić
7bc62b1d07 Added tristrip support. 2014-04-26 23:48:41 -07:00
bkaradzic
a9b07870d5 Avoid creating MRT shaders when GL doesn't support MRT. 2014-04-19 18:16:26 -07:00
Branimir Karadžić
dbbaa6ec90 Added texture debug info. 2014-04-19 15:02:43 -07:00
Branimir Karadžić
903b186110 Cleanup. 2014-04-15 22:59:40 -07:00
Branimir Karadžić
bc36c29f2a Added ability to retrieve uniforms used by shader. 2014-04-15 19:10:56 -07:00
Branimir Karadžić
428f63eacb Cleanup. 2014-04-13 11:43:34 -07:00
Branimir Karadžić
f1a1212efc Fixed texture formats for iOS. 2014-04-12 21:25:38 -07:00
bkaradzic
4955630ab0 Removed texture format check from Emscripten build (causes JS to stop responding). 2014-04-10 20:18:16 -07:00
Branimir Karadžić
aadd9bd1c1 Fixed NaCl crash. 2014-04-10 19:21:10 -07:00
Branimir Karadžić
ea34b9476c Fixed GL texture sampler state. Issue#85 2014-04-09 21:23:27 -07:00
Branimir Karadžić
b4ed970363 Merge. 2014-04-06 21:30:32 -07:00
Attilaz
601df52fae APPLE_texture_format_BGRA8888 support fix, tested on Apple iPad mini 2. 2014-04-06 14:58:21 +02:00
Branimir Karadžić
5e382dc481 GL: Messing with compressed texture formats. 2014-04-02 22:06:18 -07:00
bkaradzic
ccf024dbbd GL: Check for extension and compressed texture format enumeration. 2014-04-02 20:52:15 -07:00
Branimir Karadžić
6e4ad864a9 Cleanup. 2014-04-01 22:58:03 -07:00
Branimir Karadžić
e907edd1eb GLES3 fixed gl_FragData patching. 2014-04-01 22:31:02 -07:00
Branimir Karadžić
c49656c473 Fixed GLES3 shader patching. 2014-03-31 23:17:05 -07:00
Branimir Karadžić
b4dc2d4ea1 Fixed samplers and depth format. 2014-03-31 22:41:56 -07:00
bkaradzic
e79a85bd2e Fixed iOS build. 2014-03-30 21:54:53 -07:00
bkaradzic
eb07a24124 Fixed shader patching. 2014-03-30 13:19:33 -07:00
Branimir Karadžić
85c5172a29 Changed GLES macro to use version number. 2014-03-29 23:12:15 -07:00
Branimir Karadžić
f436f79c10 Simplified API, removed difference between vertex and fragment shaders. 2014-03-29 19:42:57 -07:00
Branimir Karadžić
2701350b7f GLES3 fixes. 2014-03-29 17:22:24 -07:00
Branimir Karadžić
6afa55381a Updated glsl-optimizer. 2014-03-29 16:26:01 -07:00
bkaradzic
4410e0de4d Fixed debug marker extension check. 2014-03-29 14:32:47 -07:00
Branimir Karadžić
2f3c37d850 Cleanup. 2014-03-27 22:36:53 -07:00
Branimir Karadžić
4cabbe37d6 Fixed draw buffers. 2014-03-27 21:35:14 -07:00
Branimir Karadžić
b42819a87a Added GL_CHECK_I macro to ignore GL errors. 2014-03-27 09:19:44 -07:00
bkaradzic
eecbf19c57 Ignore blend independent when not supported. 2014-03-26 23:37:01 -07:00
Branimir Karadžić
d3753d69bf Added support for blend separate and blend MRT independent. 2014-03-25 23:07:51 -07:00
Branimir Karadžić
9e441a546f Removed workaround from old Emscripten SDK. 2014-03-16 22:36:53 -07:00
bkaradzic
dfa6229237 Fixed attribs and uniforms with WebGL/asmjs. 2014-03-16 18:16:08 -07:00
Branimir Karadžić
81a3e23841 Adding webgl extensions. 2014-03-16 17:43:51 -07:00
Branimir Karadžić
e24c3f42b3 Cleanup. 2014-03-12 22:32:27 -07:00
Branimir Karadžić
22bbd166d7 Cleanup. 2014-03-09 21:21:53 -07:00
bkaradzic
ed4496282b Cleanup. 2014-03-05 20:51:44 -08:00
Branimir Karadžić
dea6567b5b Cleanup. 2014-03-04 22:20:37 -08:00
Branimir Karadžić
c7ad5a0095 Use block info for minimum texture block size. 2014-03-01 20:08:50 -08:00
Branimir Karadžić
490e31de52 Merge branch 'master' of github.com:bkaradzic/bgfx 2014-03-01 19:30:55 -08:00
Branimir Karadžić
f04798d3e0 Fixed compressed image block size. 2014-03-01 19:27:34 -08:00
Branimir Karadžić
739b7646d7 Spit out translated shader in debug build when using ANGLE. 2014-02-26 20:24:35 -08:00
Branimir Karadžić
673a80363c Fixed MSAA resolve. 2014-02-25 22:20:09 -08:00
bkaradzic
cf940331d6 Fixed framebuffer size. 2014-02-24 22:10:19 -08:00
bkaradzic
7ad942b14b Fixed bad logic. 2014-02-24 22:02:43 -08:00
Branimir Karadžić
0fe44d7829 Fixed incomplete framebuffer. 2014-02-24 22:00:26 -08:00
Branimir Karadžić
6eee3cca63 Added shadow samplers and updated example 15-shadowmaps-simple to use them. 2014-02-24 21:44:12 -08:00
Branimir Karadžić
a68ffbf4a0 WIP: Adding texture compare modes and shadow samplers support. 2014-02-23 11:21:23 -08:00
Branimir Karadžić
ceffc24f17 Cleanup. 2014-02-20 23:03:31 -08:00
Branimir Karadžić
3bc15318fd Cleanup. 2014-02-20 22:05:50 -08:00
Branimir Karadžić
95ff8b3f07 Added ANGLE extensions. 2014-02-19 23:49:28 -08:00
Branimir Karadžić
753b9fdd15 Added ability to skip top level mips when parsing texture format. 2014-02-19 22:34:53 -08:00
bkaradzic
0829795663 GL import fixed for OSX and iOS. 2014-02-19 20:08:22 -08:00
Branimir Karadžić
db735f5ff6 GL import code cleanup. Added ability to load GLES library dynamically. 2014-02-18 23:36:13 -08:00
Branimir Karadžić
101a2162ff Added EXT_shader_texture_lod support. 2014-02-16 16:08:44 -08:00
Branimir Karadžić
e2532b37ff Fixed: Swizzle works only for BGRA8. 2014-02-16 10:50:58 -08:00
bkaradzic
cfdb38c590 Fixed EXT_bgra handling. 2014-02-14 20:43:00 -08:00
bkaradzic
ba7de4bcae Added precision specifier defines for embedded shaders. 2014-02-14 09:18:49 -08:00
bkaradzic
7c7f406c9e Fixed issue #74 (cont). 2014-02-13 22:50:52 -08:00
Branimir Karadžić
771909c988 Fixed issue #74. 2014-02-13 22:13:19 -08:00
Branimir Karadžić
9ff1d0c513 Updated copyright year. 2014-02-10 22:07:04 -08:00