Commit graph

158 commits

Author SHA1 Message Date
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
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
523572d400 Fixed DX11 texture initialization. 2013-01-07 22:01:07 -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
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
73c8f54344 Fixed getRendererType return value for null renderer. 2013-01-01 19:18:29 -08:00
bkaradzic
d4cd0ea4fa Added 07-callback example. 2012-12-30 20:52:47 -08:00
bkaradzic
1bc2ec8015 Initial version of geometry compiler. 2012-12-28 17:09:34 -08:00
bkaradzic
6c6efd274e Changed thread init function. 2012-12-04 20:07:14 -08:00
bkaradzic
88c07c3061 Switched platform specific thread creation code to bx::Thread. 2012-12-02 18:29:28 -08:00
bkaradzic
a3b0dde24b Fixes. Added vsh output/fsh input hash matching. 2012-11-25 18:24:50 -08:00
bkaradzic
e3a31a2efc Added stencil support. 2012-11-10 19:59:23 -08: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
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
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
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
7adf1f6dc2 DX11 stuff wip. 2012-07-29 13:50:23 -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
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
bkaradzic
37c88fb749 Toggle window frame on F11, Alt-Enter. 2012-06-29 20:10:10 -07:00
Matthew Endsley
dec03774b7 updating tinystl allocator usage 2012-06-29 19:58:40 -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
42271092a0 Free dynamic buffers at the end of the frame to avoid overlaps. 2012-06-24 18:25:26 -07:00
bkaradzic
d65c875397 Fixed messed up handles. 2012-06-23 15:13:57 -07:00
bkaradzic
22d8509fe8 Fixed GL screen shot. 2012-06-23 14:38:06 -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
8190f3dcd8 Added MSAA render target settings. 2012-06-01 19:02:28 -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
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
a58537ebd1 Preserve aspect ratio when scaling window. 2012-05-15 22:56:01 -07:00
bkaradzic
82335a6be1 Added more info to fatal messages. 2012-05-10 20:44:02 -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