Commit Graph
8495 Commits
Author SHA1 Message Date
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
Branimir Karadžić 4adecab397 Cleanup. 2016-05-15 09:02:25 -07:00
Branimir Karadžić 133b9c42f1 Merge pull request #789 from nem0/master
waitRender and waitSubmit in the stats
2016-05-15 08:31:13 -07:00
Mikulas Florek 16c73cd71b waitRender and waitSubmit in the stats 2016-05-15 17:27:13 +02:00
Branimir Karadžić ef56d9b9b2 Updated ImGui. 2016-05-13 08:03:36 -07:00
Branimir Karadžić 9cc3997795 Cleanup. 2016-05-12 09:42:44 -07:00
Branimir Karadžić 5b5d7c999d Cleanup. 2016-05-11 17:02:41 -07:00
Branimir Karadžić 556acae191 Added Doug Binks' ImGui color scheme. 2016-05-11 07:44:13 -07:00
Branimir Karadžić 59821c8c0a Updated ImGui. 2016-05-10 20:07:30 -07:00
Branimir Karadžić 579cd6647e KTX: Fixed parser. 2016-05-10 15:07:35 -07:00
Branimir Karadžić 57fccfe497 Cleanup. 2016-05-09 21:32:51 -07:00
Branimir Karadžić 751acb0c45 Fixed iOS/OSX build. 2016-05-09 13:26:55 -07:00
Branimir Karadžić 37ba66d357 Updated ImGui. 2016-05-08 21:58:20 -07:00
Branimir Karadžić 407c37e8d3 Cleanup. 2016-05-08 14:50:04 -07:00
Branimir Karadžić 3ca4d7feb3 Updated ImGui. 2016-05-08 10:16:37 -07:00
Branimir Karadžić 6af3a7c952 Switched texture assets build to ninja. 2016-05-07 14:19:56 -07:00
Branimir Karadžić 7dddab9f1c Updated ImGui. 2016-05-07 00:37:02 -07:00
Branimir Karadžić 3b61978c7a Cleanup. 2016-05-06 21:35:23 -07:00
Branimir Karadžić 071912b2d2 Fixed MSVC L4 warnings. 2016-05-06 21:29:47 -07:00
Branimir Karadžić 537c70965d Switched mesh assets build to ninja. 2016-05-06 20:44:21 -07:00
Branimir Karadžić 220cabeae5 texturev: Fixed build. 2016-05-06 10:55:41 -07:00
Branimir Karadžić 8cf12291f4 texturev: Added Linux file association. 2016-05-05 22:55:38 -07:00