Commit Graph

1839 Commits

Author SHA1 Message Date
Branimir Karadžić
47f100d70f Fixed compute buffer. 2014-12-10 21:09:13 -08:00
Branimir Karadžić
19ad953546 Merge pull request #205 from attilaz/master
fixed crash on iOS
2014-12-10 14:15:47 -08:00
Attila Kocsis
4a7a9bc4a3 fixed crash on iOS 2014-12-10 22:38:50 +01:00
Branimir Karadžić
1f96070f28 Cleanup. 2014-12-09 23:19:53 -08:00
Branimir Karadžić
ad47659669 Added compute buffer support. 2014-12-09 23:16:27 -08:00
Branimir Karadžić
3fca947ad0 Updated README. 2014-12-06 18:19:20 -08:00
Branimir Karadžić
1a5dae9862 Fixed issue #200. 2014-12-06 18:12:40 -08:00
Branimir Karadžić
69469388a0 Updated README. 2014-12-06 16:06:38 -08:00
Branimir Karadžić
6ca52c5c10 Updated GENie script. 2014-12-06 12:52:14 -08:00
Branimir Karadžić
4bde27dc19 Fixed compiler error. 2014-12-05 20:29:41 -08:00
Branimir Karadžić
878cbd41bd shaderc: Added shader strip. 2014-12-05 20:28:15 -08:00
Branimir Karadžić
18e9c30a0c Updated OVR SDK 0.4.4. 2014-12-05 19:17:59 -08:00
Branimir Karadžić
254efb5a3d Added bgfx::dbgTextImage API for drawing directly into debug text buffer. 2014-12-04 20:32:19 -08:00
Branimir Karadžić
584a32038f Cleanup. 2014-12-04 19:56:19 -08:00
Branimir Karadžić
1f696d2f7f DX11: Fixed device creation flags. 2014-12-04 19:35:01 -08:00
Branimir Karadžić
8cd9551f26 shaderc source split into multiple files. 2014-12-03 20:16:20 -08:00
Branimir Karadžić
cafe34ee2f Merge branch 'master' of github.com:bkaradzic/bgfx 2014-12-02 20:33:23 -08:00
Branimir Karadžić
a7290afc4f DX11: Fixed screen shot. 2014-12-02 20:28:14 -08:00
Branimir Karadzic
54f0c36c21 Merge branch 'master' of github.com:bkaradzic/bgfx 2014-12-01 08:21:46 -08:00
Branimir Karadzic
38f340b540 Fixed issue #197. 2014-12-01 08:21:13 -08:00
Branimir Karadzic
ca0e5ffb08 Fixed issue#197. 2014-12-01 08:20:38 -08:00
Branimir Karadžić
3e4b82e7fe Fixed typo. Issue #196. 2014-11-30 09:06:47 -08:00
Branimir Karadžić
7c1c180243 Fixed compile error. 2014-11-30 00:03:02 -08:00
Branimir Karadžić
e3cb3710f8 Updated EDTAA3 license. 2014-11-29 16:43:42 -08:00
Branimir Karadžić
595e63d3e3 Merge pull request #193 from dariomanesku/master
Removed redundant NOMINMAX define as it's now defined in 'bx/platform.h'...
2014-11-25 20:17:51 -08:00
Dario Manesku
984463c773 Removed redundant NOMINMAX define as it's now defined in 'bx/platform.h'. 2014-11-26 05:13:40 +01:00
Branimir Karadzic
8ff44ece56 Fixed build. 2014-11-23 21:41:53 -08:00
Branimir Karadzic
bb0a305333 shaderc: Added error message with input source file is not found. 2014-11-23 09:37:13 -08:00
Branimir Karadžić
7dd1e263b8 Merge pull request #189 from dariomanesku/master
Imgui updates.
2014-11-22 23:06:21 -08:00
Branimir Karadžić
1e540003fc Merge pull request #190 from MikePopoloski/master
Fixing a few issues I ran into
2014-11-22 23:03:11 -08:00
Dario Manesku
8777b44e59 NVG now flushes on imguiEndArea(). 2014-11-23 01:17:51 +01:00
Dario Manesku
eb2fd71664 Added imguiSetCurrentScissor(). 2014-11-23 01:07:58 +01:00
Dario Manesku
116f2179a4 Adding _size parameter for imguiColorWheel. 2014-11-23 00:44:38 +01:00
Dario Manesku
5c5464c381 Making imguiTabs look better when disabled. 2014-11-23 00:13:38 +01:00
Dario Manesku
07b9760583 Turning on nvg scissor in imguiScroll. 2014-11-23 00:12:31 +01:00
Mike Popoloski
3c04ad2d4c Fixing warnings about locals shadowing others of the same name. At least one of these was an actual bug. 2014-11-22 17:34:09 -05:00
Mike Popoloski
8af790201f D3D_FEATURE_LEVEL_11_2 isn't actually a thing. The D3D11.2 features are checked explicitly instead of using a feature level. 2014-11-22 17:13:14 -05:00
Mike Popoloski
7b2f725645 Fixing compile error. It seems like these should be fabs instead of abs anyway... 2014-11-22 17:12:00 -05:00
Dario Manesku
0d19fe5750 Making imguiCollapse more aesthetically pleasing. 2014-11-22 21:11:31 +01:00
Dario Manesku
1e2bdaf13a Making imguiImageChannel properly handle newly introduced _enabled parameter. 2014-11-22 20:26:34 +01:00
Dario Manesku
dd06ab01e1 Added _enabled parameter for imguiImage. 2014-11-22 19:51:20 +01:00
Dario Manesku
e126781412 Making imgui scroll behave properly. 2014-11-22 19:51:19 +01:00
Branimir Karadzic
36e02361d1 Fixed bad include path. 2014-11-20 16:51:14 -08:00
Branimir Karadžić
cf7b1542d2 Merge pull request #187 from SmilyOrg/patch-2
Fix for crash with too many lines / vertices
2014-11-20 16:48:32 -08:00
Branimir Karadžić
2e24c7cc3e Merge pull request #186 from SmilyOrg/patch-1
Fix for convexFill crash when path fillCount is 0
2014-11-20 16:47:53 -08:00
Branimir Karadžić
68ef25a1aa Merge pull request #185 from dariomanesku/master
Minor imgui update.
2014-11-20 16:47:18 -08:00
Miha Lunar
e5da24f490 Fix for crash when too many lines / vertices
When a lot of lines are being drawn, this can overflow the vertex buffer, causing a crash in `nvgRenderFlush`. While the underlying code handles this case in an okay manner (truncating the vertex buffer instead of crashing), the `nvgRenderFlush` code is missing a check for this case, causing it to think it has more space than was allocated.

I tried to fix it with multiple buffers as mentioned in #160, however it seems more complex than it appears. This fix just makes it truncate the output according to the actual allocated amount of bytes in the vertex buffer, so it doesn't crash at least.
2014-11-21 00:57:33 +01:00
Miha Lunar
6c6a550fd6 Fix for convexFill crash when path fillCount is 0
In our situation, the crash happened due to the view dimensions being reset to 0x0 after minimizing the window. This translated to fillCount of a path ending up at 0, which makes `fan` crash as it computes number of tris to -2 of fillCount. Since `numTris` is unsigned, this could lead to terrible things, but luckily it crashes soon.

There might be a cleaner fix for this further up the call stack, but this is a good solution in the meanwhile.
2014-11-21 00:39:04 +01:00
Branimir Karadzic
472ee8f27e Updated README. 2014-11-20 09:43:42 -08:00
Dario Manesku
b9bd605edc Added overload for imguiTabs() and fixed va_arg warning. 2014-11-20 18:43:27 +01:00