Commit graph

333 commits

Author SHA1 Message Date
Branimir Karadžić
4d30bd201e Updated 17-drawstress. 2015-04-09 16:58:44 -07:00
Branimir Karadžić
b9d2a05a28 Updated docs. 2015-04-08 21:15:37 -07:00
Branimir Karadžić
23114a821c 32-bit indices support WIP. 2015-04-08 19:59:48 -07:00
Branimir Karadžić
1824a3f5bd Cleanup. 2015-04-08 14:16:02 -07:00
Branimir Karadžić
5a9b02ca31 Added view name flag for compute. 2015-04-02 11:57:53 -07:00
Branimir Karadžić
7ebc6e3cbb Updated C99 API. 2015-04-01 23:58:36 -07:00
Branimir Karadžić
dd98c12901 Added release callback for makeRef. 2015-04-01 16:44:44 -07:00
Branimir Karadžić
4b18babb62 Updated C99 API. 2015-03-27 22:09:10 -07:00
Branimir Karadžić
8a7b20a239 Updated docs. 2015-03-26 15:09:31 -07:00
Branimir Karadžić
eeb491883d Added ability to select GPU. 2015-03-26 15:01:47 -07:00
Branimir Karadžić
4b60ddf44d Fixed GLFW3 integration on Linux. 2015-03-24 23:21:32 -07:00
Branimir Karadžić
0da6c77806 Added glfw entry. 2015-03-24 22:19:21 -07:00
Branimir Karadžić
b2c8c45b02 Cleanup. 2015-03-24 21:24:13 -07:00
Branimir Karadžić
5166886a10 Fixed issue #303. 2015-03-21 12:43:07 -07:00
Branimir Karadžić
2ce33465d5 Added Vulkan stub. 2015-03-05 20:34:39 -08:00
Branimir Karadžić
d858dde912 Added RGBA8 texture format. 2015-03-05 17:44:56 -08:00
Branimir Karadžić
478449e23a Adding vertex textures WIP. 2015-03-01 22:01:30 -08:00
Branimir Karadžić
579f43fad7 Added number of views to caps. 2015-02-25 21:12:52 -08:00
Branimir Karadžić
fb6aa4f51d Removed need to set texture format for compute's setImage. 2015-02-23 17:25:06 -08:00
Branimir Karadžić
2883be5c1a Increased number of views to 256. Added view remap support. 2015-02-21 15:40:51 -08:00
Branimir Karadžić
5ff63f93b6 Cleanup. 2015-02-16 22:53:06 -08:00
Branimir Karadžić
895f697f50 Removed 16-bit API limit from vertex buffer. 2015-02-16 19:01:32 -08:00
Branimir Karadžić
a57634cd09 Added D3D12 enum. 2015-02-15 18:27:54 -08:00
Branimir Karadžić
f81f34545c Added cubemap to texture info. Fixed issue #255. 2015-02-09 11:24:59 -08:00
Branimir Karadžić
1d4eb335a7 Removed X11 include in bgfxplatform.h. 2015-02-06 16:49:04 -08:00
Branimir Karadžić
524b28a9f7 Cleanup. 2015-01-30 10:31:50 -08:00
Branimir Karadžić
a1d50d6ea4 Cleanup. 2015-01-29 19:54:23 -08:00
Branimir Karadžić
4eb9fe0127 Updated docs. 2015-01-28 21:22:45 -08:00
Branimir Karadžić
3de816bf34 Added dynamic buffer resizing. 2015-01-28 17:56:29 -08:00
Branimir Karadžić
3a7e9ff7cd Fixed transient buffer alignment. 2015-01-23 22:40:04 -08:00
Branimir Karadžić
0516b5603b Added max anisotropy reset flag. 2015-01-21 20:39:42 -08:00
Branimir Karadžić
bb96d76c0a Added discard framebuffer resources after use. 2015-01-11 18:00:08 -08:00
Branimir Karadžić
ff7f967c1b Removed _BIT suffix from BGFX_CLEAR_* flags. 2015-01-10 21:39:45 -08:00
Branimir Karadžić
a038b6d426 Added ability to bind static index buffer to compute. 2015-01-10 20:56:38 -08:00
Branimir Karadžić
ef05e607d6 Added support for GPU compute dynamic index buffer. 2015-01-10 20:38:47 -08:00
Branimir Karadžić
6998941b8f Fixed C99 compile issue. 2015-01-08 22:58:20 -08:00
Branimir Karadžić
c25dd466be Updated copyright year. 2015-01-01 15:04:46 -08:00
Branimir Karadžić
1be040f2ab Added compute dispatch flags. 2014-12-28 11:36:36 -08:00
Branimir Karadžić
83f151f71b Added 24-nbody compute shader example. 2014-12-19 21:09:58 -08:00
Branimir Karadžić
efcb10aef6 Fixed compute program destruction. 2014-12-16 20:12:09 -08:00
Branimir Karadžić
1f96070f28 Cleanup. 2014-12-09 23:19:53 -08:00
Branimir Karadžić
ad47659669 Added compute buffer support. 2014-12-09 23:16:27 -08:00
Branimir Karadžić
254efb5a3d Added bgfx::dbgTextImage API for drawing directly into debug text buffer. 2014-12-04 20:32:19 -08:00
Branimir Karadžić
584a32038f Cleanup. 2014-12-04 19:56:19 -08:00
Branimir Karadžić
8cca656df6 Cleanup. 2014-11-16 00:06:25 -08:00
Mike Popoloski
893035af65 Merge branch 'master' of https://github.com/bkaradzic/bgfx 2014-11-15 13:32:22 -05:00
Mike Popoloski
0b55cb1348 Adding WinRT platform function and setting it to use multithreaded rendering. 2014-11-14 08:19:33 -05:00
Branimir Karadžić
31efb2991f Updated to OVR 0.4.3. Added support for event char to read keyboard text input. 2014-11-08 20:57:47 -08:00
Branimir Karadžić
a2153729be Added HMD recenter support. Updated examples to support HMD. 2014-11-02 00:06:18 -07:00
Branimir Karadžić
f6cf4df3d3 Added OculusVR support. 2014-10-28 22:08:55 -07:00
Branimir Karadžić
8a354b0785 Added line strip primitive type. 2014-10-22 19:19:33 -07:00
Branimir Karadzic
43b73ae0e7 Updated docs. 2014-10-11 14:08:43 -07:00
Branimir Karadžić
f1533ccc74 Removed emulated flags from caps. 2014-10-11 12:51:32 -07:00
Branimir Karadžić
9126ca8fd7 Added DX12 stub. 2014-10-11 11:24:37 -07:00
Branimir Karadzic
3dd237aefa Updated docs. 2014-10-11 10:12:27 -07:00
Branimir Karadzic
4edb8bc376 Updated docs. 2014-10-08 20:18:37 -07:00
Branimir Karadzic
5ea84e8274 Added allocTransform API to return pointer to internal matrix cache. 2014-10-08 20:13:57 -07:00
Branimir Karadžić
61ed393f6c DX11: Allow lost device for few frames. 2014-09-30 21:16:24 -07:00
Branimir Karadžić
58b37542c8 Removed *Mask API. 2014-09-27 12:07:40 -07:00
Branimir Karadžić
f4c7f69ed7 Added swap chain caps. 2014-09-23 20:35:39 -07:00
Branimir Karadžić
338bbcb559 Cleanup. 2014-09-18 20:28:41 -07:00
Branimir Karadžić
c193bd0b62 Updated C99 header. 2014-09-14 11:31:23 -07:00
Branimir Karadzic
d181a848f7 Updated docs. 2014-09-07 18:33:38 -07:00
Branimir Karadzic
12e530a317 Updated docs. 2014-09-07 18:31:45 -07:00
Branimir Karadžić
2c03cf4927 Added multiple windows support. 2014-09-07 17:17:38 -07:00
bkaradzic
85373a487a Cleanup. 2014-09-04 20:21:09 -07:00
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