Commit Graph

597 Commits

Author SHA1 Message Date
Mathieu-Andre Chiasson
14c8c69b02 Added latest gl and gles versions 2019-01-05 20:39:14 -05:00
Бранимир Караџић
22fb0f7ad7 Removing VR leftovers. 2018-12-21 23:25:30 -08:00
Branimir Karadžić
095188a533 Cleanup. 2018-12-18 16:11:41 -08:00
Branimir Karadžić
9abc80cb62 Removed use of debugPrintf. 2018-11-26 17:32:15 -08:00
Branimir Karadžić
a50b76a9a3 Added ability to specify sampler flags for samplers used in compute shader. 2018-11-14 17:04:24 -08:00
Branimir Karadžić
d6c4482e8d Added short name for attributes. 2018-10-17 18:08:28 -07:00
Branimir Karadžić
0f191b507e SRT: WIP 2018-10-15 17:54:41 -07:00
Branimir Karadžić
623fd3cf0b shaderc: Added in/out hash. Fixed shader binary backward compatibility. 2018-10-12 16:41:26 -07:00
Branimir Karadžić
5e946a0407 Fixed submit depth argument. 2018-10-10 17:52:14 -07:00
Hugo Amnov
fa2dfdf6c7 Add option to force begin() encoder for a thread (#1497) 2018-09-22 09:52:51 -07:00
Branimir Karadžić
99e6da5b50 Added file/line argument to fatal callback. 2018-09-19 17:54:51 -07:00
Branimir Karadžić
9eaa42adc8 Fixed issue #1489. 2018-09-18 17:25:05 -07:00
Branimir Karadžić
23c611929a Fixed typo. 2018-09-17 19:42:27 -07:00
Branimir Karadžić
00b6beab16 Added setInstanceCount. 2018-09-14 21:23:28 -07:00
Branimir Karadžić
f40bf8e862 Added ability to sample stencil part of depth/stencil texture. 2018-08-23 17:59:47 -07:00
Branimir Karadžić
88c6252e42 D3D11/12: Added support for HDR10 display output. 2018-08-22 17:18:11 -07:00
Branimir Karadžić
4433b5bcdc Separating sampler flags from texture creation flags. 2018-08-20 17:12:26 -07:00
Branimir Karadžić
db0ec1f5db Removed HMD API and OculusVR support. 2018-07-19 20:22:21 -07:00
Branimir Karadžić
8df49a66f3 NonLocalAllocator: Handle zero size allocation. 2018-07-12 18:36:46 -07:00
Branimir Karadžić
5007b8a20a NonLocalAllocator: Handle zero size allocation. 2018-07-12 18:35:54 -07:00
Branimir Karadžić
fac2937a1f Fixed handle leaks. 2018-07-02 16:33:11 -07:00
Branimir Karadžić
8ec1a3a8f4 Allow non-zero terminated strings to be used with bgfx::setName API. 2018-06-20 18:01:06 -07:00
Branimir Karadžić
d7c5156084 Cleanup. 2018-06-16 08:34:06 -07:00
Branimir Karadžić
9da45ed78c Renamed bgfx::updateDynamic* to just bgfx::update. 2018-06-09 17:29:00 -07:00
Branimir Karadžić
fbc572ee12 Added bgfx::setVertexCount for auto generated vertices with gl_VertexID. 2018-06-04 18:15:07 -07:00
Branimir Karadžić
873342df77 Cleanup. 2018-05-25 18:01:49 -07:00
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
Dario Manesku
2d1c2987ec Minor fixes. (#1390)
* Moved greedy generic release(Ty) below release(const Memory*).

* OGL: Resolve all color attachments, not only the first one.
2018-05-10 22:09:24 -07:00
Branimir Karadžić
a04350635a Added resource guard to allocInstanceDataBuffer. 2018-04-22 08:22:16 -07:00
Branimir Karadžić
28e1839342 Added transient buffer stats. 2018-04-18 16:35:57 -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ć
c18a21ca3d Fixed dynamic * buffer compute size. 2018-04-09 16:49:18 -07:00
Branimir Karadžić
b4efb02f1b Fixed truncation of large dynamic index/vertex buffers. 2018-04-08 15:10:15 -07:00
Branimir Karadžić
e5031c5897 Added texture&rt memory stats. 2018-03-28 18:05:49 -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ć
fc133a2f7a Fixed CheckFeatureSupport with DXGI_FEATURE_PRESENT_ALLOW_TEARING crash on Windows 7. Issue #1356. 2018-03-21 08:40:13 -07:00
Branimir Karadžić
f96f7b6ea0 Cleanup. 2018-03-19 22:33:49 -07:00
Branimir Karadžić
61bf6b061a Removed use of std::list. Issue #1270. 2018-03-19 22:17:24 -07:00
Branimir Karadžić
d227f9e8bf Fixed memory leak. 2018-03-12 18:56:27 -07:00
Branimir Karadžić
480620751b Separating DXGI functionality from D3D11 renderer. 2018-03-10 11:47:21 -08:00
Branimir Karadžić
20cba39df6 Cleanup. 2018-02-21 09:40:47 -08:00
云风
5e78c10358 Add struct MemSlot for future use, See #1249 (#1342) 2018-02-21 09:37:55 -08:00
Branimir Karadžić
627abbd9d3 Prevent invalid texture update calls to immutable texture. Issue #1338. 2018-02-19 09:42:02 -08:00
Branimir Karadžić
fb464ba4e2 Cleanup. 2018-02-16 18:26:53 -08:00
Branimir Karadžić
03a687b1fe Cleanup. 2018-02-10 15:49:30 -08:00
Branimir Karadžić
636d4bfe55 Cleanup. 2018-02-10 15:43:26 -08:00
Branimir Karadžić
3a8857654f Added ability to set offset in instance data buffer. 2018-02-10 15:36:32 -08:00
Branimir Karadžić
372a26882b Detect corrupted shader. 2018-02-07 18:09:39 -08:00
Branimir Karadžić
0dc5c8392f Removed unused argument from setImage. 2018-01-19 17:06:58 -08:00
Branimir Karadžić
b9e393e6dd Fixed issue #1315. 2018-01-16 17:19:29 -08:00
Branimir Karadžić
49a75f2fb1 bx math API cleanup. 2018-01-13 15:33:50 -08:00
Branimir Karadžić
e4cde19f35 Fixed issue #1307. 2018-01-12 20:26:23 -08:00
Branimir Karadžić
f44c8e2b14 Happy New Year! 2018-01-01 11:16:06 -08:00
Branimir Karadžić
6e70fc172b Cleanup. 2017-12-14 09:05:51 -08:00
Branimir Karadžić
9e00fad8b3 WIP: Init params. 2017-12-07 21:52:52 -08:00
Branimir Karadžić
6adb0090d0 Added resource stats. 2017-12-03 19:42:06 -08:00
Branimir Karadžić
0e5f3457c3 Added support for texture direct access. 2017-12-02 22:12:27 -08:00
Branimir Karadžić
547d1d2b11 Cleanup. 2017-12-02 18:15:31 -08:00
Branimir Karadžić
7e1c2623fc Fixed dynamic index buffer compute support. 2017-12-01 16:28:35 -08:00
Branimir Karadžić
cb60295e1b Reserve 10 bits in sort key for view. 2017-11-27 19:38:36 -08:00
Branimir Karadžić
3533da7225 Fixed view id remapping. 2017-11-27 16:34:27 -08:00
Branimir Karadžić
7384171900 Fixed view id remapping. 2017-11-27 15:57:31 -08:00
Branimir Karadžić
953d4984ac Cleanup. 2017-11-27 13:11:57 -08:00
Branimir Karadžić
b3fcc8350b Fixed issue #1281. 2017-11-27 09:06:57 -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ć
00c81fa205 Merge branch 'encoder' of github.com:bkaradzic/bgfx into encoder 2017-11-10 20:30:25 -08:00
Branimir Karadžić
7abc5af763 Cleanup. 2017-11-10 20:30:16 -08:00
Branimir Karadžić
70299a681f Cleanup. 2017-11-09 21:07:55 -08:00
Branimir Karadžić
d2d4c8aebb Cleanup. 2017-11-09 20:21:56 -08:00
Branimir Karadžić
a241daa114 Updated thread funcs to match bx. 2017-11-04 15:18:33 -07:00
Branimir Karadžić
6a278175ff Cleanup. 2017-11-04 10:32:31 -07:00
Branimir Karadžić
a680845a98 Cleanup. 2017-11-03 23:48:40 -07:00
Branimir Karadžić
6480a62844 Added encoder stats. 2017-11-02 22:06:39 -07:00
Branimir Karadžić
ee6b520cad Merge branch 'master' into encoder 2017-11-02 18:21:57 -07:00
Branimir Karadžić
a5f36f526c Fixed dynamic vertex buffer allocation failure. 2017-11-02 18:21:40 -07:00
Branimir Karadžić
2c2e5ef36c MT encoder WIP. 2017-11-01 22:34:11 -07:00
Branimir Karadžić
2bbb5a41bc Moved all validation into encoder interface. 2017-10-30 21:15:00 -07:00
Branimir Karadžić
fc7cf00982 Merge branch 'master' into encoder 2017-10-30 08:43:22 -07:00
Branimir Karadžić
85322904a9 Moved internal view state into single struct. 2017-10-30 08:39:25 -07:00
Branimir Karadžić
0b20e92797 Encoder API WIP. 2017-10-28 18:43:21 -07:00
Branimir Karadžić
dee11c9655 Fixed program deduplication issue. 2017-10-27 17:57:48 -07:00
Branimir Karadžić
734ff0ad34 Cleanup. 2017-10-26 21:41:40 -07:00
Branimir Karadžić
f6a97f9d87 Changed setViewOrder API to specify type required for array. 2017-10-22 18:37:51 -07:00
Branimir Karadžić
96a1d0859b Cleanup. 2017-10-11 09:16:59 -07:00
Branimir Karadžić
cdd658b44c Cleanup. 2017-10-09 21:41:59 -07:00
Branimir Karadžić
d4e3828e80 Cleanup. 2017-10-09 21:17:58 -07:00
Branimir Karadžić
2008a041ab Cleanup. 2017-10-09 21:08:03 -07:00
Branimir Karadžić
be158a6055 Cleanup. 2017-10-09 20:10:03 -07:00
Branimir Karadžić
426c56b635 Moving uniform/query set validation into encoder. 2017-10-08 22:02:21 -07:00
Branimir Karadžić
61cee3d3bb Refactoring internal frame structure to separate submit encoder. 2017-10-08 20:47:51 -07:00
Branimir Karadžić
7a32c14157 Cleanup. 2017-10-07 21:19:47 -07:00
Branimir Karadžić
e1a9422445 Cleanup. 2017-10-07 18:17:16 -07:00
Branimir Karadžić
cfa81f314a Cleanup. 2017-10-06 21:50:38 -07:00
Branimir Karadžić
4cdab3e971 Exposed internal profiler callbacks. 2017-10-06 18:07:40 -07:00
Branimir Karadžić
b5af383cf8 Cleanup. 2017-09-23 16:27:16 -07:00
Branimir Karadžić
4b4b1c31a6 Added perf timer for API thread. 2017-09-22 21:39:16 -07:00
Branimir Karadžić
ad4be46c79 Fixed program ref counting issue. 2017-09-18 18:25:08 -07:00
Branimir Karadžić
4f79945ebf Fixed sequential sort. 2017-09-15 13:01:11 -07:00
Branimir Karadžić
dbbb670d7f Added separate draw sort key for sequential view mode. 2017-09-14 18:59:49 -07:00