Commit Graph

370 Commits

Author SHA1 Message Date
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
Branimir Karadžić
a1184d53c5 Invalidate occlusion queries in flight when new occlusion query with the same id is created. 2017-03-03 18:05:36 -08:00
Branimir Karadžić
cd263210f3 D3D9: Implemented swap chain screen shot. 2017-03-02 22:48:10 -08:00
Branimir Karadžić
1444704901 Cleanup. 2017-03-02 19:29:34 -08:00
Branimir Karadžić
86fc54ccfc Added ability to specify swap chain for screenshot. 2017-03-02 18:02:14 -08:00
Branimir Karadžić
b99ebb9535 Cleanup. 2017-02-08 19:55:31 -08:00
Branimir Karadžić
aa2a9deb5f Cleanup. 2017-02-08 18:17:59 -08:00
Branimir Karadžić
b62fe2749f Fixed create/destroy windows. 2017-01-26 15:34:11 -08:00
Branimir Karadžić
ec4f98f33a Fixed VS build. 2017-01-14 17:45:27 -08:00
Branimir Karadžić
8b3f752af5 Skip rendering when scissor is zero area. 2017-01-11 20:38:38 -08:00
Branimir Karadžić
14dbb67320 Fixed IFH debug flag. 2017-01-10 17:14:50 -08:00
Branimir Karadžić
3b83f53ab1 Happy New Year! 2017-01-01 00:18:41 -08:00
Branimir Karadžić
5a0d824331 Exposed a few more internal performats stats. 2016-12-19 17:18:07 -08:00
Branimir Karadžić
706facc788 Fixed blit with view remapping. 2016-11-20 14:29:37 -08:00
Branimir Karadžić
afb7ec3d73 Cleanup. 2016-11-15 16:57:28 -08:00