Commit graph

217 commits

Author SHA1 Message Date
Branimir Karadžić
6b00f65849 Increased number of MRT to 8. 2014-09-01 11:24:51 -07:00
Branimir Karadžić
4fb802e405 Added R11G11B10F format. 2014-08-26 20:56:53 -07:00
Branimir Karadžić
140e990ab4 Added RaspberryPi platform. 2014-08-24 17:41:41 -07:00
Branimir Karadžić
b5627dc1b5 Made VertexDecl not appear as POD type to compiler. 2014-08-19 20:23:46 -07:00
Branimir Karadžić
66890595b9 Added serialization for vertex decl attribute enums. Binary format changes. Rebuilt all meshes and shaders. 2014-08-17 17:20:15 -07:00
Branimir Karadžić
3295126799 Updated texture container texture format support. 2014-08-12 21:47:01 -07:00
Branimir Karadžić
8c55c8f8a9 FreeBSD ifdefs. 2014-08-06 21:53:32 -07:00
Branimir Karadžić
d525e96dd9 Manually integrated some FreeBSD changes from @lye #132 pull request. 2014-08-06 21:17:14 -07:00
Branimir Karadžić
be4729940c Added BC6H and BC7 compressed formats. 2014-08-01 19:24:42 -07:00
Branimir Karadžić
1d0a9841d7 Added intel fragment shader ordering. 2014-07-29 21:29:38 -07:00
Branimir Karadžić
6c8eeec36e Added caps info for all texture formats. 2014-07-27 20:44:02 -07:00
Branimir Karadžić
905d258e9f Cleanup. 2014-07-25 23:27:18 -07:00
Branimir Karadžić
ac49c6f129 Added RG8 texture format. 2014-07-25 23:16:11 -07:00
Branimir Karadžić
ade8f49b6d Added 32-bit texture formats. 2014-07-21 21:13:16 -07:00
Branimir Karadžić
62b620a1a0 Initial compute support. 2014-07-20 20:27:13 -07:00
Branimir Karadžić
0f330a7a08 Added bgfx platform C99 header. 2014-06-05 22:49:51 -07:00
Branimir Karadžić
4b5159394c Added shared library support. 2014-06-01 15:26:43 -07:00
Branimir Karadžić
b176ad42c1 Fixed type. 2014-06-01 13:26:57 -07:00
Branimir Karadžić
97090e826c Updated C99 header. 2014-06-01 13:25:31 -07:00
Branimir Karadžić
c4b040a382 Cleanup. 2014-06-01 12:01:50 -07:00
Branimir Karadžić
c677600057 Added documentation into C99 header. 2014-05-31 21:02:37 -07:00
Branimir Karadžić
e20ab340c3 Cleanup. 2014-05-31 15:50:01 -07:00
Branimir Karadžić
60b3ba03ea Added interfaces to C99 header. 2014-05-31 10:33:37 -07:00
Branimir Karadžić
1c917de7f9 Added C99 compatible header. 2014-05-31 00:18:45 -07:00
Branimir Karadžić
4f908ee911 Updated 07-callback example. 2014-05-27 20:05:13 -07:00
Branimir Karadžić
b0d204c344 Added ability to choose renderer backend in runtime. 2014-05-26 14:09:26 -07:00
Branimir Karadžić
1d82b0c07b Cleanup. 2014-05-19 22:08:35 -07:00
Branimir Karadžić
bba2ef8031 Added predefined uniforms for inverted view/proj/viewproj matrices.
shaderc: Added raw shader support.
shaderc: Fixed uniform types.
2014-05-10 20:51:54 -07:00
Branimir Karadžić
7bc62b1d07 Added tristrip support. 2014-04-26 23:48:41 -07:00
Branimir Karadžić
c8442ebb40 Cleanup. 2014-04-16 22:24:31 -07:00
Branimir Karadžić
e39d280a31 Fixed 10-font example. 2014-04-16 22:11:14 -07:00
Branimir Karadžić
903b186110 Cleanup. 2014-04-15 22:59:40 -07:00
Branimir Karadžić
bc36c29f2a Added ability to retrieve uniforms used by shader. 2014-04-15 19:10:56 -07:00
Branimir Karadžić
78475a30e6 Added ability to set start vertex when setting vertex buffer. 2014-04-10 22:09:17 -07:00
Branimir Karadžić
ea34b9476c Fixed GL texture sampler state. Issue#85 2014-04-09 21:23:27 -07:00
Branimir Karadžić
85c5172a29 Changed GLES macro to use version number. 2014-03-29 23:12:15 -07:00
Branimir Karadžić
f436f79c10 Simplified API, removed difference between vertex and fragment shaders. 2014-03-29 19:42:57 -07:00
Branimir Karadžić
d3753d69bf Added support for blend separate and blend MRT independent. 2014-03-25 23:07:51 -07:00
Branimir Karadžić
a68ffbf4a0 WIP: Adding texture compare modes and shadow samplers support. 2014-02-23 11:21:23 -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ć
d7f0b21487 Fixed TextureFormat::Enum order for PVR1xA textures. 2014-02-19 21:30:02 -08:00
Branimir Karadžić
9ff1d0c513 Updated copyright year. 2014-02-10 22:07:04 -08:00
bkaradzic
7884a72df2 Added destroy shaders option when creating program. 2014-02-06 20:03:26 -08:00
bkaradzic
877621105d Added MRT support. 2014-02-05 23:07:11 -08:00
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
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
ba55084ad8 Android wip. 2013-04-18 23:32:12 -07:00
bkaradzic
767df6c5e6 Android plumbing. 2013-04-18 21:16:09 -07:00
bkaradzic
d3a526a92b Android build fixes wip. 2013-04-15 23:10:32 -07:00