Commit graph

972 commits

Author SHA1 Message Date
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
bkaradzic
92b4a902da Release everyting on shutdown. 2012-07-04 17:37:12 -07:00
bkaradzic
be7600e560 Fixed unused variables. 2012-07-02 20:53:12 -07:00
Matthew Endsley
382feb1795 updating to cleaning compile in mingw with -Wall/-Wextra 2012-07-02 12:07:42 -07:00
Matthew Endsley
d77f5e5c1a updating to cleanly compile with -Wall and -Wextra 2012-07-02 12:07:27 -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
2b607e0f8f Fixed texture flags shifts. Added GL GPU timing. 2012-06-26 19:01:10 -07:00
bkaradzic
2a918ab4e0 Added IOS/OSX defines to shaderc. 2012-06-25 18:50:59 -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
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
440be3caa8 Added iOS/OSX ifdefs. 2012-06-15 21:35:28 -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
20e65aee2f Just use the last available MSAA type when higher type is not available. 2012-06-05 22:22:24 -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
8bac68fe7f Fixed MinGW compile errors. 2012-06-02 18:57:44 -07:00
bkaradzic
50a6e41549 Added BGFX_STATE_MSAA to allow non-AA rendering to MSAA surface. 2012-06-02 15:07:35 -07:00
bkaradzic
a134ea9d1a Linux project fixes. 2012-06-02 12:44:37 -07:00
bkaradzic
3375076bea Removed unused GL specs from glext. 2012-06-02 11:19:28 -07:00
bkaradzic
483833f044 Updated readme. 2012-06-02 10:59:47 -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
de78be9ac3 #ifdefed win specific code. 2012-06-01 21:56:20 -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
b0eea140b3 Fixed use of adapter and device type for all d3d9 calls. 2012-05-30 22:01:16 -07:00
bkaradzic
7e90a27790 Moved settings in config.h file. Added config for PerfHUD device and PIX markers. 2012-05-30 21:53:16 -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
a58537ebd1 Preserve aspect ratio when scaling window. 2012-05-15 22:56:01 -07:00
bkaradzic
39610d656e Lowered min spec shader version to 2.0b. Better shaderc error messages. 2012-05-14 22:31:40 -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
82335a6be1 Added more info to fatal messages. 2012-05-10 20:44:02 -07:00
bkaradzic
58a4549dce Updated example. 2012-05-06 16:45:30 -07:00
bkaradzic
7f5e8b2f91 Added min spec checks. 2012-05-02 20:26:17 -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
d25592f919 Added makedisttex tool for calculating SDF image (using EDTAA3). Added fatal error when D3D9 fails to create render target. 2012-04-29 14:46:23 -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