Commit Graph

2385 Commits

Author SHA1 Message Date
Branimir Karadžić
4b8db4e57e Cleanup. 2018-07-21 22:11:35 -07:00
Branimir Karadžić
909df17878 Cleanup. 2018-07-19 21:51:11 -07:00
Branimir Karadžić
3cbd32b32c Cleanup. 2018-07-19 20:50:22 -07:00
Branimir Karadžić
1598612d5e Cleanup. 2018-07-19 20:49:03 -07:00
Branimir Karadžić
7612f88426 Cleanup. 2018-07-19 20:29:03 -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
Eugeny Novikov
a10c536af4 Fixed RCP operands count. (#1431)
if we have the wrong RCP operands count, bgfx::read will return the wrong size and the library will crush.
2018-07-09 10:09:51 -07:00
Branimir Karadžić
fac2937a1f Fixed handle leaks. 2018-07-02 16:33:11 -07:00
Branimir Karadžić
90daafba80 Fixed atomicCompSwap. 2018-07-02 16:31:56 -07:00
Branimir Karadžić
68e43b7b01 Cleanup. 2018-06-26 09:54:17 -07:00
云风
848bc43a5f Add C99 api : bgfx_vertex_decl_decode and bgfx_vertex_decl_has (#1423) 2018-06-26 09:06:51 -07:00
Branimir Karadžić
939c5f905f Revert "Cleanup."
This reverts commit 97fe8e48a1.
2018-06-24 19:10:44 -07:00
Branimir Karadžić
31a4fc4d51 Cleanup. 2018-06-21 20:11:56 -07:00
Branimir Karadžić
9b9536420f Cleanup. 2018-06-21 19:10:30 -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
云风
2efe4e1794 bugfix: use c99 adapter (#1415) 2018-06-20 08:14:30 -07:00
Branimir Karadžić
f4e1f47e1c D3D12: Fixed validation issues. 2018-06-19 17:52:51 -07:00
Branimir Karadžić
694735f95c Added init debug&profile prarameters for device creation. 2018-06-18 17:51:02 -07:00
Branimir Karadžić
d7c5156084 Cleanup. 2018-06-16 08:34:06 -07:00
Branimir Karadžić
5d6a946fb0 Cleanup. 2018-06-14 17:02:10 -07:00
Branimir Karadžić
bfa5673007 Cleanup. 2018-06-14 14:23:46 -07:00
Branimir Karadžić
b567d3fb6f Cleanup. 2018-06-11 17:37:00 -07:00
Branimir Karadžić
2986c1eb7b D3D11/12: Added ASTC formats. 2018-06-11 14:43:17 -07:00
Branimir Karadžić
8d2e936dbe Fixed merge issue. 2018-06-11 09:24:54 -07:00
Andrew Willmott
acd99728b7 ATC and ASTC support (#1410)
* ATC & ASTC support

- Add update format enum for bimg additions
- renderer_gl ATC and ATSC support
- renderer_mtl ASTC support
- renderer_vk ASTC support
- updates to other backends for new enums
- Support emulated ATC

* cleanup

* Add texture_compression test files for ATC/ASTC formats

* Update 'update' example for ATC formats

- Generalise tile code a little
- Add ATC variants
- Ignoring ASTC for now as not emulated -- should we add empty
  checkerboard emulate though?
2018-06-11 09:23:41 -07:00
Branimir Karadžić
5995b27015 Updated texture format with new compressed formats. 2018-06-11 09:17:57 -07:00
Branimir Karadžić
9da45ed78c Renamed bgfx::updateDynamic* to just bgfx::update. 2018-06-09 17:29:00 -07:00
Branimir Karadžić
bc456cdbc9 Added topology flip for tristrip. 2018-06-08 16:52:37 -07:00
Branimir Karadžić
a167dcda12 Fixed gl_FrontFacing behavior. 2018-06-08 16:52:09 -07:00
Branimir Karadžić
4bfa717940 Fixed issue #1356. 2018-06-06 21:29:53 -07:00
Branimir Karadžić
1c551d6b97 GL: Auto generated vertices with gl_VertexID. 2018-06-06 16:49:58 -07:00
Branimir Karadžić
fbc572ee12 Added bgfx::setVertexCount for auto generated vertices with gl_VertexID. 2018-06-04 18:15:07 -07:00
Codecat
a68d3387fb Compatibility with old ATI drivers (#1397) 2018-05-30 09:48:44 -07:00
Branimir Karadžić
7d748cbe44 Cleanup. 2018-05-28 11:43:36 -07:00
Branimir Karadžić
42b1104b74 Fixed issue #1395. 2018-05-25 21:14:18 -07:00
Branimir Karadžić
873342df77 Cleanup. 2018-05-25 18:01:49 -07:00
Branimir Karadžić
34b0d66051 Fixed warning. 2018-05-24 21:23:36 -07:00
Branimir Karadžić
e9869fbeed Cleanup. 2018-05-24 18:03:31 -07:00
Branimir Karadžić
7a6f94ecb9 Removed unused data. 2018-05-21 16:59:17 -07:00
Branimir Karadžić
c7ee4aa8a4 Cleanup. 2018-05-20 09:30:28 -07:00
云风
c0bd3ceee5 fix c99 bgx_init (#1383) 2018-05-20 09:28:59 -07:00
Branimir Karadžić
ddb1ffae67 Metal: Fixed pso collsion. 2018-05-19 09:32:22 -07:00
Branimir Karadžić
793d8b26a5 Cleanup. 2018-05-18 20:50:36 -07:00
Branimir Karadžić
0e0da47e61 Added primitive count to perf stats. 2018-05-17 17:24:10 -07:00
Branimir Karadžić
0e7aff8dce Cleanup. 2018-05-17 10:58:06 -07:00
MaulingMonkey
8b1e3cf8cf Ignore stencil ref in bstencil param. Avoids assert in StateCacheT:add when D3D11 deduplicates identical ID3D11DepthStencilState s (#1391) 2018-05-16 08:43:26 -07:00
Branimir Karadžić
9f893581f7 Cleanup. 2018-05-13 08:55:35 -07:00
Branimir Karadžić
f8b32e3b90 Metal: Added support for multiple vertex streams. 2018-05-12 08:30:45 -07:00