Commit graph

144 commits

Author SHA1 Message Date
Branimir Karadžić
03632e48f6 Fixed createTexture default argument error. 2014-02-19 23:04:19 -08:00
Branimir Karadžić
753b9fdd15 Added ability to skip top level mips when parsing texture format. 2014-02-19 22:34:53 -08:00
Branimir Karadžić
9ff1d0c513 Updated copyright year. 2014-02-10 22:07:04 -08:00
Branimir Karadžić
c89004fdeb Cleanup. 2014-02-10 21:06:46 -08:00
bkaradzic
877621105d Added MRT support. 2014-02-05 23:07:11 -08:00
bkaradzic
3e4ec1dc24 Added check for memory leak. 2014-01-20 21:49:36 -08:00
bkaradzic
2c05b90792 Embedded shaders and font into 17-drawstress. 2014-01-19 22:34:58 -08:00
bkaradzic
e8075dc367 Using renderFrame to setup thread creation behavior. 2014-01-19 14:58:05 -08:00
bkaradzic
96d9d7437b Swiched from FPU to SIMD math. 2014-01-18 23:33:00 -08:00
bkaradzic
1f228a172b Increased BGFX_CONFIG_MAX_DRAW_CALLS to 64K. 2014-01-12 21:43:47 -08:00
bkaradzic
dee588dfba OSX/iOS: Updated to Xcode5. 2013-12-07 10:19:54 -08:00
bkaradzic
04f348c2ea OSX: Moved NSOpenGLContext creation to the main thread that created NSWindow. Fixes occasional GL_INVALID_FRAME_BUFFER_OPERATION error on DrawElements. 2013-11-18 20:43:17 -08:00
bkaradzic
fce9692557 Using language compliant header guards. 2013-11-13 21:54:36 -08:00
bkaradzic
b584873b50 Added ability to specify arbitrary source pitch when uploading textures.
Added reference weldVertices implementation.
2013-11-07 23:00:53 -08:00
bkaradzic
cbac476ee1 Removed 64K/indices dynamic index buffer limit. 2013-10-21 22:04:41 -07:00
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
a51fd54c23 Fixed permissions. 2013-10-19 15:36:26 -07:00
bkaradzic
dcd0452d82 DX11: Fixed refcount checks on release. 2013-10-18 22:34:23 -07:00
bkaradzic
f440f160f9 Exposed renderer capabilities. 2013-10-10 18:29:57 -07:00
bkaradzic
46d6ff0b59 Cleanup. 2013-10-05 19:46:57 -07:00
bkaradzic
2639c5f61d Added uniform reference counting. Reorg some header/source implementation. 2013-10-05 18:07:44 -07:00
bkaradzic
749410c6b2 Cleanup. 2013-10-04 23:45:05 -07:00
bkaradzic
557c175e61 Delay VertexDecl release until VertexBuffer is released. 2013-10-03 20:36:40 -07:00
bkaradzic
2cf5c45224 Fixed NaCl initialization. 2013-09-30 20:09:09 -07:00
bkaradzic
df1dfdc872 Added isValid check function for handles. 2013-09-29 21:33:50 -07:00
bkaradzic
ab969f0a1a Enable tinystl by default. 2013-09-22 21:40:17 -07:00
bkaradzic
d1c55b1d09 Cleanup. 2013-09-20 23:19:21 -07:00
bkaradzic
45365db46a Fixed GL memory leaks. 2013-09-20 23:07:14 -07:00
bkaradzic
a5948679ca Removed context static inialization. 2013-09-20 22:13:58 -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
82256fc34d Merge branch 'master' of github.com:bkaradzic/bgfx 2013-09-05 21:41:52 -07:00
bkaradzic
1aced4d4ec Cleanup. 2013-09-05 21:41:42 -07:00
bkaradzic
2250a21f85 Added clang analyzer annotation. 2013-09-05 20:23:35 -07:00
bkaradzic
19dd4020f4 Added ETC1 texture support. Added KTX file format support. 2013-09-02 16:22:53 -07:00
bkaradzic
2d1725ca96 Check semaphore result after wait. 2013-09-01 14:02:12 -07:00
bkaradzic
1da64571d9 Fixed MinGW build. 2013-08-30 22:31:40 -07:00
bkaradzic
a68969875e Added alignment warning for imageSwizzleBgra8. 2013-08-28 22:55:12 -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
6f7c04a43c Removed fatal error on SetPixelFormat to prevent failure when window is created with SDL and SDL_WINDOW_OPENGL flag. 2013-08-16 22:32:03 -07:00
bkaradzic
f7fe163f2b Cleanup. 2013-08-06 21:04:28 -07:00
bkaradzic
3aea7306c6 Fixed compiler errors. 2013-08-04 16:56:07 -07:00
bkaradzic
e9504c9a26 Removed using namespace bx. 2013-08-03 22:15:13 -07:00
bkaradzic
44231e9c7f Fixed rect intersect when there is no interesction. 2013-08-01 23:17:27 -07:00
bkaradzic
fe0bbeb0e6 If both view and primitive scissors are set set their intersection as scissor region. 2013-08-01 22:55:26 -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
a1e226cb5b Cleanup. 2013-07-26 22:55:13 -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