Commit Graph

986 Commits

Author SHA1 Message Date
Branimir Karadžić
3e212b519f Moving code around and renaming files. 2017-07-15 21:01:08 -07:00
Branimir Karadžić
127328d1db Fixed build. 2017-07-15 15:37:40 -07:00
Branimir Karadžić
a274c9a6c5 Replaced BX_OVERRIDE with override. 2017-07-15 00:17:29 -07:00
Branimir Karadžić
ac33b32cb5 Fixed windows build. 2017-07-14 23:38:45 -07:00
Branimir Karadžić
24e796fa5b Cleanup. 2017-07-14 00:10:33 -07:00
Branimir Karadžić
b71736dfc1 Cleanup. 2017-07-09 19:47:59 -07:00
Branimir Karadžić
c6e9ba71cf Cleanup. 2017-07-08 16:16:50 -07:00
Branimir Karadžić
876036a310 Cleanup. 2017-07-08 15:30:32 -07:00
Branimir Karadžić
bd9d2b3f4b Cleanup. 2017-07-08 15:28:27 -07:00
Branimir Karadžić
ee90f34a06 Cleanup. 2017-07-08 13:09:44 -07:00
Branimir Karadžić
cbc86d49b5 Cleanup. 2017-07-08 10:51:38 -07:00
Branimir Karadžić
bacba8c2c7 Cleanup. 2017-07-08 01:04:24 -07:00
Branimir Karadžić
94f01a34bf Fixed issue #1192. 2017-07-04 13:10:27 -07:00
Branimir Karadžić
de899486d1 Cleanup. 2017-07-03 19:17:32 -07:00
Branimir Karadžić
e5426f78f5 Added previous/next example control. 2017-07-02 20:17:21 -07:00
Branimir Karadžić
e5f228b3c9 Cleanup. 2017-07-02 11:41:37 -07:00
Branimir Karadžić
0fad539078 Cleanup. 2017-06-29 23:19:20 -07:00
Branimir Karadžić
e9a0f266bb Updated example control widget. 2017-06-29 22:47:16 -07:00
Branimir Karadžić
5df4969527 Fixed build. 2017-06-29 22:30:35 -07:00
Branimir Karadžić
917385f79e Cleanup. 2017-06-29 22:23:18 -07:00
attilaz
43dff1df66 iOS retina support (#1185) 2017-06-28 09:51:34 -07:00
Branimir Karadžić
6e08b6a42a Cleanup. 2017-06-26 22:21:20 -07:00
Branimir Karadžić
b12ce15a82 Moved showExampleDialog to separate library to decouple entry and imgui. 2017-06-26 21:04:16 -07:00
Branimir Karadžić
9e737f705d OSX: Don't exit on bgfx shutdown. Issue #1143. 2017-06-26 14:58:35 -07:00
Branimir Karadžić
5f666a5ee2 Combined all examples. Issue #1143. 2017-06-25 21:44:04 -07:00
Branimir Karadžić
c55fbf378b Cleanup. 2017-06-23 15:26:28 -07:00
Branimir Karadžić
1333161500 Deleting deprecated old-imgui calls. 2017-06-23 14:39:24 -07:00
Branimir Karadžić
b4df0d7c75 Cleanup. 2017-06-23 14:35:53 -07:00
Branimir Karadžić
27569e95c6 Commenting out deprecated old-imgui API calls. 2017-06-22 21:39:13 -07:00
Branimir Karadžić
b83204d516 Added kExitSuccess/Failure constants. 2017-06-20 21:42:23 -07:00
Branimir Karadžić
236ef4b875 Fixed shader binary truncation. Issue #1170. 2017-06-20 20:34:41 -07:00
Branimir Karadžić
35060be243 texturev: Added 3D texture support. 2017-06-20 13:31:22 -07:00
Branimir Karadžić
822f95b898 Cleanup. 2017-06-17 11:47:39 -07:00
Branimir Karadžić
6910ddba9e WIP: Adding more sort key modes. 2017-06-14 18:10:42 -07:00
Branimir Karadžić
30b6d07e29 Cleanup. 2017-06-12 22:43:07 -07:00
Branimir Karadžić
525af7685e Renaming CrtFile* -> File*. 2017-06-11 21:01:38 -07:00
Branimir Karadžić
6a6c5e3af9 Cleanup. 2017-06-10 22:31:59 -07:00
Branimir Karadžić
07d799f72e Renamed constants to new style. 2017-06-09 21:57:08 -07:00
Branimir Karadžić
3fbcddb4ef Renamed constants to new style. 2017-06-09 20:08:52 -07:00
Olli Wang
ed99f83093 Fixes texture format for NanoVG framebuffer. (#1147)
* Fixes pixel format for iOS.

* Fixes texture format of nanovg framebuffer.
2017-06-04 09:53:19 -07:00
Branimir Karadžić
cf6087bdb6 Cleanup. 2017-06-03 14:02:01 -07:00
Branimir Karadžić
c4f5129e84 Removed support for Native Client. https://developer.chrome.com/native-client/migration 2017-05-30 23:49:53 -07:00
Branimir Karadžić
9e8131e377 GLFW: Added missing key remappings. 2017-05-29 16:31:36 -07:00
Branimir Karadžić
993f6b5ff9 glfw: Fixed toggle fullscreen. 2017-05-25 21:13:54 -07:00
Branimir Karadžić
c0f37bc121 Fixed #1136 premultiplied alpha. 2017-05-24 21:15:08 -07:00
Branimir Karadžić
54411a2b5d Fixed issue #1136 cont. 2017-05-24 08:55:45 -07:00
Branimir Karadžić
1e3f8e2965 Fixed issue #1136. 2017-05-20 17:15:19 -07:00
Branimir Karadžić
68c6b46a65 Exposed vertex stream argument to API. 2017-05-14 11:48:59 -07:00
Branimir Karadžić
01a76bbdf0 Fixed texture load info. 2017-04-27 21:09:44 -07:00
Branimir Karadžić
c9679731a5 Renaming string functions. 2017-04-22 14:47:02 -07:00
Branimir Karadžić
c689fa3498 Cleanup. 2017-04-20 22:12:41 -07:00
Branimir Karadžić
6e9e862565 Renaming string functions. 2017-04-16 21:56:17 -07:00
Branimir Karadžić
6710ea410b Cleanup. 2017-04-15 17:29:34 -07:00
Libor Čapák
3e832fb4bb simple fix #1070 before proper solution (#1116) 2017-04-15 17:36:39 -07:00
Branimir Karadžić
9128c4f374 Fixed NanoVG. 2017-04-12 20:53:58 -07:00
Branimir Karadžić
610055fbb0 Rebuilt shaders, removed unused shaders. 2017-04-11 19:46:40 -07:00
Branimir Karadžić
9b218c9644 Cleanup. 2017-04-05 20:18:59 -07:00
Branimir Karadžić
8ce85d2462 Added bimg dependency. 2017-04-03 22:42:27 -07:00
Branimir Karadžić
8b94c13e32 shaderc: Parse in/out correctly. 2017-04-03 17:53:14 -07:00
Branimir Karadžić
e492eb5132 Image code cleanup, preparing for split into new lib. 2017-04-01 14:54:18 -07:00
Branimir Karadžić
8499319009 Cleanup. 2017-03-31 21:01:08 -07:00
Branimir Karadžić
452cf95df5 Cleanup. 2017-03-30 23:39:35 -07:00
Branimir Karadžić
ab42f6fdd8 Fixed reading corrupted PNG. 2017-03-28 17:34:52 -07:00
Branimir Karadžić
0aa79d3ac4 Cleanup. 2017-03-25 21:04:58 -07:00
Olli Wang
b761d1240c Allows to set view id of NanoVG’s framebuffer manually.
This commit changes the `nvgluCreateFramebuffer()` function to not assign a view id automatically as it would easily reach the limit of `uint8_t`. Instead, a new `nvgluSetViewFramebuffer()` function is created to allow users to assign the view id manually as mentioned in #1095.
2017-03-26 11:03:52 +08:00
Branimir Karadžić
837d92159a Rebuilt shaders. 2017-03-24 20:29:24 -07:00
jdryg
b23af90947 nvgRenderUpdateTexture() was reading past the end of the data buffer. 2017-03-24 11:59:16 +02:00
Branimir Karadžić
d3803c0b44 Set correct view for ImGuizmo. 2017-03-23 17:51:58 -07:00
Olli Wang
6c02e359bd Updates NanoVG to the latest commit.
This commit pulls more changes that was not included in #1088.
2017-03-24 00:14:01 +08:00
Branimir Karadžić
7f847d9af0 Cleanup. 2017-03-22 19:19:35 -07:00
Olli Wang
4bdaf42ccf Updates NanoVG to the latest commit.
This commit updates NanoVG's bgfx backend to match the original NanoVG's latest commit, which has significant changes about composite operation implementation as mentioned in pull request https://github.com/memononen/nanovg/pull/312.
2017-03-23 00:23:20 +08:00
Dario Manesku
35323725e9 Don't force stb image loader to use RGBA8. 2017-03-14 14:28:11 +01:00
Dario Manesku
ccbb067746 Typo fixes in image loading code. (#1074) 2017-03-12 10:56:40 -07:00
Branimir Karadžić
a60095c1b6 Updated shaders. 2017-03-11 15:02:37 -08:00
Branimir Karadžić
e2363f2b38 Cleanup. 2017-03-09 21:35:41 -08:00
Branimir Karadžić
25dd8377d5 examples/common: Cleanup dealing with textures. 2017-03-09 21:20:45 -08:00
Libor Čapák
8164e32fd7 TextMetrics includes \n (#1063)
there is no reason to break;
2017-03-05 10:19:42 -08:00
Branimir Karadžić
1444704901 Cleanup. 2017-03-02 19:29:34 -08:00
Branimir Karadžić
86fc54ccfc Added ability to specify swap chain for screenshot. 2017-03-02 18:02:14 -08:00
Branimir Karadžić
65f2b998ff Updated shaders. 2017-02-24 19:43:40 -08:00
Branimir Karadžić
42d5871846 Updated font awesome to match icon font headers. 2017-02-24 19:24:46 -08:00
Branimir Karadžić
d96225a1f0 Fixing projection matrix in examples. 2017-02-22 22:26:39 -08:00
Branimir Karadžić
edbf8572d0 Fixed MinGW build. 2017-02-19 18:15:15 -08:00
Branimir Karadžić
de3d18a0f6 Fixed Emscripten build. 2017-02-18 00:10:32 -08:00
Libor Čapák
b57d8e22bd fix sdl entry + gamecontrollerdb.txt (#1048)
* missing bx/mutex.h include

* gamecontrollerdb.txt update
2017-02-17 09:37:04 -08:00
Branimir Karadžić
094c6a95d7 Cleanup. 2017-02-16 21:07:39 -08:00
Branimir Karadžić
55e3b56314 Cleanup. 2017-02-16 20:41:22 -08:00
Branimir Karadžić
61be03a1d3 Cleanup. 2017-02-15 22:24:49 -08:00
Branimir Karadžić
42a01f6f1a Cleanup. 2017-02-13 23:19:08 -08:00
Branimir Karadžić
98857222c2 Cleanup. 2017-02-13 22:09:51 -08:00
Libor Čapák
b0eac0a809 new function TextMetrics::clearText() (#1046) 2017-02-13 13:27:07 -08:00
Branimir Karadžić
d72aff9e5d Rebuilt shaders. 2017-02-11 10:30:16 -08:00
Branimir Karadžić
fab74e9c4a Cleanup. 2017-02-11 09:12:16 -08:00
Branimir Karadžić
bfe5a66b3e Cleanup. 2017-02-09 19:31:19 -08:00
Branimir Karadžić
7983b68047 Cleanup. 2017-02-08 20:29:38 -08:00
Branimir Karadžić
b99ebb9535 Cleanup. 2017-02-08 19:55:31 -08:00
Branimir Karadžić
64922762df Cleanup. 2017-02-06 16:22:08 -08:00
Branimir Karadžić
b1eb4098ee Fixed warning. 2017-02-01 21:51:53 -08:00
Branimir Karadžić
82ec67105f Cleanup. 2017-01-23 09:42:10 -08:00
Andrew Copland
19770a8f20 Updating code to match bx changes. (#1028) 2017-01-22 08:52:31 -08:00