Commit graph

141 commits

Author SHA1 Message Date
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
f440f160f9 Exposed renderer capabilities. 2013-10-10 18:29:57 -07:00
bkaradzic
df1dfdc872 Added isValid check function for handles. 2013-09-29 21:33:50 -07:00
bkaradzic
9f2faf8c06 Added predefined uniforms docs. 2013-09-29 10:42:41 -07:00
bkaradzic
083ada2fbd Replaced custom allocator handling. 2013-09-16 21:40:30 -07:00
bkaradzic
488483a945 Fixed texture update when requested texture format doesn't match internal texture format, and simplified texture creation. 2013-09-08 21:03:03 -07:00
bkaradzic
1aced4d4ec Cleanup. 2013-09-05 21:41:42 -07:00
bkaradzic
8cdc2a1d15 Added ETC2 and PVRTC2. 2013-09-04 21:42:31 -07:00
bkaradzic
19ce130464 Added PVRTC1 support. 2013-09-03 20:13:07 -07:00
bkaradzic
19dd4020f4 Added ETC1 texture support. Added KTX file format support. 2013-09-02 16:22:53 -07:00
bkaradzic
cbb3136436 Added ASCII cubemap info. 2013-08-26 22:38:53 -07:00
bkaradzic
333ff8500d Added imageRgba8Downsample2x2 utility function and updated 07-callback to demonstrate how to use it to generate mip maps. 2013-08-21 22:51:50 -07:00
bkaradzic
fe92ee4b9a Updated docs. 2013-08-18 00:00:14 -07:00
bkaradzic
691c6c7f67 Added utility function imageSwizzleBGRA8 to convert RGBA8 image to BGRA8. 2013-08-14 23:19:12 -07:00
bkaradzic
a09f804ac3 Fixed discard primitive logic. 2013-07-29 19:01:29 -07:00
bkaradzic
bac2073b76 Added support for per primitive scissor. 2013-07-27 15:27:54 -07:00
bkaradzic
a1dfd1ab0d Added ability to change sampler filter when setting texture. GL/GLES3: Added support for GL_ARB_sampler_objects. 2013-07-24 21:59:59 -07:00
bkaradzic
f5edb6cdf4 Added view scissor support. 2013-07-14 14:32:09 -07:00
bkaradzic
c4f6068c80 Updated docs. 2013-07-07 11:59:43 -07:00
bkaradzic
1b1d10492a Added normal blend mode macro. 2013-06-17 22:23:07 -07:00
bkaradzic
87dfe979a5 Added blend equation support. 2013-06-17 22:11:45 -07:00
bkaradzic
1f4539ec7c Added ability to set marker for profiling events. 2013-06-10 22:41:03 -07:00
bkaradzic
a5c6c0bf5b Added ability to set view name for profiling events. 2013-06-09 15:28:25 -07:00
bkaradzic
e79102bf0e Added check available memory for instance buffer. 2013-06-03 20:51:06 -07:00
bkaradzic
5672a5dbd7 Updated docs. 2013-05-09 22:09:17 -07:00
bkaradzic
ba6aacace3 Changed API to allow larger alloc checks, and to avoid integer truncation. 2013-05-02 22:16:33 -07:00
bkaradzic
b7c4630ee3 Added function to check both vertex and index transient buffers. 2013-05-01 20:35:43 -07:00
bkaradzic
b222ba05b1 Cleanup. 2013-04-28 12:47:20 -07:00
bkaradzic
0e0fcd22de Removed use of external debug functions. 2013-04-28 12:27:35 -07:00
bkaradzic
43cbcce7b4 Fixed docs comment. 2013-04-11 20:53:09 -07:00
bkaradzic
7b7e235a8e Updated docs. 2013-04-04 09:51:42 -07:00
bkaradzic
6ef213583b Updated docs. 2013-04-04 09:48:20 -07:00
bkaradzic
5b763a28bb Added blend factor/color blend modes support. 2013-03-29 22:58:50 -07:00
bkaradzic
365f2655b3 Added aditional render target color formats. 2013-03-28 22:34:59 -07:00
bkaradzic
8d63a9bdc8 Added VS attrib doc. 2013-03-20 22:57:07 -07:00
bkaradzic
5682b469de Updated docs. 2013-03-19 09:02:58 -07:00
bkaradzic
a165353896 Removed fixed function alpha test. 2013-03-08 21:54:08 -08:00
bkaradzic
f116ba0e10 Added missing predefined uniforms. Removed default state texture flags. 2013-02-25 20:36:30 -08:00
bkaradzic
e0eca362ad Fixed DX9 lack of non-normalized UINT16 vertex decl type. 2013-02-23 19:02:51 -08:00
bkaradzic
cfefd88ec3 Fixed EOL. 2013-02-16 15:38:52 -08:00
bkaradzic
da9382cad7 Updated docs. 2013-02-16 11:51:36 -08:00
bkaradzic
5ba2b24e1e Added createTexture docs. Removed BGFX_TEXTURE_*_REPEAT flags since it's default. 2013-02-16 10:57:28 -08:00
bkaradzic
4dc9be09d3 Fixed RGBA16F DDS loading. 2013-01-26 23:00:35 -08:00
bkaradzic
c26f8f4718 Added support for LATC/3DC texture compression. 2013-01-20 12:47:29 -08:00
bkaradzic
c3667bad05 WIP support for key/mouse events in examples. 2013-01-16 22:44:51 -08:00
bkaradzic
43ce51b8ec Updated year in copyright notice. 2013-01-13 10:57:24 -08:00
bkaradzic
81a712067d Added vertex stream conversion helper function. 2013-01-09 21:31:47 -08:00
bkaradzic
7ec5de1ad1 Added texture update example. 2013-01-06 17:53:45 -08:00
bkaradzic
96199abe81 Use TextureInfo for caclTextureSize. 2013-01-05 14:33:05 -08:00
bkaradzic
28d0d973b3 Fixed docs. 2013-01-04 23:56:34 -08:00
bkaradzic
0af002d05f Added texture format helper functions. 2013-01-04 23:52:37 -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
1bc2ec8015 Initial version of geometry compiler. 2012-12-28 17:09:34 -08:00
bkaradzic
cae8789603 Fixed DX11 texture filtering. Added anisotropic texture flag. 2012-12-09 18:51:55 -08:00
bkaradzic
11a05e8cd7 Cleanup fatal error enum. 2012-12-08 14:30:41 -08:00
bkaradzic
667c99bfd9 Stubbed doxigen documentation comments. 2012-11-26 22:11:24 -08:00
bkaradzic
a3b0dde24b Fixes. Added vsh output/fsh input hash matching. 2012-11-25 18:24:50 -08:00
bkaradzic
0b60a52286 Updated doxygen comments. 2012-11-10 21:18:50 -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
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
5004a323bb Cleanup. 2012-10-28 13:27:50 -07:00
bkaradzic
7accea7b5d Added texture loading example. 2012-10-27 21:34:41 -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
09aa9a38c1 DX11 renderer wip. 2012-07-22 21:08:58 -07:00
bkaradzic
1e7b94e82a Adding geometry instancing support. 2012-07-07 23:22:52 -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
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
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
fe1252d260 Support for Cube and Volume textures. 2012-06-09 18:25:50 -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
8190f3dcd8 Added MSAA render target settings. 2012-06-01 19:02:28 -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
4b8f63607c Added points primitive type. 2012-05-12 22:40:05 -07:00
bkaradzic
7f5e8b2f91 Added min spec checks. 2012-05-02 20:26:17 -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
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