Commit graph

209 commits

Author SHA1 Message Date
bkaradzic
e866a7b2e3 Fixed VAO cache. 2013-01-21 23:36:47 -08:00
bkaradzic
b1cb4de638 Cleanup. 2013-01-21 21:49:42 -08:00
bkaradzic
58a1d91ea3 Create capture surface only on request. 2013-01-21 21:40:54 -08:00
bkaradzic
4dd4065cbc Fixed compile error. 2013-01-20 17:26:17 -08:00
bkaradzic
c26f8f4718 Added support for LATC/3DC texture compression. 2013-01-20 12:47:29 -08:00
bkaradzic
7aa2c8163f Warn and early out on out of handles condition. 2013-01-19 10:11:42 -08:00
bkaradzic
a2057d65aa WIP X11 key/mouse support. 2013-01-17 22:38:13 -08:00
bkaradzic
c3667bad05 WIP support for key/mouse events in examples. 2013-01-16 22:44:51 -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
de8465ce6d Added EGL resize. 2013-01-13 22:13:49 -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
d6e4a57cf2 Moving window creation to examples/common. 2013-01-13 10:47:30 -08:00
bkaradzic
59058e7200 Added OES suffix to vao functions. 2013-01-12 22:14:42 -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
81a712067d Added vertex stream conversion helper function. 2013-01-09 21:31:47 -08:00
bkaradzic
3d12a8cd84 Fixed GLX initialization. 2013-01-08 20:57:15 -08:00
bkaradzic
16a42017c0 Removed unused variable. 2013-01-07 23:12:06 -08:00
bkaradzic
4eace601ec Implemented DX11 capture. 2013-01-07 23:10:15 -08:00
bkaradzic
e85afa6891 Fixed refcount expected value. 2013-01-07 22:38:40 -08:00
bkaradzic
523572d400 Fixed DX11 texture initialization. 2013-01-07 22:01:07 -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
b889e78841 Fixed bits per pixel for RGBA16 format. 2013-01-06 18:10:45 -08:00
bkaradzic
7ec5de1ad1 Added texture update example. 2013-01-06 17:53:45 -08:00
bkaradzic
637ab129d3 Wrapped validation code for debug build only. 2013-01-06 12:42:50 -08:00
bkaradzic
79f5f23b79 Cleanup of texture swizzle and BGRA format handling. 2013-01-06 12:39:18 -08:00
bkaradzic
b52cc77a14 Reorganized opcode type and location bits in constant buffer opcode. 2013-01-05 22:34:31 -08:00
bkaradzic
00e5de828e Check glGetString for glErrors. 2013-01-05 15:24:05 -08:00
bkaradzic
96199abe81 Use TextureInfo for caclTextureSize. 2013-01-05 14:33:05 -08:00
bkaradzic
0af002d05f Added texture format helper functions. 2013-01-04 23:52:37 -08:00
bkaradzic
6f3cc509e4 Fixed tool memory leak. 2013-01-03 23:41:27 -08:00
bkaradzic
78cb2bb14a Better error handling for createUniform. 2013-01-02 21:55:19 -08:00
bkaradzic
5023791028 Fixed missing attribute name. 2013-01-01 23:27:24 -08:00
bkaradzic
73c8f54344 Fixed getRendererType return value for null renderer. 2013-01-01 19:18:29 -08:00
bkaradzic
e21e840001 Cleanup. 2013-01-01 13:19:10 -08:00
bkaradzic
fd35b10df6 Fixed warnings. 2012-12-31 20:52:48 -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
6c6efd274e Changed thread init function. 2012-12-04 20:07:14 -08:00
bkaradzic
aaa5a73917 Cleanup. 2012-12-03 21:18:26 -08:00
bkaradzic
b4d29b0afa Change default renderer for Win8 to DX11. 2012-12-03 20:27:32 -08:00
bkaradzic
88c07c3061 Switched platform specific thread creation code to bx::Thread. 2012-12-02 18:29:28 -08:00
bkaradzic
b2bde26fed Removed s_primNumVerts. 2012-11-25 22:32:27 -08:00
bkaradzic
e3b0a82f0d Cleanup. 2012-11-25 22:14:47 -08:00
bkaradzic
12fe3f684e Changed check to fatal on failure to create shaders. 2012-11-25 19:40:53 -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
b2f273d934 Added sc sampler macros. 2012-10-27 21:58:58 -07:00
bkaradzic
7accea7b5d Added texture loading example. 2012-10-27 21:34:41 -07:00
bkaradzic
7bdcb903d9 Merge branch 'master' of github.com:bkaradzic/bgfx 2012-10-22 19:46:42 -07:00
Branimir Karadzic
4bc42d9f97 Setup emscripten canvas. 2012-10-22 19:39:59 -07:00
bkaradzic
e82b998bc2 Merge branch 'master' of github.com:bkaradzic/bgfx 2012-10-21 22:10:41 -07:00
Branimir Karadzic
b0075aa06c Added emscripten platform. 2012-10-21 22:09:14 -07:00
bkaradzic
c5fdfc27a2 Added submit depth value for sorting. 2012-10-14 15:02:38 -07:00
bkaradzic
d4c7545b1e Added support for GLES3. 2012-10-13 22:21:02 -07:00
bkaradzic
f5295b951d Added instancing example. 2012-10-08 23:24:10 -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
b505078b38 Unified glsl and hlsl shaders. 2012-08-28 22:59:48 -07:00
bkaradzic
28a73924b2 Texture update work. 2012-08-19 18:50:23 -07:00
bkaradzic
2b1e6790fa Free up texture data when using renderer_null. 2012-08-12 22:08:18 -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
3bb48b4ab2 Added ref counting for shaders used by material. 2012-08-05 20:38:17 -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
a30a7d4346 Removed generated files from premake project. 2012-07-25 20:37:47 -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
9cc6d63e6f Fixed invalid alpha blend mode. 2012-07-23 22:42:51 -07:00
bkaradzic
cb024842b0 Clean DX11 shutdown. 2012-07-23 22:29:20 -07:00
bkaradzic
971d07e736 Rebuild GLSL debug font shader. 2012-07-23 20:55:27 -07:00
bkaradzic
0011a5c7ec Cleanup. 2012-07-22 21:11:59 -07:00
bkaradzic
09aa9a38c1 DX11 renderer wip. 2012-07-22 21:08:58 -07:00
bkaradzic
98ebe1f076 Added DX11 renderer stub. 2012-07-08 19:10:07 -07:00
bkaradzic
60d2993808 Fixed mingw compile errors. 2012-07-08 17:59:19 -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
3e5434b720 Fixed line endings. 2012-07-04 22:48:35 -07:00