Commit graph

123 commits

Author SHA1 Message Date
bkaradzic
f48511147a Fixed SDL entry mouse messages. 2014-01-24 21:49:15 -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
fc01a51e0b Merge. 2014-01-12 14:55:18 -08:00
bkaradzic
046449395b Added depth stencil texture formats. 2014-01-12 13:51:26 -08:00
bkaradzic
12545b0a88 Merge branch 'master' of github.com:bkaradzic/bgfx 2014-01-11 16:51:21 -08:00
bkaradzic
da62c82d3f Cleanup. 2014-01-08 22:08:37 -08:00
bkaradzic
d1117f34b5 Added support for different RT depth stencil formats. 2013-12-29 11:43:44 -08:00
bkaradzic
f4260eb405 GL: Added num mips to sampler state cache hash value. 2013-12-16 21:34:33 -08:00
bkaradzic
2fdea069ac Added fragment depth caps flag. 2013-12-15 12:30:23 -08:00
bkaradzic
25002b301d Added vertex attrib half caps. 2013-12-02 19:47:12 -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
ec3f5d2369 Added workaround when unpack row length is not supported on GLES2. 2013-11-08 20:53:23 -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
35a39f6c00 Added vertex welding support. 2013-11-02 23:00:31 -07: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
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
e92eb7504b Added SDL2 entry point. 2013-08-12 20:47:41 -07:00
bkaradzic
2d41d82316 Cleanup. 2013-08-10 23:30:57 -07:00
bkaradzic
99f9cfd39f Added GLFW3 support. 2013-08-10 23:22:40 -07:00
bkaradzic
5b6a42e5cd Added SDL2 support. 2013-08-10 22:15:59 -07:00
bkaradzic
2f72afca65 Fixed iOS and OSX builds. 2013-08-07 22:50:01 -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
41dfddf424 Cleanup. 2013-07-21 15:38:44 -07:00
bkaradzic
bf22ffaae1 iOS stuff. 2013-07-21 14:44:53 -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