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ć
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ć
325dc2a145
Cleanup.
2018-01-25 21:46:35 -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ć
d8643b5b2f
Updated ImGui.
2018-01-11 22:10:53 -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ć
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
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ć
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ć
7384171900
Fixed view id remapping.
2017-11-27 15:57:31 -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ć
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
Branimir Karadžić
d97023ab85
Merge branch 'master' into encoder
2017-11-04 15:25:24 -07:00
Branimir Karadžić
2d835155a9
Fixed build.
2017-11-04 15:25:11 -07:00
Branimir Karadžić
ea7c59db33
Updated thread funcs to match bx.
2017-11-04 15:18:52 -07:00
Branimir Karadžić
a241daa114
Updated thread funcs to match bx.
2017-11-04 15:18:33 -07:00
Branimir Karadžić
6a278175ff
Cleanup.
2017-11-04 10:32:31 -07:00
Branimir Karadžić
7ee2447f9d
Cleanup.
2017-11-03 09:03:39 -07:00
Branimir Karadžić
1f86df4c54
Cleanup.
2017-11-02 22:09:03 -07:00
Branimir Karadžić
6480a62844
Added encoder stats.
2017-11-02 22:06:39 -07:00
Branimir Karadžić
09d821e234
Fixed particle reset.
2017-10-17 09:16:07 -07:00
Branimir Karadžić
666d729539
Updated ImGui.
2017-10-14 11:04:45 -07:00
Branimir Karadžić
942c032f5a
Fixed example dialog resize.
2017-10-08 21:08:14 -07:00
Stanislav
f9b5c86d10
Fixed flag ImGuiWindowFlags_AlwaysAutoResize been passed as alpha argument ( #1251 )
2017-10-05 20:05:52 -07:00
Branimir Karadžić
c6e5062067
Rebuilt shaders.
2017-10-01 23:08:08 -07:00
Branimir Karadžić
88e8009b55
Cleanup.
2017-10-01 21:57:48 -07:00
Branimir Karadžić
ed572fc5a6
Cleanup.
2017-09-30 16:25:11 -07:00
Branimir Karadžić
07f5e1184c
29-debugdraw: Display intersection normal.
2017-09-28 22:52:23 -07:00
Branimir Karadžić
783db66079
Fixed AABB hit normal.
2017-09-28 21:50:11 -07:00
Branimir Karadžić
5e40a84769
Cleanup.
2017-09-27 21:52:25 -07:00
Branimir Karadžić
81716be726
Cleanup.
2017-09-26 22:50:29 -07:00
Branimir Karadžić
f541703810
Added intersection test to example-29-debugdraw.
2017-09-26 21:09:26 -07:00
Branimir Karadžić
b0ae54f14a
Cleanup.
2017-09-25 20:18:19 -07:00
Branimir Karadžić
63bff54a69
Fixed ray/cylinder intersection.
2017-09-24 23:33:08 -07:00
Branimir Karadžić
d8ec5a9a54
Cleanup.
2017-09-24 22:50:05 -07:00
Branimir Karadžić
7b94b8dcb4
Added ray/cone intersection.
2017-09-24 19:12:18 -07:00
Branimir Karadžić
b5af383cf8
Cleanup.
2017-09-23 16:27:16 -07:00
Branimir Karadžić
41b29a34a6
GL: Fixed GPU timer frequency.
2017-09-22 22:26:56 -07:00
Branimir Karadžić
4b4b1c31a6
Added perf timer for API thread.
2017-09-22 21:39:16 -07:00
attilaz
bc065cc4d0
Fix compilation on iOS ( #1240 )
2017-09-22 08:44:15 -07:00
Branimir Karadžić
8522bf95ac
Cleanup.
2017-09-17 21:17:24 -07:00
Branimir Karadžić
965f8c91b2
Cleanup.
2017-09-15 20:04:31 -07:00
Branimir Karadžić
634d5ef751
Fixed debug draw transform.
2017-09-12 17:58:36 -07:00
Libor Čapák
f56687ee4b
SDL_GameControllerAddMapping needs zero-terminated string ( #1234 )
2017-09-11 13:28:28 -07:00
Branimir Karadžić
e62ffe9984
Cleanup.
2017-09-10 21:36:43 -07:00
Branimir Karadžić
adeb7f5870
Cleanup.
2017-09-10 20:58:45 -07:00
Branimir Karadžić
0dd6083787
Cleanup.
2017-09-02 19:30:40 -07:00
Branimir Karadžić
6dabea4ddc
Updated embedded shaders.
2017-09-01 21:28:21 -07:00
attilaz
80a1006ac7
preserve window size when switching example ( #1229 )
...
I think this is more convenient on desktop, but is a must have on mobile where app is running in fullscreen and window size is set to screen size.
2017-09-01 08:01:47 -07:00
Branimir Karadžić
3aec2b89bf
Added bgfx::setName to set resource debug name.
2017-08-30 21:46:57 -07:00
Branimir Karadžić
167db342bd
Added BGFX_DEBUG_PROFILER.
2017-08-20 14:46:33 -07:00
Branimir Karadžić
f0971eda83
Removed Remotery.
2017-08-20 14:24:15 -07:00
Branimir Karadžić
21ade78454
Replaced GL internal profiler.
2017-08-20 14:20:54 -07:00
Branimir Karadžić
578ed35243
Fixed issue #1215 .
2017-08-16 20:48:26 -07:00
Branimir Karadžić
35ce2380df
Updated ImGui.
2017-08-14 22:16:52 -07:00
Branimir Karadžić
c930137c54
Internal profiler WIP.
2017-08-13 21:15:39 -07:00
Branimir Karadžić
87acea36e7
Cleanup.
2017-07-24 21:04:30 -07:00
Branimir Karadžić
93a2bbb6c6
Added Android file reader.
2017-07-24 21:04:24 -07:00
Branimir Karadžić
f09c886476
Cleanup.
2017-07-23 21:22:21 -07:00
Branimir Karadžić
a6ac22d435
30-picking: Show error when blit is not supported.
2017-07-22 17:40:27 -07:00
Branimir Karadžić
a04066ba41
Fixed issue #1210 .
2017-07-20 20:25:48 -07:00
Branimir Karadžić
c38d76f42a
texturev: Added image orientation.
2017-07-19 22:53:48 -07:00
mncat77
db49d0ec94
Fixed issue #1211 ( #1212 )
2017-07-19 09:25:23 -07:00
Branimir Karadžić
c4525ee302
imgui: Added Cyrillic characters.
2017-07-18 22:43:50 -07:00
Branimir Karadžić
094b1c8c69
Fixed issue #1211 .
2017-07-18 20:05:00 -07:00
Branimir Karadžić
868417bbc7
Fixed issue #1210 .
2017-07-18 19:58:37 -07:00
Branimir Karadžić
7c9b2b7257
API change: Simplified destroy functions to use overload resolution.
2017-07-17 22:29:43 -07:00
Branimir Karadžić
a247d29298
Cleanup.
2017-07-17 22:14:34 -07:00
Branimir Karadžić
3e212b519f
Moving code around and renaming files.
2017-07-15 21:01:08 -07:00
Branimir Karadžić
127328d1db
Fixed build.
2017-07-15 15:37:40 -07:00
Branimir Karadžić
a274c9a6c5
Replaced BX_OVERRIDE with override.
2017-07-15 00:17:29 -07:00
Branimir Karadžić
ac33b32cb5
Fixed windows build.
2017-07-14 23:38:45 -07:00
Branimir Karadžić
24e796fa5b
Cleanup.
2017-07-14 00:10:33 -07:00
Branimir Karadžić
b71736dfc1
Cleanup.
2017-07-09 19:47:59 -07:00
Branimir Karadžić
c6e9ba71cf
Cleanup.
2017-07-08 16:16:50 -07:00
Branimir Karadžić
876036a310
Cleanup.
2017-07-08 15:30:32 -07:00
Branimir Karadžić
bd9d2b3f4b
Cleanup.
2017-07-08 15:28:27 -07:00
Branimir Karadžić
ee90f34a06
Cleanup.
2017-07-08 13:09:44 -07:00
Branimir Karadžić
cbc86d49b5
Cleanup.
2017-07-08 10:51:38 -07:00
Branimir Karadžić
bacba8c2c7
Cleanup.
2017-07-08 01:04:24 -07:00
Branimir Karadžić
94f01a34bf
Fixed issue #1192 .
2017-07-04 13:10:27 -07:00
Branimir Karadžić
de899486d1
Cleanup.
2017-07-03 19:17:32 -07:00
Branimir Karadžić
e5426f78f5
Added previous/next example control.
2017-07-02 20:17:21 -07:00
Branimir Karadžić
e5f228b3c9
Cleanup.
2017-07-02 11:41:37 -07:00
Branimir Karadžić
0fad539078
Cleanup.
2017-06-29 23:19:20 -07:00
Branimir Karadžić
e9a0f266bb
Updated example control widget.
2017-06-29 22:47:16 -07:00
Branimir Karadžić
5df4969527
Fixed build.
2017-06-29 22:30:35 -07:00
Branimir Karadžić
917385f79e
Cleanup.
2017-06-29 22:23:18 -07:00
attilaz
43dff1df66
iOS retina support ( #1185 )
2017-06-28 09:51:34 -07:00
Branimir Karadžić
6e08b6a42a
Cleanup.
2017-06-26 22:21:20 -07:00
Branimir Karadžić
b12ce15a82
Moved showExampleDialog to separate library to decouple entry and imgui.
2017-06-26 21:04:16 -07:00
Branimir Karadžić
9e737f705d
OSX: Don't exit on bgfx shutdown. Issue #1143 .
2017-06-26 14:58:35 -07:00
Branimir Karadžić
5f666a5ee2
Combined all examples. Issue #1143 .
2017-06-25 21:44:04 -07:00
Branimir Karadžić
c55fbf378b
Cleanup.
2017-06-23 15:26:28 -07:00
Branimir Karadžić
1333161500
Deleting deprecated old-imgui calls.
2017-06-23 14:39:24 -07:00
Branimir Karadžić
b4df0d7c75
Cleanup.
2017-06-23 14:35:53 -07:00
Branimir Karadžić
27569e95c6
Commenting out deprecated old-imgui API calls.
2017-06-22 21:39:13 -07:00
Branimir Karadžić
b83204d516
Added kExitSuccess/Failure constants.
2017-06-20 21:42:23 -07:00
Branimir Karadžić
236ef4b875
Fixed shader binary truncation. Issue #1170 .
2017-06-20 20:34:41 -07:00
Branimir Karadžić
35060be243
texturev: Added 3D texture support.
2017-06-20 13:31:22 -07:00
Branimir Karadžić
822f95b898
Cleanup.
2017-06-17 11:47:39 -07:00
Branimir Karadžić
6910ddba9e
WIP: Adding more sort key modes.
2017-06-14 18:10:42 -07:00