Commit Graph

5342 Commits

Author SHA1 Message Date
Lectem
7960b42c90 Fix shaderc leaks (#1313)
* Fix fcpp memory leaks

* Fix glsl_optimizer leaks
2018-01-13 10:08:03 -08:00
Branimir Karadžić
9be9848f9b Cleanup. 2018-01-12 22:18:18 -08:00
Branimir Karadžić
e4cde19f35 Fixed issue #1307. 2018-01-12 20:26:23 -08:00
Branimir Karadžić
9c4600e2e7 Cleanup. 2018-01-12 20:08:59 -08:00
Branimir Karadžić
56aacc4d99 Updated ImGui. 2018-01-12 18:29:32 -08:00
Branimir Karadžić
052948f173 Cleanup. 2018-01-12 16:38:54 -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ć
c0413c9103 DXGI: Display spec info. 2018-01-11 22:08:03 -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ć
50bc8c1de8 Updated ImGui. 2018-01-10 19:36:51 -08:00
Branimir Karadžić
9f3dfafbc2 D3D12: Fixed RTV desc. 2018-01-10 18:17:54 -08:00
Branimir Karadžić
b8f8370935 shaderc: Fixed depends option. 2018-01-10 16:47:43 -08:00
Branimir Karadžić
cfba15778e D3D12: Fixed shader patching. 2018-01-10 16:38:21 -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ć
d2a6439217 Updated ImGui. 2018-01-08 19:13:35 -08:00
Branimir Karadžić
a6617f7fdf Cleanup. 2018-01-08 19:05:21 -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ć
13d6399b9d Updated ImGui. 2018-01-07 15:59:23 -08:00
Branimir Karadžić
32dce22fff Updated glslang. 2018-01-06 10:58:38 -08:00
Branimir Karadžić
040742ba4c Updated ImGui. 2018-01-06 10:54:47 -08:00
Branimir Karadžić
6023a016c4 texturev: Fixed window resizing. 2018-01-05 16:43:38 -08:00
Branimir Karadžić
b103741c1a shaderc: Updated version. 2018-01-04 19:04:30 -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ć
0f339f7494 Updated ImGui. 2018-01-03 20:18:04 -08:00
Branimir Karadžić
785170418e Updated ImGui. 2018-01-03 09:23:33 -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ć
fcc9160e03 texturev: Added scale slider. 2018-01-02 16:20:03 -08:00
Branimir Karadžić
4075a54406 Fixed MinGW warnings. 2018-01-02 16:19:43 -08:00
Branimir Karadžić
8663f46c89 Updated ImGui. 2018-01-02 08:58:32 -08:00
Branimir Karadžić
c62a111e5e Fixed issue #1303. 2018-01-01 13:02:16 -08:00
Branimir Karadžić
111e733306 Disabled DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL. 2018-01-01 11:56:20 -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
7beeea408e docs cleanup (#1305) 2017-12-31 15:31:08 -08:00
Branimir Karadžić
af5b77394b Fixed build. 2017-12-30 20:49:14 -08:00
Kyle Rocha
1f3846224b uint32 size indices and vertexBaseIndex to Forsyth (#1304)
- Forsyth::OptimizeFaces() now has 2 overloads, 1 for uint16_t and one
for uint32_t sized indices. Internally each overload now calls down to
the templated OptimizeFacesImpl() providing the respective index type.

- The new 'vertexBaseIndex' is the starting vertex index
subtracted from each index in indexList to allow safe operation on
multiple objects in a single index buffer.

- Also replaced the interal int typedefs with common types provided by
stdint.h
2017-12-30 20:46:21 -08:00
Branimir Karadžić
de9d9671fa Updated ImGui. 2017-12-30 15:40:05 -08:00