Commit graph

572 commits

Author SHA1 Message Date
Branimir Karadžić
c8442ebb40 Cleanup. 2014-04-16 22:24:31 -07:00
Branimir Karadžić
e39d280a31 Fixed 10-font example. 2014-04-16 22:11:14 -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
Branimir Karadžić
78475a30e6 Added ability to set start vertex when setting vertex buffer. 2014-04-10 22:09:17 -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ć
efc6516a00 Fixed compiler warning. 2014-04-07 22:58:30 -07:00
Branimir Karadžić
80b7ad4d2f GL: Added check for texture formats. 2014-04-06 21:31:28 -07:00
Branimir Karadžić
b4ed970363 Merge. 2014-04-06 21:30:32 -07:00
Attilaz
9092266533 iOS: added stencil buffer to context fbo. ( fixed stencil example )
Depth/stencil in this fbo ( and other contexts ) should depend on some user settable flag ( flag from bgfx::reset ?)
2014-04-06 14:58:21 +02: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
Branimir Karadžić
51d948bd15 Cleanup. 2014-03-31 20:37:04 -07:00
Branimir Karadžić
d436875344 Cleanup. 2014-03-31 20:08:32 -07:00
Branimir Karadžić
df7999c891 Merge pull request #81 from attilaz/master
fixed dst inside loop
2014-03-31 14:19:04 -07:00
attilaz
ec0f407469 fixed dst inside loop
This fixes examples 08,10 and 11 on iOS.
2014-03-31 23:01:46 +02: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ć
47a965bf51 Cleanup. 2014-03-30 10:22:18 -07:00
Branimir Karadžić
85c5172a29 Changed GLES macro to use version number. 2014-03-29 23:12:15 -07:00
bkaradzic
32ca63bd93 Cleanup. 2014-03-29 19:58:24 -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ć
dfdd644fdb Fixed compile error. 2014-03-27 09:55:39 -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ć
a3df7a3ac6 Added blend independent caps debug info. 2014-03-26 22:39:40 -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ć
03dc9225ed Enabled GL extensions for asm.js. 2014-03-18 22:50:24 -07:00
bkaradzic
329be757a9 OSX: Added NSOpenGLCPSwapInterval control. 2014-03-17 19:14:20 -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
bkaradzic
fa9b650b37 Added entry for asmjs. 2014-03-16 16:49:59 -07:00
Branimir Karadžić
c633838822 Fixed compile error. 2014-03-15 10:40:10 -07:00
Branimir Karadžić
e24c3f42b3 Cleanup. 2014-03-12 22:32:27 -07:00
Branimir Karadžić
cec1b79390 Removed unused variable. 2014-03-10 20:12:39 -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ć
08ec0f3f96 Cleanup. 2014-03-04 22:23:58 -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
bkaradzic
c01354ecd2 Fixed glimports. 2014-02-27 20:12:17 -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
Branimir Karadžić
9852b6977c Added missing gl stubs. 2014-02-25 21:33:16 -08:00
bkaradzic
d7c4adb369 Added missing caps to debug info. 2014-02-24 22:31:04 -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ć
b09018df86 DX9: Create D3DFMT_NULL render target when only depth is attached to framebuffer. 2014-02-22 08:48:30 -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ć
03632e48f6 Fixed createTexture default argument error. 2014-02-19 23:04:19 -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
Branimir Karadžić
3ca0d8312a Fixed GLES3 build. 2014-02-19 21:22:22 -08:00
bkaradzic
f554176645 GL import fixes for Linux. 2014-02-19 20:53:06 -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ć
c6f5fa3b25 Updated log message with renderer name. 2014-02-16 18:43:46 -08:00
Branimir Karadžić
91043b0195 Added dynamic loading of EGL library on Windows. 2014-02-16 16:40:08 -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
Branimir Karadžić
c89004fdeb Cleanup. 2014-02-10 21:06:46 -08:00
Branimir Karadžić
ad335be715 shaderc: Added ARB_shader_texture_lod extension. 2014-02-09 16:46:50 -08:00
bkaradzic
7884a72df2 Added destroy shaders option when creating program. 2014-02-06 20:03:26 -08:00
bkaradzic
877621105d Added MRT support. 2014-02-05 23:07:11 -08:00
bkaradzic
3273b04f6f Use aligned allocator for context. 2014-01-31 22:08:31 -08:00
bkaradzic
b0957f34fe Enable screen shot save when CRT file is present. 2014-01-21 20:53:43 -08:00
bkaradzic
b25a7cc9ff Fixed C4244 warnings. 2014-01-20 22:07:08 -08:00
bkaradzic
3e4ec1dc24 Added check for memory leak. 2014-01-20 21:49:36 -08:00
bkaradzic
2c05b90792 Embedded shaders and font into 17-drawstress. 2014-01-19 22:34:58 -08:00
bkaradzic
35f895adb3 Cleanup. 2014-01-19 16:03:09 -08:00
bkaradzic
e8075dc367 Using renderFrame to setup thread creation behavior. 2014-01-19 14:58:05 -08:00
bkaradzic
96d9d7437b Swiched from FPU to SIMD math. 2014-01-18 23:33:00 -08:00
bkaradzic
a11fbaf520 GL: Disable scissor before FB blit. 2014-01-16 08:33:25 -08:00
bkaradzic
4061d19963 Updated screenshots. 2014-01-13 20:36:33 -08:00