Commit graph

528 commits

Author SHA1 Message Date
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
bkaradzic
e50f0b11dc Merge branch 'master' of github.com:bkaradzic/bgfx 2014-01-12 21:43:56 -08:00
bkaradzic
1f228a172b Increased BGFX_CONFIG_MAX_DRAW_CALLS to 64K. 2014-01-12 21:43:47 -08:00
bkaradzic
fc01a51e0b Merge. 2014-01-12 14:55:18 -08:00
bkaradzic
046449395b Added depth stencil texture formats. 2014-01-12 13:51:26 -08:00
bkaradzic
12545b0a88 Merge branch 'master' of github.com:bkaradzic/bgfx 2014-01-11 16:51:21 -08:00
bkaradzic
da62c82d3f Cleanup. 2014-01-08 22:08:37 -08:00
bkaradzic
d1117f34b5 Added support for different RT depth stencil formats. 2013-12-29 11:43:44 -08:00
bkaradzic
835131d69f Quiet GCC 4.8.1. 2013-12-23 20:57:58 -08:00
bkaradzic
b31eaa1697 Merge branch 'master' of github.com:bkaradzic/bgfx 2013-12-20 21:44:02 -08:00
bkaradzic
2674b5db5c Fixed Linux build with GL 3.1 2013-12-20 21:43:07 -08:00
bkaradzic
3903d3af85 GL: Updated extensions. 2013-12-20 21:42:24 -08:00
bkaradzic
7e656fa4ef Added GL 3.1 core profile shader patching. 2013-12-20 19:51:17 -08:00
bkaradzic
f4260eb405 GL: Added num mips to sampler state cache hash value. 2013-12-16 21:34:33 -08:00
bkaradzic
2fdea069ac Added fragment depth caps flag. 2013-12-15 12:30:23 -08:00
bkaradzic
ee8a277774 GLES2: Added GL_EXT_frag_depth support. 2013-12-13 23:06:28 -08:00
bkaradzic
96558381a4 Fixed init/detach shader order that causes crash on Tegra3. 2013-12-13 23:52:35 -08:00
bkaradzic
3cf263ec86 GLES2: Added support for 3D texture extension. Added shader patching to enable extensions. 2013-12-12 22:35:27 -08:00
bkaradzic
1a6300b6c4 Fixed issue#48. Passing bad MSAA value to glRenderbufferStorage. 2013-12-11 21:09:18 -08:00
bkaradzic
492e99e1c3 Android fixed RGBA16F texture format. 2013-12-10 22:18:00 -08:00
bkaradzic
6249e68467 Android default screen resolution. 2013-12-09 20:18:51 -08:00
bkaradzic
11722f17a1 Fixed GCC warning. 2013-12-07 10:26:17 -08:00
bkaradzic
dee588dfba OSX/iOS: Updated to Xcode5. 2013-12-07 10:19:54 -08:00
bkaradzic
4970c175c7 Fixed debug info. 2013-12-08 00:00:30 -08:00
bkaradzic
d595f34c0a Cleanup. 2013-12-07 22:01:55 -08:00
bkaradzic
5b4d4b37fa Fixed GL imports. 2013-12-07 22:01:32 -08:00
bkaradzic
f5f138290e Fixed MSVC warning. 2013-12-02 23:59:03 -08:00
bkaradzic
25002b301d Added vertex attrib half caps. 2013-12-02 19:47:12 -08:00
bkaradzic
9487ab6b5f Fixed GCC warnings. 2013-11-29 22:23:04 -08:00
Dario Manesku
fb780b2f25 Fixing bgfx::weldVertices(). 2013-11-20 05:50:11 +01:00
bkaradzic
04f348c2ea OSX: Moved NSOpenGLContext creation to the main thread that created NSWindow. Fixes occasional GL_INVALID_FRAME_BUFFER_OPERATION error on DrawElements. 2013-11-18 20:43:17 -08:00
bkaradzic
82194c57ee Updated glext with latest from Khronos. 2013-11-17 14:24:10 -08:00
bkaradzic
304683d839 Fixed DX11. 2013-11-16 10:58:15 -08:00
bkaradzic
fce9692557 Using language compliant header guards. 2013-11-13 21:54:36 -08:00
bkaradzic
08ebd5523d Updated 08-update example. 2013-11-08 22:10:31 -08:00
bkaradzic
d0005a5ff8 Cleanup. 2013-11-08 21:07:35 -08:00
bkaradzic
ec3f5d2369 Added workaround when unpack row length is not supported on GLES2. 2013-11-08 20:53:23 -08:00
bkaradzic
b584873b50 Added ability to specify arbitrary source pitch when uploading textures.
Added reference weldVertices implementation.
2013-11-07 23:00:53 -08:00
bkaradzic
35a39f6c00 Added vertex welding support. 2013-11-02 23:00:31 -07:00
bkaradzic
9ba51d6ff9 Cleanup. 2013-10-23 21:18:01 -07:00
bkaradzic
cbac476ee1 Removed 64K/indices dynamic index buffer limit. 2013-10-21 22:04:41 -07:00
bkaradzic
9646ecfc9c Removed use of non-portable _WIN32_WINNT macro. 2013-10-21 20:56:23 -07:00
bkaradzic
ce8f1bbf4d Added frame number as result for frame API call. Added number of draw calls as return value for submit and submitMask API calls. 2013-10-21 20:37:02 -07:00
bkaradzic
081939a306 DX9: Fixed mingw debug build. 2013-10-19 23:21:19 -07:00
bkaradzic
ea39b33e87 EGL: Added stencil config. 2013-10-19 22:17:52 -07:00