Commit graph

626 commits

Author SHA1 Message Date
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
Dario Manesku
6388d1a657 Added optional _r (corner radius) parameter for imguiBeginScrollArea(). 2014-08-12 21:18:50 +01:00
Dario Manesku
a7cc06499b Fine tuning imguiScrollArea sizes. 2014-08-12 21:18:50 +01:00
Dario Manesku
20f09a01a9 Fixing imguiTabs() indentation problem. 2014-08-12 21:18:49 +01:00
Dario Manesku
b18e29a930 Added optional parameters for imguiIndent(). 2014-08-12 21:18:49 +01:00
Branimir Karadžić
c89c5d2ca9 Cleanup. 2014-08-11 22:02:46 -07:00
Branimir Karadžić
376668a4b6 Rebuilt shaders. 2014-08-11 20:36:42 -07:00
Branimir Karadžić
91715c7b06 Cleanup. 2014-08-10 12:17:34 -07:00
Branimir Karadžić
e71791a02c Display example executable name in window title. 2014-08-10 10:31:24 -07:00
Dario Manesku
65f5faceec Making setWindowTitle() on Windows thread safe. 2014-08-10 16:53:14 +01:00
Dario Manesku
2b01f8a874 Function setWindowTitle() now returns void. 2014-08-10 16:53:14 +01:00
Dario Manesku
1c16d97c27 Fixing imgui scroll area scissoring. 2014-08-10 16:53:14 +01:00
Dario Manesku
9f31587b09 Added optional _height param for imguiSeparator() and imguiSeparatorLine(). 2014-08-10 16:53:13 +01:00
Dario Manesku
b9af3544ad Added imguiTabs(). 2014-08-10 16:53:13 +01:00
Dario Manesku
6e3f21f062 Added imguiBorderButton(). 2014-08-10 16:53:12 +01:00
Dario Manesku
1f884a588e Added imguiImageSwizzle(). 2014-08-10 16:53:12 +01:00
Dario Manesku
1391939151 Fixed drawText() to handle NULL or empty string. 2014-08-10 16:53:11 +01:00
Dario Manesku
52afe0f433 Using imguiCollapse instead of imguiButton for imguiColorWheel. 2014-08-10 16:53:11 +01:00
Branimir Karadzic
c94e5122d6 Fixed GCC warning. 2014-08-06 09:47:12 -07:00
Branimir Karadžić
f492d7d113 Mouse wheel fix. 2014-08-05 23:09:04 -07:00
Branimir Karadžić
8935d3009a Mouse wheel fix. 2014-08-05 22:37:47 -07:00
Branimir Karadžić
d18eb84263 Updated mouse wheel message. 2014-08-05 22:03:45 -07:00
Dario Manesku
5b49aea07a Unused local variable problem fixed. 2014-08-06 04:20:40 +01:00
Branimir Karadžić
0098be04d7 Added mouse wheel handling. 2014-08-05 21:13:50 -07:00
Branimir Karadžić
d536bb8c72 Fixed compile error. 2014-08-05 19:46:40 -07:00
Dario Manesku
2dd6b60d7e Cleanup. 2014-08-06 01:50:23 +01:00
Dario Manesku
78ea520d7d Exposing entry::KeyState to the user. 2014-08-06 01:50:23 +01:00
Dario Manesku
0baa2d46e6 Cleanup. 2014-08-06 01:50:22 +01:00
Dario Manesku
c143dba942 Added imguiInput(). 2014-08-06 01:50:22 +01:00
Dario Manesku
f1a7e1696d Added setWindowTitle(). 2014-08-06 01:50:22 +01:00
Branimir Karadžić
e782f2f873 Fixed preprocessor bug that trucnates macro arguments to first character when concatenating them. 2014-07-28 20:15:01 -07:00
bkaradzic
2b2c7857e8 Updated README. 2014-07-26 12:46:32 -07:00
Branimir Karadžić
2db00e3351 DX9: Fixed texture lod. 2014-07-12 16:41:51 -07:00
Dario Manesku
81c3875b9a Added create/set font for imgui. 2014-07-12 11:25:41 +01:00
Dario Manesku
ba8bdc572b Added lod parameter for imguiImage(). 2014-07-12 10:18:49 +01:00
Branimir Karadžić
607470f559 Updated 20-nanovg screenshot. 2014-07-08 20:42:10 -07:00
Branimir Karadžić
b1e202ef84 Cleanup. 2014-07-08 19:44:13 -07:00
Dario Manesku
101c2c3ba0 Added Blendish to 20-nanovg. 2014-07-08 20:57:05 +01:00
Dario Manesku
76ea9ca61c Cleanup. 2014-07-07 22:23:17 +01:00
Dario Manesku
dde03c6bee Added _enabled param for imguiBeginScrollArea(). 2014-07-07 20:53:36 +01:00
Dario Manesku
ef7289c0a6 Changed imguiImage() default _align param. 2014-07-07 20:53:35 +01:00
Branimir Karadžić
3b3120c04d Cleanup. 2014-07-06 22:14:20 -07:00
Dario Manesku
4957d23322 Added other alignment options for imguiImage(). 2014-07-05 04:33:00 +01:00
Branimir Karadžić
bbdd156e3e Cleanup. 2014-07-04 21:03:43 -07:00
Dario Manesku
44b84ab800 Added ImguiImageAlign::CenterIndented. 2014-07-05 01:50:11 +01:00
Dario Manesku
7c4d69b0a1 Added imguiImage(). 2014-07-05 01:10:49 +01:00
Branimir Karadžić
f9b17cc0ec Removed tokenizecmd. 2014-06-30 22:46:54 -07:00
Branimir Karadžić
b610a10217 Cleanup. 2014-06-29 22:20:31 -07:00
Branimir Karadžić
2b147081c4 Changed imguiSlider argument. 2014-06-29 21:53:23 -07:00
Branimir Karadžić
dc8b073172 Cleanup. 2014-06-28 21:56:10 -07:00
Branimir Karadžić
f412b8bc90 IMGUI: Fixed scroll area scissor. 2014-06-28 18:17:30 -07:00
Branimir Karadžić
ddda9e29b0 Cleanup. 2014-06-28 17:22:11 -07:00
Branimir Karadžić
167ec3e1bc Cleanup. 2014-06-28 11:54:30 -07:00
Branimir Karadžić
167a6717c5 Cleanup. 2014-06-27 21:47:33 -07:00
Branimir Karadžić
d1b6cc762c Display PPAPI version on startup. 2014-06-25 21:17:21 -07:00
Branimir Karadžić
0d8a51fe05 Merge branch 'master' of github.com:bkaradzic/bgfx 2014-06-23 20:10:00 -07:00
Branimir Karadžić
24d54b972e Cleanup. 2014-06-23 20:08:08 -07:00
Dario Manesku
4cc0d8e777 Added setViewRect inside nanovg. 2014-06-23 07:59:09 +01:00
Dario Manesku
1bff2388f9 Added imguiColorWheel to 18-ibl. 2014-06-23 07:47:14 +01:00
Dario Manesku
36714f7bcf Cleanup. 2014-06-23 07:22:23 +01:00
Dario Manesku
a64762de1d Cleanup. 2014-06-23 07:06:13 +01:00
Dario Manesku
fbe9ecce12 Added option for imguiColorWheel to respect or ignore indentation. 2014-06-23 06:52:49 +01:00
Dario Manesku
5084649832 Added imguiColorWheel(). 2014-06-23 06:34:42 +01:00
Dario Manesku
48cbaf20ce Fixed scrollbar in imgui. 2014-06-23 06:34:42 +01:00
Dario Manesku
8c815f2f95 Added imguiReserve(). 2014-06-23 06:34:41 +01:00
Branimir Karadžić
0dde534598 Merge branch 'master' of github.com:bkaradzic/bgfx 2014-06-08 20:57:55 -07:00
Branimir Karadžić
0728b91bfa Workaround C4127 MSVC level 4 warning. 2014-06-08 20:57:39 -07:00
Andrew Copland
82ad57e3fc defining round function isn't required for vs2013 or newer. 2014-06-08 19:03:06 +01:00
Branimir Karadžić
c4b040a382 Cleanup. 2014-06-01 12:01:50 -07:00
Branimir Karadžić
1c917de7f9 Added C99 compatible header. 2014-05-31 00:18:45 -07:00
Branimir Karadžić
4f908ee911 Updated 07-callback example. 2014-05-27 20:05:13 -07:00
Branimir Karadžić
02e549bfec Moved fpumath to bx. 2014-05-26 19:31:37 -07:00
Branimir Karadžić
92190fcbbf Cleanup. 2014-05-26 17:28:28 -07:00
Branimir Karadžić
816860d38e Added AABB overlap test. 2014-05-26 16:55:46 -07:00
Dario Manesku
01c764d060 Fixed sin(y) sign in mtxRotateXY(). 2014-05-26 22:28:50 +01:00
Branimir Karadžić
b0d204c344 Added ability to choose renderer backend in runtime. 2014-05-26 14:09:26 -07:00
Branimir Karadžić
5cb963e9fd Updated README. 2014-05-23 21:24:55 -07:00
bkaradzic
c4a01b4456 Fixed warnings. 2014-05-21 20:51:14 -07:00
Branimir Karadžić
8cede52d91 Added 21-deferred example. 2014-05-21 20:33:12 -07:00
Branimir Karadžić
65cd3169db Cleanup. 2014-05-20 21:15:48 -07:00
Branimir Karadžić
1d82b0c07b Cleanup. 2014-05-19 22:08:35 -07:00
Branimir Karadžić
f91addf88a GL: Fixed HDR example. 2014-05-19 20:31:23 -07:00
Branimir Karadžić
84f38ee954 Cleanup. 2014-05-14 21:34:34 -07:00
bkaradzic
e29be87bd2 Cleanup. 2014-05-14 20:57:37 -07:00
Branimir Karadžić
bba2ef8031 Added predefined uniforms for inverted view/proj/viewproj matrices.
shaderc: Added raw shader support.
shaderc: Fixed uniform types.
2014-05-10 20:51:54 -07:00
Branimir Karadžić
ac925b00c8 Cleanup. 2014-05-03 15:18:28 -07:00
Branimir Karadžić
6dc6dd6148 Simplified allocator interface. 2014-05-01 10:15:41 -07:00
Branimir Karadžić
9970637bb4 Fixed 02-metaballs. 2014-05-01 10:09:47 -07:00
Branimir Karadžić
bf9ed535fc Updated README. 2014-04-30 22:27:30 -07:00
Branimir Karadžić
bc399eb317 Added SDF. 2014-04-30 21:57:05 -07:00
Branimir Karadžić
5dca5791c5 Fixed half texel offset in NanoVG for DX9. 2014-04-29 19:52:42 -07:00
Branimir Karadžić
c3afa94320 Fixed pixel ratio. 2014-04-28 23:25:24 -07:00
Branimir Karadžić
ed955ed149 Fixed VS2012 compile error. 2014-04-28 19:45:49 -07:00
bkaradzic
0ca66108b4 Fixed GCC errors. 2014-04-27 18:22:07 -07:00
bkaradzic
5b31ef54a2 Fixed compile error. 2014-04-27 08:49:09 -07:00
Branimir Karadžić
1cda6159c7 Added 20-nanovg example. 2014-04-26 23:50:11 -07:00
Branimir Karadžić
27c2a6e83b Fixed changed function. 2014-04-26 23:49:06 -07:00
Branimir Karadžić
c8442ebb40 Cleanup. 2014-04-16 22:24:31 -07:00
Branimir Karadžić
e39d280a31 Fixed 10-font example. 2014-04-16 22:11:14 -07:00
Branimir Karadžić
b09059c421 Merge pull request #88 from sgraham/win-cursor
Use NULL as instance when loading predefined icon/cursor
2014-04-16 21:18:42 -07:00
Scott Graham
69ad8504b0 Use NULL as instance when loading predefined icon/cursor 2014-04-16 21:03:36 -07:00
Branimir Karadžić
27f12fb738 Cleanup. 2014-04-16 19:51:25 -07:00
Branimir Karadžić
bc36c29f2a Added ability to retrieve uniforms used by shader. 2014-04-15 19:10:56 -07:00
Branimir Karadžić
36b3ccabfa Removed unused uniform. 2014-04-13 00:00:41 -07:00
Branimir Karadžić
f1a1212efc Fixed texture formats for iOS. 2014-04-12 21:25:38 -07:00
Branimir Karadžić
78475a30e6 Added ability to set start vertex when setting vertex buffer. 2014-04-10 22:09:17 -07:00
Branimir Karadžić
ea34b9476c Fixed GL texture sampler state. Issue#85 2014-04-09 21:23:27 -07:00
Attilaz
e2151d628c iOS
- set window size from screen size
- touch input ( WIP: it is not too responsive )
- file path set for resource loading
2014-04-06 14:58:21 +02:00
Branimir Karadžić
92c57b739f 01-cubes: fixed aspect ratio when window size changes. 2014-03-30 18:57:06 -07:00
Branimir Karadžić
85c5172a29 Changed GLES macro to use version number. 2014-03-29 23:12:15 -07:00
bkaradzic
32ca63bd93 Cleanup. 2014-03-29 19:58:24 -07:00
Branimir Karadžić
f436f79c10 Simplified API, removed difference between vertex and fragment shaders. 2014-03-29 19:42:57 -07:00