Branimir Karadžić
f82d3669bd
Cleanup.
2018-06-11 09:32:07 -07:00
Branimir Karadžić
8780912003
Updated API version.
2018-06-11 09:31:04 -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ć
305cc6351f
Cleanup.
2018-06-07 16:02:28 -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ć
e009112aea
Updated docs.
2018-05-18 09:34:49 -07:00
Branimir Karadžić
0e0da47e61
Added primitive count to perf stats.
2018-05-17 17:24:10 -07:00
Branimir Karadžić
0a72ce0110
Cleanup.
2018-04-22 08:12:42 -07:00
Branimir Karadžić
28e1839342
Added transient buffer stats.
2018-04-18 16:35:57 -07:00
Branimir Karadžić
077f11cdb4
Cleanup.
2018-04-17 20:40:28 -07:00
Branimir Karadžić
aef6617165
C99: Fixed struct/function shadowing issue.
2018-04-17 19:30:43 -07:00
Branimir Karadžić
bac72eb578
Added bgfx::init default argument.
2018-04-17 16:50:33 -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ć
e5031c5897
Added texture&rt memory stats.
2018-03-28 18:05:49 -07:00
Branimir Karadžić
ba22a5519e
Updated docs.
2018-03-07 07:57:35 -08:00
Branimir Karadžić
584b8b34f0
Added support for independent RGB channel write control.
2018-02-13 12:35:23 -08:00
Branimir Karadžić
7e505c2c3c
Cleanup.
2018-02-11 14:57:48 -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ć
a96805e1f5
Updated docs.
2018-02-10 12:10:29 -08:00
Branimir Karadžić
3c053d4e1e
Cleanup.
2018-02-08 19:30:09 -08:00
Branimir Karadžić
8adb5fc020
Added maxTextureLayers to caps/limits.
2018-02-08 16:48:54 -08:00
Branimir Karadžić
e563dedb25
Cleanup.
2018-02-03 11:18:21 -08:00
Johan Sköld
76442f2f29
Fixing macOS build. ( #1324 )
...
- Fixing compiler errors from C functions with missing argument lists.
- Silencing warning about -Wunused-but-set-variable being unknown.
- Silencing warnings about comma mis-use.
- Silencing warning about implicit cast from unsigned to int.
2018-01-30 21:47:27 -08:00
Branimir Karadžić
d04301dfda
Fixed VGA color order, and clarified docs.
2018-01-25 20:34:17 -08:00
Branimir Karadžić
0dc5c8392f
Removed unused argument from setImage.
2018-01-19 17:06:58 -08:00
Branimir Karadžić
f44c8e2b14
Happy New Year!
2018-01-01 11:16:06 -08:00
James Fulop
7beeea408e
docs cleanup ( #1305 )
2017-12-31 15:31:08 -08:00
Lectem
070120b59d
Fix GCC error: extra ‘;’ [-Werror=pedantic] ( #1295 )
...
The macro `BGFX_HANDLE` is used the following way `BGFX_HANDLE(DynamicIndexBufferHandle);`, however it creates an error when using -Werror=pedantic with GCC since the `;` is unneeded.
I removed the `;` as I can't silence this warning without removing pendantic as a whole.
2017-12-17 16:20:57 -08:00
Branimir Karadžić
f7fea65bec
Removed obsolete platforms.
2017-12-14 20:40:30 -08:00
Branimir Karadžić
061fc334c6
Updated docs.
2017-12-04 19:00:40 -08:00
Branimir Karadžić
6adb0090d0
Added resource stats.
2017-12-03 19:42:06 -08:00
Branimir Karadžić
0ce8bd136d
Updated docs.
2017-12-03 18:16:06 -08:00
Branimir Karadžić
0e5f3457c3
Added support for texture direct access.
2017-12-02 22:12:27 -08:00
Branimir Karadžić
be2c709812
Cleanup.
2017-11-27 19:34:35 -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
云风
8abbd0d05c
For C, need struct prefix ( #1278 )
2017-11-15 09:13:56 -08:00
Branimir Karadžić
cd158d5c5f
Updated C99 API.
2017-11-09 20:03:44 -08:00
Branimir Karadžić
6480a62844
Added encoder stats.
2017-11-02 22:06:39 -07:00
Branimir Karadžić
0ca7f241f8
Merge branch 'master' into encoder
2017-10-30 09:08:51 -07:00
Branimir Karadžić
3e5f58c649
Updated docs.
2017-10-30 09:08:43 -07:00
Branimir Karadžić
4656a892ef
Cleanup.
2017-10-29 21:06:22 -07:00
Branimir Karadžić
0b20e92797
Encoder API WIP.
2017-10-28 18:43:21 -07:00
Branimir Karadžić
f6a97f9d87
Changed setViewOrder API to specify type required for array.
2017-10-22 18:37:51 -07:00
云风
630ec6c1de
fix C syntax ( #1258 )
2017-10-13 09:26:09 -07:00
Branimir Karadžić
bf3f68a596
Merge branch 'master' of github.com:bkaradzic/bgfx
2017-10-12 21:03:15 -07:00
Branimir Karadžić
2d31ca0162
Cleanup.
2017-10-12 14:22:09 -07:00