Commit Graph

1726 Commits

Author SHA1 Message Date
Branimir Karadžić
6e7e761a3b Cleanup. 2018-03-10 15:01:22 -08:00
Branimir Karadžić
969cc7c8b8 Cleanup. 2018-03-10 14:27:32 -08:00
Branimir Karadžić
628e2fcab7 Removed dummy z-only pass fragment shader (null fragment shader is supported now). 2018-03-06 19:53:37 -08:00
Branimir Karadžić
2250f45510 Updated shaders. 2018-03-06 19:49:20 -08:00
Branimir Karadžić
d1a34aabe4 Cleanup. 2018-03-06 19:48:33 -08:00
Branimir Karadžić
5c07a62164 Fixed issue #1346. 2018-03-06 19:48:13 -08:00
Branimir Karadžić
9422aec753 Cleanup. 2018-03-05 20:24:03 -08:00
Branimir Karadžić
fa7a871ca7 Cleanup. 2018-03-04 22:11:38 -08:00
Branimir Karadžić
aeeae5454f Fixed OSX build. 2018-03-04 21:44:08 -08:00
Branimir Karadžić
5d2f256dc4 Cleanup. 2018-03-04 21:33:21 -08:00
Branimir Karadžić
14e14c12a5 Removed unused function. 2018-03-04 17:29:35 -08:00
Branimir Karadžić
c69135aff1 Cleanup. 2018-03-04 16:51:43 -08:00
Branimir Karadžić
fb2b2069a6 37-gpudrivenrendering: Added screenshot. 2018-03-04 16:44:41 -08:00
Branimir Karadžić
bcc5cf8539 Fixed MSVC warnings. 2018-03-04 16:23:51 -08:00
Branimir Karadžić
00a53d6d1b Fixed GCC build. 2018-03-04 16:21:23 -08:00
Branimir Karadžić
2fe1e65322 37-gpudrivenrendering: Added shaders. 2018-03-04 16:11:32 -08:00
Branimir Karadžić
90aadf835b 37-gpudrivenrendering: Fixed GL shaders. 2018-03-04 16:11:05 -08:00
KostasAAA
e474666a55 Initial commit of gpu occlusion culling with multidraw indirect example (#1344) 2018-03-04 15:02:42 -08:00
Branimir Karadžić
b4229e4a17 Cleanup. 2018-03-01 17:30:28 -08:00
Branimir Karadžić
15485134f7 Updated nanovg. 2018-03-01 09:05:54 -08:00
Branimir Karadžić
b08e985508 OSX: Fixed title bar. 2018-02-26 07:55:43 -08:00
Branimir Karadžić
3fbfd16f29 OSX: Fixed warnings. 2018-02-20 13:20:45 -08:00
Branimir Karadžić
4b78939317 Removed use of wchar_t. 2018-02-17 12:27:07 -08:00
Branimir Karadžić
3798bb7105 Updated ImGui. 2018-02-16 18:21:19 -08:00
Rico P
01e7b1ccf5 add missing return statement (#1335)
I had to fix this, because my linker was complaining
2018-02-16 08:48:27 -08:00
Branimir Karadžić
584b8b34f0 Added support for independent RGB channel write control. 2018-02-13 12:35:23 -08:00
Branimir Karadžić
19e7ea2cba Fixed issue #1329. 2018-02-11 22:48:16 -08:00
Branimir Karadžić
3a8857654f Added ability to set offset in instance data buffer. 2018-02-10 15:36:32 -08:00
Branimir Karadžić
c6f03ab6a3 Cleanup. 2018-02-06 21:39:50 -08:00
Branimir Karadžić
adfe3b002b Cleanup. 2018-02-06 21:35:36 -08:00
Branimir Karadžić
e8658e7c06 Cleanup. 2018-02-06 21:33:50 -08:00
Branimir Karadžić
f45d010b90 Updated ImGui. 2018-02-06 13:24:05 -08:00
Branimir Karadžić
0190e5543d Cleanup. 2018-02-01 19:38:55 -08:00
knightlyj
9f4260e54d Example bug fixed: ImGui::End() should be called whether ImGui::Begin() return true or false (#1325) 2018-01-31 09:51:27 -08:00
Johan Sköld
76442f2f29 Fixing macOS build. (#1324)
- Fixing compiler errors from C functions with missing argument lists.
- Silencing warning about -Wunused-but-set-variable being unknown.
- Silencing warnings about comma mis-use.
- Silencing warning about implicit cast from unsigned to int.
2018-01-30 21:47:27 -08:00
Branimir Karadžić
b781fe4dff Cleanup. 2018-01-27 20:03:37 -08:00
Branimir Karadžić
ad68f462fe Cleanup. 2018-01-27 17:12:11 -08:00
Branimir Karadžić
325dc2a145 Cleanup. 2018-01-25 21:46:35 -08:00
Branimir Karadžić
d04301dfda Fixed VGA color order, and clarified docs. 2018-01-25 20:34:17 -08:00
Branimir Karadžić
b4338ce0d2 Cleanup. 2018-01-19 17:07:03 -08:00
Branimir Karadžić
1a90c93458 Cleanup. 2018-01-17 21:05:14 -08:00
Branimir Karadžić
0d2fc80372 Cleanup. 2018-01-17 17:34:20 -08:00
Branimir Karadžić
49a75f2fb1 bx math API cleanup. 2018-01-13 15:33:50 -08:00
Branimir Karadžić
e38c7bfaec Updated embedded shaders. 2018-01-13 11:55:27 -08:00
Branimir Karadžić
e7e28151c1 Cleanup. 2018-01-12 10:03:59 -08:00
Branimir Karadžić
5433fc084e Cleanup. 2018-01-11 23:28:36 -08:00
Branimir Karadžić
d8643b5b2f Updated ImGui. 2018-01-11 22:10:53 -08:00
Branimir Karadžić
723503d917 Fixed warning. 2018-01-11 21:29:26 -08:00
Branimir Karadžić
50043c4580 29-debugdraw: Added custom geometry. 2018-01-11 20:50:45 -08:00
Branimir Karadžić
8f6da81bb6 debugdraw: Added support for custom geometry. 2018-01-11 00:14:36 -08:00
Branimir Karadžić
03e84603e8 Cleanup. 2018-01-09 17:14:27 -08:00
XingYi Hu
b2346a04c5 Fix OSX initial window size event. (#1311)
The height returned by contentRectForFrameRect is not exactly the same as the ENTRY_DEFAULT_HEIGHT if the screen size is not big enough.
For example, on my Mac, rect.height equals 702, which is 18 less than ENTRY_DEFAULT_HEIGHT(720).
This will cause the imgui’s cord system offset by 18, so even the cursor is not on the button, the imgui will still think the mouse is hover the button, also, the top of imgui’s window will also offset a little bit.
However, these symptom will gone when the window is resized.
In short, this fix unify the behavior of window size event in initial state with resize.
2018-01-09 09:53:50 -08:00
Branimir Karadžić
ae6f46d2a8 Fixed build. 2018-01-08 21:51:55 -08:00
Branimir Karadžić
e77b993a25 debugdraw: Added arbitrary mesh rendering. 2018-01-08 17:54:15 -08:00
Branimir Karadžić
60bd34b520 Fixed issue #1309. 2018-01-08 09:54:34 -08:00
Branimir Karadžić
0093775508 texturev: Added support for drop file. 2018-01-04 13:05:36 -08:00
Branimir Karadžić
37949c91f1 Cleanup. 2018-01-03 23:35:42 -08:00
Branimir Karadžić
8c91699678 entry: Drop file event for SDL. 2018-01-03 22:49:10 -08:00
Branimir Karadžić
d616ed345b entry: Drop file event for GLFW. 2018-01-03 21:58:37 -08:00
Branimir Karadžić
97e6c498a8 entry: Added drop file event WIP. 2018-01-03 21:37:42 -08:00
Branimir Karadžić
49b5c55610 Fixed SDL build. 2018-01-02 21:41:36 -08:00
Branimir Karadžić
ed00c24f6f texturev: Allow arbitrary window size. 2018-01-02 19:15:04 -08:00
Branimir Karadžić
f44c8e2b14 Happy New Year! 2018-01-01 11:16:06 -08:00
Branimir Karadžić
276bff9cb4 Cleanup. 2018-01-01 11:00:24 -08:00
Branimir Karadžić
1763179536 Fixed issue #1302. 2018-01-01 10:54:29 -08:00
James Fulop
6aa7c87758 Samples cleanup. Bringing debug text back on some samples, rearranging debug drawing around ImGui Example Dialog. Fix mouse state trampling in 22-windows. (#1300) 2017-12-27 11:41:40 -08:00
Branimir Karadžić
ecad7173d0 D3D12: Fixed 3D texture upload. 2017-12-20 11:11:02 -08:00
Branimir Karadžić
963aa2cac9 D3D12 UWP fixes. 2017-12-16 19:01:56 -08:00
Branimir Karadžić
0a3637fa27 Cleanup. 2017-12-14 20:59:31 -08:00
Branimir Karadžić
f7fea65bec Removed obsolete platforms. 2017-12-14 20:40:30 -08:00
Branimir Karadžić
e69f69e0cd D3D12: Cleanup. 2017-12-14 17:51:55 -08:00
Branimir Karadžić
0d1cf61bb1 Fixed UWP build. 2017-12-13 23:40:39 -08:00
Branimir Karadžić
9d2578e2cb Updated ImGui. 2017-12-12 08:54:29 -08:00
Branimir Karadžić
88e0bab5a1 D3D11: Detect color spaces. 2017-12-05 17:31:07 -08:00
Branimir Karadžić
fd93f4ba7b Cleanup. 2017-12-04 18:57:57 -08:00
Branimir Karadžić
797658b570 Cleanup. 2017-12-03 21:43:43 -08:00
Branimir Karadžić
1d55878181 Cleanup. 2017-12-03 19:43:34 -08:00
Branimir Karadžić
6adb0090d0 Added resource stats. 2017-12-03 19:42:06 -08:00
Branimir Karadžić
547d1d2b11 Cleanup. 2017-12-02 18:15:31 -08:00
Branimir Karadžić
907f835881 Removed use of obsolete ImGui API. 2017-12-01 21:04:27 -08:00
Miodrag Milanović
46e94d6e92 Do not use IMGUI deprecated calls (#1283) 2017-12-01 07:55:14 -08:00
Branimir Karadžić
624c050047 texturev: Added separate MSDF shader. 2017-11-29 21:06:14 -08:00
Branimir Karadžić
1ce463082b Fixed static init order issue. 2017-11-28 22:23:46 -08:00
Branimir Karadžić
f88c44a835 Cleanup. 2017-11-28 08:44:47 -08:00
Branimir Karadžić
f3ee8855fa Use ImGui new default dark/light style instead setting it up. 2017-11-28 08:21:18 -08:00
Branimir Karadžić
7a1e4637e3 Cleanup. 2017-11-27 23:10:34 -08:00
Branimir Karadžić
e7bcae2dfd Cleanup. 2017-11-27 19:44:27 -08:00
Branimir Karadžić
3533da7225 Fixed view id remapping. 2017-11-27 16:34:27 -08:00
Branimir Karadžić
7384171900 Fixed view id remapping. 2017-11-27 15:57:31 -08:00
Branimir Karadžić
b3fcc8350b Fixed issue #1281. 2017-11-27 09:06:57 -08:00
Branimir Karadžić
77c00da989 Changed API to use ViewId (uint16_t) instead of uint8_t. 2017-11-24 11:21:51 -08:00
Branimir Karadžić
2c7a1e5755 Cleanup. 2017-11-20 21:43:00 -08:00
Branimir Karadžić
cb9263b689 Updated ImGui. 2017-11-20 08:29:10 -08:00
Branimir Karadžić
899f72ae29 OSX: Fixed Key::Return. 2017-11-16 17:51:34 -08:00
Branimir Karadžić
bd9c62c310 GLFW: Fixed build. 2017-11-15 20:20:19 -08:00
Branimir Karadžić
e49a176d7e Cleanup. 2017-11-14 22:10:07 -08:00
Branimir Karadžić
690f232c09 Cleanup. 2017-11-09 21:14:37 -08:00
Branimir Karadžić
31b1712e7c Cleanup. 2017-11-09 20:29:47 -08:00
Branimir Karadžić
d2d4c8aebb Cleanup. 2017-11-09 20:21:56 -08:00
Branimir Karadžić
05e550c2b2 Fixed build. 2017-11-04 15:49:02 -07:00