Commit Graph

2308 Commits

Author SHA1 Message Date
Branimir Karadžić
e70ee88dc7 EGL: Initialize GLES2 when KHR_create_context is not available. 2015-05-10 11:45:49 -07:00
Branimir Karadžić
3afcd2c7c4 Merge pull request #377 from Leandros/mingw-patch-1
fix building under mingw32-w64
2015-05-09 20:16:23 -07:00
Branimir Karadžić
da31e555c0 Merge pull request #378 from zao/fix/msaa-rtv-dimension
Create backbuffer RTVs honoring multisampling
2015-05-09 20:15:20 -07:00
Lars Viklund
b965f730c0 Create backbuffer RTVs honoring multisampling
When adding sRGB support for the backbuffer render target in D3D11,
the now explicitly specified RTV desc specifies a TEXTURE2D dimension.
For multisampled targets, this needs to be TEXTURE2DMS dimension.

This solves it by branching on the presence of MSAA in the reset flags but
could envisionably be obtained by looking at the desc of the backbuffer.
2015-05-10 01:14:43 +02:00
Arvid Gerstmann
3349d7334a fix building under mingw32-w64 2015-05-09 02:33:08 +02:00
Branimir Karadžić
1aea6fc415 Detect RenderDoc presence when it's injected. 2015-05-08 11:49:18 -07:00
Branimir Karadžić
916693c29b Fixed GLES 3.0+ build. 2015-05-08 10:39:56 -07:00
Branimir Karadžić
9e5e7d476b Cleanup. 2015-05-06 07:46:59 -07:00
Branimir Karadžić
2f6de640e1 Merge pull request #375 from ming4883/pull-request-2
fixed sRGB-texture related compile erros for gles 2.0
2015-05-06 07:45:25 -07:00
Ka-ming Chan
e4c15eac32 fixed sRGB-texture related compile erros for gles 2.0 2015-05-06 21:04:12 +08:00
Branimir Karadžić
f3f302a20b GL: Create sRGB textures. D3D9: Enumerate sRGB textures. 2015-05-05 16:34:13 -07:00
Branimir Karadžić
d4cde9cbfa GL: Added sRGB texture caps. 2015-05-04 20:57:22 -07:00
Branimir Karadžić
bd17691a41 Added sRGB texture caps. 2015-05-04 17:23:11 -07:00
Branimir Karadžić
76fa899c22 Merge pull request #373 from MikePopoloski/srgb
sRGB Support
2015-05-04 16:31:24 -07:00
Branimir Karadžić
33dc15476b Updated RenderDoc header to v0.24. 2015-05-04 15:46:55 -07:00
Branimir Karadžić
d5c737924e Added back buffer depth stencil pointer to platform data. 2015-05-04 14:05:04 -07:00
Branimir Karadžić
b29e2290ac Merge pull request #369 from dariomanesku/master
Fixing SDL char input.
2015-05-03 09:57:22 -07:00
Dario Manesku
d21c75c40c Fixup for previous commit. 2015-05-03 16:20:41 +02:00
Dario Manesku
6efb223b49 Fixing SDL char input. 2015-05-03 15:52:40 +02:00
Branimir Karadžić
088bd06b04 Updated C99 API. 2015-05-03 00:01:33 -07:00
MikePopoloski
d5923e25fe sRGB support for D3D9 2015-05-02 23:54:51 -04:00
MikePopoloski
8919b15468 Adding sRGB support for D3D11 and DDS. 2015-05-02 22:57:42 -04:00
Branimir Karadžić
1dce7acb10 Added indirect buffer binary shaders. 2015-05-01 20:58:09 -07:00
Branimir Karadžić
bfa4df4ba1 Updated 24-nbody to demonstrate how to use indirect buffer. 2015-05-01 19:52:11 -07:00
Branimir Karadžić
a91232015f Fixed warning. 2015-05-01 15:12:44 -07:00
Branimir Karadžić
3b66dfa5e8 Added indirect compute dispatch. 2015-05-01 14:54:23 -07:00
Branimir Karadžić
d7e362f7dd Fixed warning. 2015-05-01 09:22:57 -07:00
Branimir Karadžić
b04af680ad GL: Added draw indirect support. 2015-04-30 18:06:41 -07:00
Branimir Karadžić
5c6854c684 Merge pull request #366 from dariomanesku/master
Cleanup.
2015-04-30 17:24:35 -07:00
Dario Manesku
0b12c4c82a Cleanup. 2015-04-30 13:46:26 +02:00
Branimir Karadžić
cdcf50285f Merge branch 'master' of github.com:bkaradzic/bgfx 2015-04-29 23:20:29 -07:00
Branimir Karadžić
2194728394 GL: Draw indirect WIP. 2015-04-29 23:20:21 -07:00
Branimir Karadžić
537ccb0699 Updated docs. 2015-04-29 20:20:19 -07:00
Branimir Karadžić
3a0f46fe3f Fixed MinGW build. 2015-04-29 17:53:06 -07:00
Branimir Karadžić
d763196407 D3D11: Added draw indirect support. 2015-04-29 17:18:51 -07:00
Branimir Karadžić
80b6202ec0 Fixed switch without case warning. 2015-04-27 19:38:48 -07:00
Branimir Karadžić
6e72412eb0 Updated README. 2015-04-26 23:33:35 -07:00
Branimir Karadžić
38e6d2bbb3 GL: Fixed incomplete texture when using decompress fallback. 2015-04-26 15:23:33 -07:00
Branimir Karadžić
68a2462d89 X11: Fixed window resize. 2015-04-26 12:42:51 -07:00
Branimir Karadžić
d804ca9023 Cleanup. 2015-04-26 11:34:33 -07:00
Branimir Karadžić
681be37f73 Merge pull request #363 from MikePopoloski/master
Update C99 API
2015-04-26 11:19:34 -07:00
Mike Popoloski
9677f4a37c Updating C99 API to support scaled textures. 2015-04-26 10:18:44 -04:00
Mike Popoloski
36ca5cbd18 Exposing flags param for C99 buffer creation methods. 2015-04-26 10:18:43 -04:00
Branimir Karadžić
c8e1efbd43 Updated README. 2015-04-25 22:41:12 -07:00
Branimir Karadžić
ae497c58bb Fixed OVR build. 2015-04-25 16:56:29 -07:00
Branimir Karadžić
aefa069a72 Merge pull request #361 from MikePopoloski/master
Small cleanup of entry_winrt
2015-04-25 11:42:53 -07:00
Mike Popoloski
3fc8ef8c7b Small cleanup of entry_winrt 2015-04-25 10:39:11 -04:00
Branimir Karadžić
e5ed5db1f1 Exposed software rasterizer. 2015-04-24 14:57:00 -07:00
Branimir Karadžić
5f9c6df918 Clear bgfx context in single-threaded mode. 2015-04-24 12:15:53 -07:00
Branimir Karadžić
72086ef80a Fixed issue #360. 2015-04-24 09:33:36 -07:00