Commit Graph
1167 Commits
Author SHA1 Message Date
Jean-François Verdon 3bdeea1f4b Android mouse event injection is overcomplicated, and furthemore, bugged: it sends a mouse up event before a mouse down, and have other issues like the fact that he work with one event latter. Simplifying it and correcting it. 2016-07-04 01:55:20 +02:00
Jean-François Verdon a9a7cbb86c Mouse clicks should update mouse position too 2016-07-04 01:42:44 +02:00
Branimir Karadžić 4b26830fc1 shaderc: Allow shader without color target write. 2016-07-01 20:38:12 -07:00
Lunkhound c066ca0d62 Fix out-of-bounds array access (was asserting in example-10-font, debug build) 2016-07-01 18:03:39 -07:00
attilaz 317bcb0ea9 metal fixes (#827) 2016-06-28 09:06:21 -07:00
Branimir Karadžić 916a64e83c Updated shaders. 2016-06-27 23:26:43 -07:00
Dario c9a84bd542 18-ibl fixes. (#824)
* Fixing issue #817.

* Fixing env matrix for IBL.
2016-06-27 08:54:29 -07:00
Branimir Karadžić d2c6c79551 debugdraw: Added solid fill alpha blend. 2016-06-24 20:39:58 -07:00
Branimir Karadžić 9c84ef8cf7 Fixed issue #815. 2016-06-22 19:53:04 -07:00
Branimir Karadžić 2ca46b06f8 Cleanup. 2016-06-19 22:00:24 -07:00
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ć eacd978cf1 Cleanup. 2016-06-05 21:36:58 -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ć 21518f201f texturec: Preserve precision of input texture. 2016-06-02 16:38:26 -07:00
Branimir Karadžić 53e70f3424 Added 16-bit per channel PNG support. 2016-05-31 17:45:58 -07:00
Branimir Karadžić ddfb525931 Made old & new imgui cohabitate. 2016-05-28 20:52:18 -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ć 910cc76191 Added alpha test texture. 2016-05-19 13:27:45 -07:00
Branimir Karadžić 4adecab397 Cleanup. 2016-05-15 09:02:25 -07:00
Mikulas Florek 16c73cd71b waitRender and waitSubmit in the stats 2016-05-15 17:27:13 +02: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ć 57fccfe497 Cleanup. 2016-05-09 21:32:51 -07:00
Branimir Karadžić 6af3a7c952 Switched texture assets build to ninja. 2016-05-07 14:19:56 -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ć a6397f94b7 Renamed CX specific file to use .cx extension. 2016-04-25 19:17:42 -07:00
Branimir Karadžić 196a64d242 Cleanup. 2016-04-24 15:32:51 -07:00
Dario Manesku 59a71ca445 Entry_sdl key input changes. 2016-04-24 23:20:23 +02:00
Dario Manesku 5737270dbc Resolving some name collision. Mouse constructor was not being called. With this rename it works as expected. 2016-04-24 23:18:27 +02:00
Branimir Karadžić 321173961c texturev: Added help menu. 2016-04-24 08:49:49 -07:00
Branimir Karadžić 45f08a3066 SDL: Updated scancodes. 2016-04-23 17:47:36 -07:00
Branimir Karadžić d2579168dc SDL: Fixed Escape key. 2016-04-23 17:06:24 -07:00
Branimir Karadžić 9379b05a57 SDL: Updated scancodes. 2016-04-23 16:55:51 -07:00
Branimir Karadžić a94089e29f Added simple texture viewer tool. 2016-04-21 22:12:35 -07:00
Dario Manesku e759e55fd2 Fixing a memory overflow that caused the camera to move right all the time. 2016-04-21 19:51:08 +02:00
Branimir Karadžić 447610b308 Fixed issue #764. 2016-04-19 20:31:37 -07:00
Branimir Karadžić e1a60b808d Cleanup. 2016-04-18 09:35:53 -07:00