Commit graph

637 commits

Author SHA1 Message Date
Branimir Karadžić
1a765e9646 Cleanup. 2014-10-14 21:36:05 -07:00
Branimir Karadžić
7fa124eeab Fixed alignment macro. 2014-10-13 21:31:18 -07:00
Branimir Karadžić
8f6495be0b SDL2: Fixed args. 2014-10-12 16:41:15 -07:00
Branimir Karadžić
8dc34db44a SDL2: Fixed mouse button. 2014-10-12 14:04:06 -07:00
Branimir Karadžić
cd2d643522 Cleanup. 2014-10-12 11:51:58 -07:00
Branimir Karadzic
42c9dafd03 Cleanup. 2014-10-12 11:41:04 -07:00
Branimir Karadžić
8abed27c0c Added SDL2_DIR when using --with-sdl GENie config. 2014-10-12 09:58:06 -07:00
Branimir Karadzic
e063661e95 SDL2: Moved renderer to main thread. Added --with-sdl GENie option. 2014-10-11 21:55:24 -07:00
Branimir Karadzic
12c3508aa2 Fixed clang warning. 2014-10-11 20:59:46 -07:00
Branimir Karadžić
757df73eb5 SDL2: Added multiwindow support to entry_sdl. 2014-10-11 20:42:42 -07:00
Branimir Karadžić
4a1a31b538 Updated glsl-optimizer. 2014-10-11 12:32:43 -07:00
Branimir Karadžić
7dd004b82b NaCl: Fixed compile error due to quad define in sys/types.h. 2014-10-10 23:36:03 -07:00
Dario Manesku
48ce6bb5ff Added custom mtxProj() call to properly handle OGL NDC. 2014-10-06 07:25:33 +02:00
Dario Manesku
ba9651cb57 18-ibl now makes use of clickable imguiCube(). 2014-10-06 07:25:32 +02:00
Dario Manesku
d25990487e Added return value for imguiCube(). 2014-10-06 07:25:31 +02:00
Branimir Karadžić
657234f002 Fixed comments. 2014-10-05 00:18:07 -07:00
Branimir Karadžić
cc16fa3aa3 Fixed imguiCube scissor. 2014-10-04 18:11:10 -07:00
Branimir Karadžić
c9614914fd Rebuilt imgui cubemap shader. 2014-10-03 20:07:38 -07:00
Branimir Karadzic
51268e11a0 Added lod to imgui cubemap shader. 2014-10-03 14:19:39 -07:00
Branimir Karadžić
096f9d2bf9 Cleanup. 2014-10-02 21:35:32 -07:00
Branimir Karadžić
e037b7cc7b Added missing shader. 2014-10-02 21:29:14 -07:00
Dario Manesku
45a54db6f5 Added imguiCube(). 2014-10-03 05:32:22 +02:00
Branimir Karadzic
b9d509763e Fixed compile error. 2014-10-02 20:10:12 -07:00
Branimir Karadzic
0aba867510 x11: Create/destroy window code. 2014-10-02 19:52:43 -07:00
Branimir Karadzic
8dab207b36 OSX: Fixed window resize. 2014-10-01 20:25:56 -07:00
Branimir Karadžić
1b5454bd51 Fixed 22-windows example. 2014-09-30 22:20:16 -07:00
Branimir Karadžić
bb9a35e809 Win: Don't let OS destroy window. Fixes issue #162. 2014-09-30 19:04:24 -07:00
Branimir Karadzic
2850924e95 Merge branch 'master' of github.com:bkaradzic/bgfx 2014-09-28 13:36:30 -07:00
Branimir Karadzic
af86d1b02d OSX: Added more key translation. 2014-09-28 13:36:23 -07:00
Branimir Karadžić
80f2044a7c Cleanup. 2014-09-28 11:03:47 -07:00
Dario Manesku
e051ed4feb Removed bgfx::*Mask() API. 2014-09-27 20:43:28 +02:00
Dario Manesku
9a42955f6e Added _originBottomLeft parameter for imguiImage(). 2014-09-27 20:43:28 +02:00
Dario Manesku
651b5b6fb5 Reordering imgui functions. 2014-09-27 20:43:27 +02:00
Branimir Karadžić
fc371fc24c Removing use of setView*Mask API. 2014-09-27 11:31:04 -07:00
Miha Lunar
78746c8972 Merged fixed allocation for paths from nanovg 2014-09-25 13:23:51 +02:00
Branimir Karadzic
22614cf946 x11: Post size event when initializing window. 2014-09-24 21:05:48 -07:00
bkaradzic
e60863e301 Fixed warning: array subscript is of type 'char' [-Wchar-subscripts]. 2014-09-24 16:06:11 -07:00
Daniel Collin
874790838c Added inital mouse and keyboard support for OSX 2014-09-24 22:25:16 +02:00
Branimir Karadžić
f4c7f69ed7 Added swap chain caps. 2014-09-23 20:35:39 -07:00
bkaradzic
dd5492c29a OSX: Clear window after initialization. 2014-09-23 08:11:25 -07:00
Branimir Karadžić
3d3a725812 DX9: Fixed swap chain depth creation. 2014-09-22 23:00:42 -07:00
Branimir Karadžić
59ba895727 Windows: Clear window after initialization. 2014-09-22 22:03:41 -07:00
Branimir Karadzic
e0ab81d387 x11: Clear window after initialization. 2014-09-22 20:37:49 -07:00
Branimir Karadžić
de3d152b9c Added multiple windows example. 2014-09-22 19:34:10 -07:00
Branimir Karadžić
892262f419 Fixed Blendish warnings. 2014-09-21 19:34:28 -07:00
Branimir Karadžić
c40cf1f4f5 Updated Blendish to latest. 2014-09-21 19:34:02 -07:00
Branimir Karadžić
f5c0ba3850 Updated Blendish to latest. 2014-09-21 19:32:21 -07:00
bkaradzic
981429d3a1 Merge branch 'master' of github.com:bkaradzic/bgfx 2014-09-21 09:53:02 -07:00
bkaradzic
205b2a37ab Fixed SDL2 entry. 2014-09-21 09:52:55 -07:00
Dario Manesku
60f3b73d01 Fixing scroll bug that was introduced with the previous imgui commit. 2014-09-21 12:28:11 +02:00
Dario Manesku
3a1b16f8a5 Major imgui update. Imgui area and scroll are now separated. Also there are other minor aditions and improvements. 2014-09-20 21:39:12 +02:00
bkaradzic
98c62f2687 Fixed iOS entry. 2014-09-19 10:37:52 -07:00
bkaradzic
5ae9de7482 Fixed OSX entry. 2014-09-19 10:33:13 -07:00
Branimir Karadzic
72892c7179 Fixed x11. 2014-09-19 08:57:35 -07:00
Branimir Karadžić
2111974c80 Multiple window support WIP. 2014-09-18 22:32:33 -07:00
Branimir Karadžić
c627e55451 Fixed issue #149. 2014-09-13 21:23:23 -07:00
Branimir Karadžić
eec4ae9847 Fixing paths. 2014-09-10 21:48:08 -07:00
bkaradzic
529b9274a5 Cleanup. 2014-09-03 00:29:54 -07:00
Branimir Karadžić
889af211fe Updated MRT examples to use MRT clear API. 2014-09-01 13:24:30 -07:00
Branimir Karadžić
24fd1e4868 Cleanup. 2014-08-28 20:33:31 -07:00
bkaradzic
931d7f3196 Fixed clang warning. 2014-08-27 20:10:39 -07:00
Branimir Karadžić
ae9da4b2a6 Fixed alignment. 2014-08-25 19:32:20 -07:00
Branimir Karadzic
8cadf56148 Cleanup. 2014-08-24 18:55:18 -07:00
Branimir Karadžić
140e990ab4 Added RaspberryPi platform. 2014-08-24 17:41:41 -07:00
Branimir Karadžić
612eb2f7ed Fixed uniform leak at shutdown. 2014-08-23 10:37:34 -07:00
bkaradzic
660f86065f Fixed compile errors. 2014-08-22 19:29:54 -07:00
m.milanovic@levi9.com
5aaddfccb9 Use tinystl/unordered_map instead of c++11 only implementation 2014-08-22 16:35:30 +02:00
m.milanovic@levi9.com
1baf1c0734 Fixed one more undefined defines errors. 2014-08-22 16:32:13 +02:00
Branimir Karadžić
74c19cce1b Cleanup. 2014-08-21 22:29:08 -07:00
Branimir Karadžić
8cbc06e7bf Cleanup. 2014-08-20 21:54:44 -07:00
Branimir Karadžić
ed883bec36 Fixed SAL define and MinGW standard library argument collision. 2014-08-20 21:48:17 -07:00
Branimir Karadžić
9941475010 Fixed initializer order warning. 2014-08-20 21:39:56 -07:00
Dario Manesku
b7177c9f5e Cleanup. 2014-08-18 21:26:08 +01:00
Dario Manesku
7ec6e06fee Removed flipV from 14-shadowvolumes example. 2014-08-18 20:18:48 +01:00
Branimir Karadžić
35a349ad68 Rebuilt shaders. 2014-08-17 23:31:46 -07:00
Branimir Karadžić
66890595b9 Added serialization for vertex decl attribute enums. Binary format changes. Rebuilt all meshes and shaders. 2014-08-17 17:20:15 -07:00
Branimir Karadžić
d33717ef48 Moved mesh files to assets directory. 2014-08-16 20:27:36 -07:00
bkaradzic
c56b7ad261 Fixed GCC warnings. 2014-08-15 19:14:17 -07:00
bkaradzic
3e6605a2c5 Cleanup. 2014-08-15 15:03:17 -07:00
Branimir Karadžić
20906bda03 Replaced embedded missing texture with procedural texture. 2014-08-13 19:48:58 -07:00
Dario Manesku
ef4c57b7a9 Added macro definitions for imguiTabs() parameters. 2014-08-12 22:04:56 +01:00
Dario Manesku
63d7db800c Added imgui getters for widgetX and widgetY. 2014-08-12 21:41:24 +01:00
Dario Manesku
eec6e82c29 SetWindowTitle() on Windows now changes start menu title as well. 2014-08-12 21:30:20 +01:00
Dario Manesku
2701efa60a Reverting back imguiLabel() spacing parameters. 2014-08-12 21:22:23 +01:00
Dario Manesku
b5abdcb24b Tuning up imguiInput(). 2014-08-12 21:22:23 +01:00
Dario Manesku
83587d51d0 Draw parameters fixup for imguiTabs(). 2014-08-12 21:22:23 +01:00
Dario Manesku
e4a067efe6 Fixing border pixel scissor. 2014-08-12 21:22:22 +01:00
Dario Manesku
f3fb007471 Fixed imgui scroll value handling on window resize. 2014-08-12 21:22:22 +01:00
Dario Manesku
7225bba1a1 Tuning imgui spacing parameters. 2014-08-12 21:22:21 +01:00
Dario Manesku
677ef2d6c5 Exposing optional imguiButton() color parameter. 2014-08-12 21:22:21 +01:00
Dario Manesku
d64a62866a Imgui scroll fix for variable scrollable area height. 2014-08-12 21:22:20 +01:00
Dario Manesku
9715d6fab4 Added macro constants for default imgui parameters. 2014-08-12 21:22:20 +01:00
Dario Manesku
3f25e22df2 Removed imguiImageSwizzle() and added imguiImageChannel(). 2014-08-12 21:22:20 +01:00
Dario Manesku
6e69a02906 Added optional parameter for imguiInput(). 2014-08-12 21:18:53 +01:00
Dario Manesku
4501e17f4b Added optional parameter for imguiEndScrollArea(). 2014-08-12 21:18:52 +01:00
Dario Manesku
762c423b42 Added optional parameter for imguiButton(). 2014-08-12 21:18:52 +01:00
Dario Manesku
c2b0ee89cb Reordering imguiBeginScrollArea() parameters. 2014-08-12 21:18:52 +01:00
Dario Manesku
06d6176392 Added overload for imguiTabs() with look customization parameters. 2014-08-12 21:18:51 +01:00
Dario Manesku
fcc642483f Added imguiLabel() overload. 2014-08-12 21:18:51 +01:00
Dario Manesku
0c7dea6cb3 Minor imgui fixes. 2014-08-12 21:18:50 +01:00