Commit graph

347 commits

Author SHA1 Message Date
bkaradzic
74cbfc9c04 GL MSAA WIP. 2013-02-17 18:04:40 -08:00
bkaradzic
8f155985b6 Fixed GL_ARB_instanced_arrays on MESA. 2013-02-03 12:17:33 -08:00
bkaradzic
4dc9be09d3 Fixed RGBA16F DDS loading. 2013-01-26 23:00:35 -08:00
bkaradzic
3a7090684a Fixed bug caused by mixing GLES and GL texture extensions. 2013-01-23 23:42:38 -08:00
bkaradzic
800226545b Added RGTC extension. 2013-01-22 20:34:08 -08:00
bkaradzic
f0b80b6d09 Fixed bpp. 2013-01-22 20:04:02 -08:00
bkaradzic
37d720abd4 Remove debug code. 2013-01-21 23:38:04 -08:00
bkaradzic
e866a7b2e3 Fixed VAO cache. 2013-01-21 23:36:47 -08:00
bkaradzic
c26f8f4718 Added support for LATC/3DC texture compression. 2013-01-20 12:47:29 -08:00
Garett Bass
2bbcb92109 Added OSX entry point and OpenGL context
Added OSX entry point and OpenGL context
2013-01-15 20:37:07 -08:00
bkaradzic
4412f0f1d0 Fixed compile error. 2013-01-14 20:10:07 -08:00
bkaradzic
4779be3527 Fixed bad internal texture format when DXT is not supported. 2013-01-13 23:14:13 -08:00
bkaradzic
b77df356c1 Separated GL context code. 2013-01-13 18:39:25 -08:00
bkaradzic
174524dde4 Moved x11 window creation into examples/common. 2013-01-13 15:35:06 -08:00
bkaradzic
43ce51b8ec Updated year in copyright notice. 2013-01-13 10:57:24 -08:00
bkaradzic
9e562eed97 Added GL vertex array object support. 2013-01-12 19:13:51 -08:00
bkaradzic
b02f87acc0 Fixed glXCreateContext crash due to use of freed memory. 2013-01-10 23:01:33 -08:00
bkaradzic
3d12a8cd84 Fixed GLX initialization. 2013-01-08 20:57:15 -08:00
bkaradzic
97bcef11d9 Create GL2.1 context on Linux before trying to create GL3.0. 2013-01-06 21:50:55 -08:00
bkaradzic
79f5f23b79 Cleanup of texture swizzle and BGRA format handling. 2013-01-06 12:39:18 -08:00
bkaradzic
00e5de828e Check glGetString for glErrors. 2013-01-05 15:24:05 -08:00
bkaradzic
e21e840001 Cleanup. 2013-01-01 13:19:10 -08:00
bkaradzic
446686b48f Added vertex pack/unpack support. 2012-12-31 18:48:52 -08:00
bkaradzic
d4cd0ea4fa Added 07-callback example. 2012-12-30 20:52:47 -08:00
bkaradzic
ff41632999 Fixed GL renderer for Intel SandyBridge. 2012-12-29 13:46:25 -08:00
bkaradzic
1bc2ec8015 Initial version of geometry compiler. 2012-12-28 17:09:34 -08:00
bkaradzic
9473fb1ffd Fixed eol. 2012-12-26 22:52:10 -08:00
bkaradzic
d16b930a39 GL: Anisotropic texture. 2012-12-09 19:20:32 -08:00
bkaradzic
cae8789603 Fixed DX11 texture filtering. Added anisotropic texture flag. 2012-12-09 18:51:55 -08:00
bkaradzic
0ebfe75db3 Added PNaCl build support. 2012-12-08 15:24:51 -08:00
bkaradzic
11a05e8cd7 Cleanup fatal error enum. 2012-12-08 14:30:41 -08:00
bkaradzic
b2bde26fed Removed s_primNumVerts. 2012-11-25 22:32:27 -08:00
bkaradzic
a3b0dde24b Fixes. Added vsh output/fsh input hash matching. 2012-11-25 18:24:50 -08:00
Branimir Karadzic
4614bc1106 Fixed Linux build. 2012-11-11 13:12:16 -08:00
bkaradzic
e3a31a2efc Added stencil support. 2012-11-10 19:59:23 -08:00
bkaradzic
3df2825243 Added R5G6R5 texture format. Added VAO. 2012-11-08 23:27:11 -08:00
bkaradzic
bbb0139b13 Removed unused code. 2012-11-08 20:46:08 -08:00
bkaradzic
ebd738ae8e Unified code path for ARB_get_program_binary and OES_get_program_binary. 2012-11-08 20:29:58 -08:00
bkaradzic
21f5d0c008 Print GLSL version. 2012-11-06 23:01:19 -08:00
bkaradzic
2f370a6f06 Added support for GL_ANGLE_instanced_arrays. 2012-11-05 23:09:17 -08:00
bkaradzic
695fc7fd5f Fixed GLES2 build. 2012-11-03 22:52:16 -07:00
bkaradzic
ff656de290 Fixed update texture. 2012-11-03 21:36:17 -07:00
bkaradzic
9e681bb2ed Fixed vertex decl attribute size calculation. 2012-11-03 13:12:26 -07:00
bkaradzic
7accea7b5d Added texture loading example. 2012-10-27 21:34:41 -07:00
Branimir Karadzic
4bc42d9f97 Setup emscripten canvas. 2012-10-22 19:39:59 -07:00
Branimir Karadzic
b0075aa06c Added emscripten platform. 2012-10-21 22:09:14 -07:00
bkaradzic
d4c7545b1e Added support for GLES3. 2012-10-13 22:21:02 -07:00
bkaradzic
cfac3feb85 Added more examples. 2012-10-07 20:41:18 -07:00
bkaradzic
1621cc851a Added examples. 2012-09-16 17:36:08 -07:00
bkaradzic
28a73924b2 Texture update work. 2012-08-19 18:50:23 -07:00
bkaradzic
b86fb4cb56 Added texture update. 2012-08-12 21:02:11 -07:00
bkaradzic
8a8b958d1f Bug fixes. 2012-08-09 22:06:22 -07:00
bkaradzic
38b75c9470 Removed srcalphasat from dst blend mode. 2012-08-07 22:25:25 -07:00
bkaradzic
45a85d438c DX11 wip. 2012-08-05 14:51:49 -07:00
bkaradzic
7adf1f6dc2 DX11 stuff wip. 2012-07-29 13:50:23 -07:00
bkaradzic
2833ff1c14 GL meminfo for NV. 2012-07-24 22:59:18 -07:00
bkaradzic
b1c4c4bbb0 Added GL memory info. 2012-07-24 21:54:19 -07:00
bkaradzic
98ebe1f076 Added DX11 renderer stub. 2012-07-08 19:10:07 -07:00
bkaradzic
295f5166f4 Added stub functions for instancing when it's not supported. 2012-07-08 12:28:38 -07:00
bkaradzic
1e7b94e82a Adding geometry instancing support. 2012-07-07 23:22:52 -07:00
bkaradzic
be7600e560 Fixed unused variables. 2012-07-02 20:53:12 -07:00
Matthew Endsley
d77f5e5c1a updating to cleanly compile with -Wall and -Wextra 2012-07-02 12:07:27 -07:00
bkaradzic
d8c1ddae83 Added tinystl support. 2012-06-27 20:49:45 -07:00
bkaradzic
1b0f2b6cbc Cleanup. 2012-06-26 22:37:08 -07:00
bkaradzic
2b607e0f8f Fixed texture flags shifts. Added GL GPU timing. 2012-06-26 19:01:10 -07:00
bkaradzic
22d8509fe8 Fixed GL screen shot. 2012-06-23 14:38:06 -07:00
bkaradzic
8f3eb01cda Fixed GL state. 2012-06-23 13:12:53 -07:00
bkaradzic
edef345b5a Added dynamic index/vertex buffers. 2012-06-23 11:44:22 -07:00
bkaradzic
981dcc21be Pass texture flags to render target. 2012-06-22 19:44:30 -07:00
bkaradzic
c4d7658fd9 Renamed dynamic vertex/index buffer to transient. 2012-06-20 21:11:19 -07:00
bkaradzic
08dddc5d74 Moved radixsort out of bgfx. 2012-06-19 20:50:07 -07:00
bkaradzic
ed383b0f1b Added support for EGL/GLES2 on Windows. 2012-06-15 22:30:53 -07:00
bkaradzic
80f2deb54a Added wglDeleteContext. 2012-06-12 19:43:27 -07:00
bkaradzic
5383961058 Letter box for frameless window mode. 2012-06-11 19:42:27 -07:00
bkaradzic
956d12e5a8 Fixed GL compressed 3D texture. 2012-06-09 19:42:25 -07:00
bkaradzic
fe1252d260 Support for Cube and Volume textures. 2012-06-09 18:25:50 -07:00
bkaradzic
e53ff3c2b0 Cleanup. 2012-06-04 19:24:08 -07:00
bkaradzic
7210c270e5 Added fallback for render target color formats. 2012-06-03 22:31:12 -07:00
bkaradzic
a134ea9d1a Linux project fixes. 2012-06-02 12:44:37 -07:00
bkaradzic
25d511175b Cleanup. 2012-06-02 00:29:13 -07:00
bkaradzic
a553b28a7f Import sRGB, multisampling and timer GL extensions. 2012-06-01 23:51:51 -07:00
bkaradzic
63a76ae99d Cleanup. 2012-05-31 22:10:32 -07:00
bkaradzic
a48b3a9ee3 Added support for GL binary shader caching. Added support for gDEBugger. 2012-05-31 19:29:58 -07:00
bkaradzic
33730efaa0 Removed glFlush. Added D3D adapter debug output. 2012-05-30 19:54:13 -07:00
bkaradzic
1554788aa4 Cleanup. 2012-05-29 23:21:50 -07:00
bkaradzic
1783fe9ce5 Fixed GLES build. 2012-05-29 22:53:49 -07:00
bkaradzic
28904d8c63 Added ARB_get_program_binary extension. 2012-05-29 22:45:04 -07:00
bkaradzic
d9a08e3f81 Added OpenGL support for Windows build. Added Linux support (Thanks @MatthewEndsley for X window and GLX code). Fixed uniform size for D3D9. 2012-05-29 18:24:55 -07:00
bkaradzic
8199e07fa6 Added BGFX_CONFIG_DEBUG configurable thru compiler options. 2012-05-21 18:53:51 -07:00
bkaradzic
9b132944f5 Fixed constant stomp bug. 2012-05-13 22:40:14 -07:00
bkaradzic
4b8f63607c Added points primitive type. 2012-05-12 22:40:05 -07:00
bkaradzic
58a4549dce Updated example. 2012-05-06 16:45:30 -07:00
bkaradzic
48c8200ed3 Fixed issue with decompressing DDS. 2012-05-01 20:16:59 -07:00
bkaradzic
fb37505a8a DDS support for 8-bit uncompressed formats. 2012-04-30 22:35:16 -07:00
bkaradzic
0ca52a9894 Added NaCl GLES initialization code. 2012-04-15 20:03:41 -07:00
bkaradzic
911ce4d775 Added fatal error codes and callback. Fixed shutdown. Added helloworld example. 2012-04-14 20:36:17 -07:00
Branimir Karadzic
dee3fe5266 Initial commit. 2012-04-03 20:30:07 -07:00