Commit Graph

384 Commits

Author SHA1 Message Date
Branimir Karadžić
7a6f94ecb9 Removed unused data. 2018-05-21 16:59:17 -07:00
Branimir Karadžić
0e0da47e61 Added primitive count to perf stats. 2018-05-17 17:24:10 -07:00
Branimir Karadžić
c2c7b99707 Respect MSAA reset flags passed during init. Issue #1376. 2018-05-02 16:40:13 -07:00
Branimir Karadžić
5bb6a14876 Changed bgfx::init to take init parameters as structure instead of arguments. 2018-04-17 15:42:18 -07:00
Branimir Karadžić
a4faa82164 Fixed state tracking when scissor area is zero. 2018-03-26 16:21:27 -07:00
Branimir Karadžić
d227f9e8bf Fixed memory leak. 2018-03-12 18:56:27 -07:00
Branimir Karadžić
ee2fddfa07 Cleanup. 2018-03-10 13:16:45 -08:00
Branimir Karadžić
67ad9fbbef Allow null fragment shader for depth only programs. 2018-03-05 18:15:35 -08:00
Branimir Karadžić
584b8b34f0 Added support for independent RGB channel write control. 2018-02-13 12:35:23 -08:00
云风
b9f9ec56f5 Add BX_FALLTHROUGH to avoid -Wimplicit-fallthrough false positives (#1322) 2018-01-28 21:31:34 -08:00
Branimir Karadžić
c4ca6f6c6a Cleanup. 2018-01-26 16:40:34 -08:00
Branimir Karadžić
f44c8e2b14 Happy New Year! 2018-01-01 11:16:06 -08:00
Branimir Karadžić
9e00fad8b3 WIP: Init params. 2017-12-07 21:52:52 -08:00
Branimir Karadžić
0e5f3457c3 Added support for texture direct access. 2017-12-02 22:12:27 -08:00
Branimir Karadžić
77c00da989 Changed API to use ViewId (uint16_t) instead of uint8_t. 2017-11-24 11:21:51 -08:00
Branimir Karadžić
2c2e5ef36c MT encoder WIP. 2017-11-01 22:34:11 -07:00
Branimir Karadžić
85322904a9 Moved internal view state into single struct. 2017-10-30 08:39:25 -07:00
Branimir Karadžić
2008a041ab Cleanup. 2017-10-09 21:08:03 -07:00
Branimir Karadžić
67cc3c86d5 Fixed build. 2017-10-08 20:57:56 -07:00
Branimir Karadžić
e1a9422445 Cleanup. 2017-10-07 18:17:16 -07:00
Branimir Karadžić
3e09c0b44a Cleanup. 2017-10-01 23:24:13 -07:00
Branimir Karadžić
5a9adcc337 D3D9/12: Added GPU memory info. 2017-10-01 21:18:29 -07:00
Branimir Karadžić
ed572fc5a6 Cleanup. 2017-09-30 16:25:11 -07:00
Branimir Karadžić
aa567d3d72 D3D11: Added GPU memory stats. 2017-09-26 18:09:15 -07:00
Branimir Karadžić
2abe7db80a Fixed CPU timer. 2017-09-21 21:34:02 -07:00
Branimir Karadžić
04c3322d93 D3D9: Fixed persist dynamic buffers after device reset. 2017-09-17 21:01:20 -07:00
Branimir Karadžić
dccd1cb00c Ignore sRGB from image container, use only flag passed. 2017-09-08 09:51:49 -07:00
Branimir Karadžić
3aec2b89bf Added bgfx::setName to set resource debug name. 2017-08-30 21:46:57 -07:00
Branimir Karadžić
0286e209dd D3D9: Implemented per view GPU profiler. 2017-08-27 20:34:00 -07:00
Branimir Karadžić
e67dcff430 Cleanup. 2017-07-18 23:20:57 -07:00
Branimir Karadžić
a274c9a6c5 Replaced BX_OVERRIDE with override. 2017-07-15 00:17:29 -07:00
Branimir Karadžić
236ef4b875 Fixed shader binary truncation. Issue #1170. 2017-06-20 20:34:41 -07:00
Branimir Karadžić
10d78210f7 Fixed build. 2017-06-12 23:51:07 -07:00
Branimir Karadžić
c39c6121a6 Removed obsolete platform. 2017-06-11 22:54:52 -07:00
Branimir Karadžić
07d799f72e Renamed constants to new style. 2017-06-09 21:57:08 -07:00
Branimir Karadžić
24569934a1 Added color2/3 attributes. 2017-06-06 17:25:17 -07:00
Branimir Karadžić
52c28fa531 Cleanup. 2017-05-14 10:48:51 -07:00
Branimir Karadžić
8a675c66b1 D3D9: Added multiple vertex stream support. 2017-05-13 22:21:02 -07:00
Branimir Karadžić
5be58d37c6 Fixix blit submit. 2017-05-05 22:22:14 -07:00
Branimir Karadžić
45e7bf5df4 Making RG11B10F name consistent with other texture formats. 2017-04-24 20:31:58 -07:00
Branimir Karadžić
c9679731a5 Renaming string functions. 2017-04-22 14:47:02 -07:00
Branimir Karadžić
6e9e862565 Renaming string functions. 2017-04-16 21:56:17 -07:00
Branimir Karadžić
370abf6788 Cleanup. 2017-04-09 19:31:24 -07:00
Branimir Karadžić
91f7782223 Cleanup. 2017-04-08 10:46:27 -07:00
Branimir Karadžić
8b14a7e977 Added fall back to noop renderer when device is removed. 2017-04-07 19:07:20 -07:00
Branimir Karadžić
81f9162d58 Moved bindings outside of render item. 2017-04-06 20:32:48 -07:00
PyryM
83e30ec609 api changes (#1107)
d3d11 + opengl implementations

everything else will have very strange behavior if you try to bind a
buffer to a shader

avoid compiler error/warning about unused parameter

copy paste mistake

add in function for index buffers as well

Might as well cover all the bases; index buffers are also a convenient
way to create int-typed buffers, since there aren't int32 vertex
attributes.

get rid of precision loss warnings

d3d12 bindShaderBuffer implementation

throw an assert on d3d9 at least

BX_CHECK on metal as well (no compute support atm)

simplify api since access is restricted to read

hide from public api at the moment

move comment into correct branch of if

Feature: bind vertex/index buffers for vertex/fragment shaders
2017-04-06 18:59:30 -07:00
Branimir Karadžić
8ce85d2462 Added bimg dependency. 2017-04-03 22:42:27 -07:00
Branimir Karadžić
423c655095 Cleanup. 2017-04-03 20:43:57 -07:00
Branimir Karadžić
b0e13445db Exposed occlusion query result. 2017-03-06 17:23:22 -08:00