Commit Graph

5176 Commits

Author SHA1 Message Date
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
Branimir Karadžić
0a9f196ad7 Merge branch 'master' of github.com:bkaradzic/bgfx 2017-12-30 15:26:39 -08:00
Branimir Karadžić
14ccddb088 Fixed issue #1302. 2017-12-30 15:26:30 -08:00
Branimir Karadžić
02ffa6b0f5 Updated ImGui. 2017-12-29 11:21:43 -08:00
Branimir Karadžić
9ed5343227 Updated glslang. 2017-12-29 11:21:21 -08:00
Branimir Karadžić
60520d02f9 Merge branch 'master' of github.com:bkaradzic/bgfx 2017-12-28 16:13:27 -08:00
Branimir Karadžić
ba4e0ca6f7 Updated ImGui. 2017-12-28 16:13:22 -08:00
Branimir Karadžić
25476fc8a2 Cleanup. 2017-12-28 10:51:04 -08:00
Lectem
3888bbf59c D3D11 : try to create swapchain with DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL first (#1301) 2017-12-28 10:13:36 -08:00
Branimir Karadžić
6474781b14 Updated ImGui. 2017-12-27 11:45:47 -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ć
ec0cbe7530 travisci: Trying GCC 5. 2017-12-25 21:28:28 -08:00
Branimir Karadžić
89010075d7 Fixed OSX build. 2017-12-25 12:30:49 -08:00
Branimir Karadžić
4f052b3e37 Updated OSX toolchain. 2017-12-25 12:23:02 -08:00
Branimir Karadžić
4ef0ebbe6a Updated ImGui. 2017-12-25 10:41:53 -08:00
Branimir Karadžić
67eedc1b84 Updated ImGui. 2017-12-24 13:46:50 -08:00
Branimir Karadžić
14a02044c6 Updated ImGui. 2017-12-23 12:05:41 -08:00