Commit Graph

3666 Commits

Author SHA1 Message Date
Branimir Karadžić
4a6afd04b5 debugdraw: Added axis thickness. 2016-06-15 20:28:54 -07:00
Branimir Karadžić
c8b27d93db Cleanup. 2016-06-15 17:34:59 -07:00
Branimir Karadžić
87c7206900 Cleanup. 2016-06-15 12:58:36 -07:00
Branimir Karadžić
e50bda7818 Cleanup. 2016-06-15 09:33:11 -07:00
Branimir Karadžić
6e1d39b92a debugdraw: Cone & cylinder fill. 2016-06-14 22:33:37 -07:00
Branimir Karadžić
00a2a9c964 Fixed GPU timer read-back. 2016-06-13 16:45:29 -07:00
Branimir Karadžić
d8d17994dc GL: Fixed MSAA texture sampling. 2016-06-13 14:47:37 -07:00
Branimir Karadžić
a3edffcd5c Updated ImGui. 2016-06-12 22:18:03 -07:00
Branimir Karadžić
98454c19cc Updated ImGui. 2016-06-11 11:42:29 -07:00
Branimir Karadžić
fa0dbec856 Updated ImGui. 2016-06-08 09:57:52 -07:00
Branimir Karadžić
b5a160d5f6 Cleanup. 2016-06-07 11:28:00 -07:00
Branimir Karadžić
52c59645e2 Cleanup. 2016-06-07 09:20:43 -07:00
Branimir Karadžić
2667f1ac82 Cleanup. 2016-06-06 20:25:58 -07:00
Branimir Karadžić
b5f66e8428 Cleanup. 2016-06-06 20:13:03 -07:00
Branimir Karadžić
aadf05dcb8 Added basic file list ImGui widget. 2016-06-06 18:17:40 -07:00
Branimir Karadžić
680cb30b4a Merge branch 'master' of cane:bkaradzic/bgfx into dev 2016-06-06 15:48:11 -07:00
Branimir Karadžić
cf93acf0bf Merge branch 'master' of cane:bkaradzic/bgfx 2016-06-06 15:42:43 -07:00
Branimir Karadžić
a48fd8da54 Updated Vulkan headers. 2016-06-06 15:42:38 -07:00
Branimir Karadžić
eacd978cf1 Cleanup. 2016-06-05 21:36:58 -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ć
36ead44878 Cleanup. 2016-06-02 21:31:48 -07:00
Branimir Karadžić
f3fe5810ad Cleanup. 2016-06-02 21:15:37 -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ć
52d0563136 Merge branch 'master' of github.com:bkaradzic/bgfx 2016-06-02 16:38:33 -07:00
Branimir Karadžić
21518f201f texturec: Preserve precision of input texture. 2016-06-02 16:38:26 -07:00
Branimir Karadžić
0ef14d0803 Fixed VS build. 2016-06-01 20:11:48 -07:00
Branimir Karadžić
5b506febb6 Updated ImGui. 2016-05-31 22:53:46 -07:00
Branimir Karadžić
53e70f3424 Added 16-bit per channel PNG support. 2016-05-31 17:45:58 -07:00
Branimir Karadžić
918f18c668 Fixed reset flags. 2016-05-31 12:50:28 -07:00
Branimir Karadžić
ee25aa1b80 Cleanup. 2016-05-31 10:51:55 -07:00
Sami Kyöstilä
3d23690216 Give a valid display parameter to eglMakeCurrent (#800) 2016-05-30 16:41:11 -07:00
Branimir Karadžić
70a75edc08 Updated ImGui. 2016-05-30 10:56:21 -07:00
Branimir Karadžić
fdc37ad7cb Updated ImGui. 2016-05-29 09:17:23 -07:00
Branimir Karadžić
ddfb525931 Made old & new imgui cohabitate. 2016-05-28 20:52:18 -07:00
Branimir Karadžić
29b5174ebf Cleanup. 2016-05-28 19:26:58 -07:00
Branimir Karadžić
58156ea4e8 Cleanup. 2016-05-28 17:14:19 -07:00
Branimir Karadžić
dda0de635e Switched to Roboto font. Added mono font. 2016-05-28 16:26:19 -07:00
Branimir Karadžić
3dd6bc237b Added icon fonts to ImGui. 2016-05-28 12:12:59 -07:00
Branimir Karadžić
b37e9f53ad Cleanup. 2016-05-27 20:27:31 -07:00
Branimir Karadžić
71afc178c8 Cleanup. 2016-05-26 21:12:47 -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
Branimir Karadžić
7063c2a030 Updated ImGui. 2016-05-21 14:54:06 -07:00
Branimir Karadžić
d9e65258b0 Updated ImGui. 2016-05-21 09:27:18 -07:00
Branimir Karadžić
ea67fa406f Fixed PTC14A decoding. Issue #792. 2016-05-19 15:04:20 -07:00
Branimir Karadžić
910cc76191 Added alpha test texture. 2016-05-19 13:27:45 -07:00
PendingChaos
768cf72ca7 GL: Fixed a bug where the depth buffer is not written to (#793)
`glDisable(GL_DEPTH_TEST)` disables not just depth testing but depth writing too. In the OpenGL renderer, it is called even when depth writing is enabled. This commit makes it fall back to `glEnable(GL_DEPTH_TEST)` and `glDepthFunc(GL_ALWAYS)` when it is enabled.
2016-05-19 12:15:34 -07:00
Branimir Karadžić
c86b996eb3 texturev: Added color channel filtering options. 2016-05-18 09:10:02 -07:00
Branimir Karadžić
f848cf6d73 Updated README. 2016-05-15 14:12:16 -07:00
Branimir Karadžić
0abfc0b47f Updated ImGui. 2016-05-15 09:23:51 -07:00