Commit Graph

353 Commits

Author SHA1 Message Date
Branimir Karadžić
7537b705e5 GL: Added support for texture array. 2016-08-21 14:03:16 -07:00
Branimir Karadžić
63e79499fa Cleanup. 2016-08-20 08:10:20 -07:00
Branimir Karadžić
c98be90bf5 WIP: Texture array support. 2016-08-19 21:05:37 -07:00
Branimir Karadžić
2eff8e381b Updated Remotery. 2016-07-26 22:51:30 -07:00
Branimir Karadžić
08b5e9c851 Fixed mipmap chain generation for textures created with backbuffer ratio size. 2016-07-21 12:57:14 -07:00
Branimir Karadžić
0494d0362c Cleanup. 2016-06-27 19:31:54 -07:00
Stuart Carnie
5a3672e7a2 ensure buffer is 16-byte aligned (#826) 2016-06-27 13:20:05 -07:00
attilaz
6941d506d2 opaque/alphatest/alphablend sort order (#819) 2016-06-24 03:57:20 -07:00
Branimir Karadžić
34ec758be7 Updated bgfx::readTexture to return frame number when result will be available. 2016-06-04 09:27:19 -07:00
Branimir Karadžić
e46135da8c Added ability to programmatically capture frame with RenderDoc. 2016-06-02 18:46:43 -07:00
Branimir Karadžić
10b9d079bf Cleanup. 2016-05-22 17:20:27 -07:00
Sami Kyöstilä
516e287f24 Make it possible to reset the native window (#796)
On Android when the application goes into the background, the EGL
window surface becomes invalid. It is possible to resume rendering when
coming to the foreground by resetting and reinitializing bgfx from
scratch, but this is costly in terms of performance.

This patch provides an alternative by letting the application provide a
new native window, causing bgfx to recreate just the EGL window surface
while keeping the EGL context intact. This allows the application to
resume rendering without needing to reload textures, shaders, etc.

To test, build and run the Hello World example on Android, switch to
another app and then back again. The screen should not remain blank
after switching back.
2016-05-22 17:16:25 -07:00
Mikulas Florek
16c73cd71b waitRender and waitSubmit in the stats 2016-05-15 17:27:13 +02:00
Branimir Karadžić
da0af1e356 Fixed assert message. 2016-04-19 09:12:04 -07:00
Branimir Karadžić
fe62fe5ebf Fixed dynamic buffer overrun. Issue #760. 2016-04-18 20:08:50 -07:00
Dario
9a43e45891 Api improvement. Calling setUniform() with UINT16_MAX will use the _n… 2016-04-06 19:31:47 -07:00
Branimir Karadžić
5ffff78d8d Fixed vertexdecl leak. 2016-03-17 16:46:04 -07:00
Branimir Karadžić
8955ebc6c8 Added alpha to coverage and anti-aliased lines support. 2016-03-16 15:09:15 -07:00
Branimir Karadžić
9853b5b8f6 Free vertexdecl handles after release. 2016-03-15 18:58:59 -07:00
Branimir Karadžić
b65eee5868 Cleanup. 2016-03-15 18:42:20 -07:00
Branimir Karadžić
d6bf810fb0 Fixed vertexdecl cleanup. 2016-03-15 15:34:44 -07:00
Branimir Karadžić
56ede30ec0 Fixed issue #714. 2016-03-13 12:13:19 -07:00
Branimir Karadžić
91e8751bab Added shader disassembler. 2016-03-10 21:09:32 -08:00
Branimir Karadžić
0e3436204c Allow more than 64K instances. 2016-03-01 17:56:04 -08:00
Branimir Karadžić
e8a0e69097 Cleanup. 2016-02-29 11:43:09 -08:00
Branimir Karadžić
c691521563 Added preserve state flag. 2016-02-29 11:24:14 -08:00
jdryg
c325a56ed0 Allow allocation of DVBs/DIBs larger than the predefined sizes. 2016-02-26 18:12:30 +02:00
Branimir Karadžić
d4d4d41e42 Exposed topology API. 2016-02-23 15:30:25 -08:00
Branimir Karadžić
3b09435af8 Cleanup. 2016-02-22 17:32:20 -08:00
Branimir Karadžić
dc46b1a36b Cleanup. 2016-02-21 13:59:38 -08:00
Branimir Karadžić
1b89cbe5f1 Cleanup. 2016-02-20 14:49:22 -08:00
Branimir Karadžić
18c023a01a Cleanup. 2016-02-19 08:34:50 -08:00
Branimir Karadžić
459e211a26 Added framebuffer attachment. 2016-02-15 16:55:32 -08:00
Branimir Karadžić
1f6d0e8c0a Added ability to select cubemap face for framebuffer attachments. PR#679. 2016-02-14 11:51:48 -08:00
Branimir Karadžić
d97863468b Cleanup. 2016-02-11 20:40:16 -08:00
Branimir Karadžić
4a6c2b286c Fixed compile warning. 2016-02-08 10:58:21 -08:00
Branimir Karadžić
a42cba815c Added checks for OOB transform cache access. 2016-02-07 18:44:51 -08:00
Branimir Karadžić
831dfcf9dd Cleanup. 2016-02-06 14:31:14 -08:00
Branimir Karadžić
0ed78a0753 Cleanup. 2016-02-06 13:42:27 -08:00
Branimir Karadžić
c091ddfc05 SortKey: Added configurable depth and sequence masks. 2016-01-26 19:24:30 -08:00
Branimir Karadžić
cc205ee0d5 Cleanup. 2016-01-20 19:27:48 -08:00
Branimir Karadžić
445ac92eff Added ability to create texture for external use. 2016-01-18 17:29:53 -08:00
Branimir Karadžić
07e65283b0 Adding ability to pass texture created outside of bgfx. 2016-01-17 20:33:39 -08:00
Branimir Karadžić
72be9be87d Added ability to expose internal data (D3D device/GL context). 2016-01-13 21:18:59 -08:00
Branimir Karadžić
4770831b11 texturec: Support for normal maps WIP. 2016-01-04 21:48:01 -08:00
Branimir Karadžić
4bb2b623d3 Happy New Year! 2016-01-01 00:11:04 -08:00
Branimir Karadžić
7f3084166a Cleanup. 2015-12-25 10:21:36 -08:00
Lunkhound
fb55a92239 fix: when resizing a dynamic vertex buffer, update numVertices 2015-12-25 01:53:25 -08:00
Branimir Karadžić
5a03a03b95 D3D11: Fixed dynamic index/vertex buffer update. Issue #601. 2015-12-16 11:44:42 -08:00
Branimir Karadžić
a02086c119 SortKey: Added static check for overlaps. 2015-12-09 16:56:56 -08:00