Commit Graph

739 Commits

Author SHA1 Message Date
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ć
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ć
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ć
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ć
e1a60b808d Cleanup. 2016-04-18 09:35:53 -07:00
Dario Manesku
89a868ba29 Capture SDL modifier keys even if no other keys are pressed. 2016-04-15 01:59:33 +02:00
Branimir Karadžić
641d294b9d Cleanup. 2016-04-08 17:30:35 -07:00
Branimir Karadžić
931c6ed0f6 debugdraw: Added cylinder. 2016-04-06 22:21:46 -07:00
Branimir Karadžić
17aaf3abca Cleanup. 2016-04-05 17:40:03 -07:00
Branimir Karadžić
bd6ecc19e4 debugdraw: Added cone. 2016-04-05 17:10:48 -07:00
Branimir Karadžić
744051643f debugdraw: Fixed state. 2016-04-05 15:31:32 -07:00
Branimir Karadžić
f2026d87da Cleanup. 2016-03-24 16:16:56 -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ć
cd81ab9b99 Cleanup. 2016-03-06 14:56:09 -08:00
Branimir Karadžić
67d36dc9a9 Debug draw: Added squircle shape. 2016-03-06 00:07:20 -08:00
Branimir Karadžić
2b77088a38 Cleanup. 2016-03-05 11:03:52 -08:00
Branimir Karadžić
016d403644 Cleanup. 2016-03-02 23:09:45 -08:00
Branimir Karadžić
a78a620c15 Cleanup. 2016-03-02 18:09:36 -08:00
Branimir Karadžić
002789eef6 Fixed vecX_splat to catch errors. 2016-03-01 08:38:46 -08:00
Branimir Karadžić
6dc6bff66d SDL: Addded tilde key. 2016-02-29 20:46:27 -08:00
Branimir Karadžić
c691521563 Added preserve state flag. 2016-02-29 11:24:14 -08:00
Branimir Karadžić
4752d567e4 Cleanup. 2016-02-28 19:52:15 -08:00
Branimir Karadžić
46b1b1b885 Cleanup. 2016-02-26 20:09:13 -08:00
Branimir Karadžić
7b08b5127c Added missing file. 2016-02-26 11:40:40 -08:00
Dario Manesku
1a4c308ba5 Added missing include. 2016-02-26 08:01:08 +01:00
Branimir Karadžić
89a87a5f8d Cleanup. 2016-02-25 22:41:28 -08:00
Branimir Karadžić
dbb697b56e Debug draw. 2016-02-25 22:20:24 -08:00
Branimir Karadžić
b7f8a8cdb5 Cleanup. 2016-02-25 20:29:09 -08:00
Branimir Karadžić
d4d4d41e42 Exposed topology API. 2016-02-23 15:30:25 -08:00