Branimir Karadžić
a510b8f347
Added Scintilla imgui.
2015-06-08 17:07:35 -07:00
Matthew Endsley
1e604e8f38
VR: Add device resolution to HMD. Init at startup.
...
BREAKING: bgfx::getHMD() now returns a valid pointer
if the VR runtime was initialized. This is different
from existing behavior where getHMD returned NULL until
a bgfx::reset(... BGFX_RESET_HMD) was issued. Applications
must now check HMD::flags for the current state of the VR
runtime. The following code has the code change required:
`const bgfx::HMD* hmd = bgfx::getHMD()
if (NULL != hmd)`
becomes:
`const bgfx::HMD* hmd = bgfx::getHMD()
if (NULL != hmd && 0 != (hmd->flags & BGFX_HMD_RENDRERING))
{
// rendering logic
}`
See the updated examples for details.
This allows applications to create the appropriately
sized back buffer for the HMD device by using the new device
resolution fields HMD::deviceHeight and HMD::deviceWidth.
These values report the pixel resolution of the attached
HMD hardware.
This also allows applications to query the reported HMD
resolution immediately after bgfx::init. This prevents
the device from being cycled which generates rendring
artifacts on startup - namely flashing back to a black
screen and reseting the Health+Warning disaply.
This involves initialization the ovrHmd device on
initialization, but deferring rendering until
postReset has been called. This adds an addiional
memory overhead of 32k to builds defining BGFX_CONFIG_USE_OVR.
The overhead for current builds is ~1.9MB for calls to
ovr_Initialize, so the additional overhead is pretty
trivial (+1.8%)
2015-06-03 15:39:09 -07:00
Branimir Karadžić
ce3eded6a3
Fixed imgui font pixel center.
2015-06-03 14:38:00 -07:00
Branimir Karadžić
32750a6824
Removed imgui dependency on input.
2015-06-02 19:25:37 -07:00
Branimir Karadžić
aa99fe1313
Added ocornut-imgui key mapping.
2015-06-02 14:28:22 -07:00
Branimir Karadžić
ff01992cb7
Refactored uniform types.
2015-05-28 15:27:00 -07:00
Branimir Karadžić
f42cee24a6
Rebuilt shaders.
2015-05-25 18:59:39 -07:00
Branimir Karadžić
2e56304280
Fixed leak in single-threaded mode.
2015-05-19 15:52:47 -07:00
Branimir Karadžić
e706260793
Added texture handle passing to ocornut-imgui.
2015-04-23 17:14:29 -07:00
Branimir Karadžić
4098dbb8fb
Fixed GCC warnings.
2015-04-15 20:05:18 -07:00
Branimir Karadžić
5e5a0a8a9e
Added custom allocator to imgui.
2015-04-15 20:00:15 -07:00
Branimir Karadžić
cea3815dff
Fixed HLSL shader stripping.
2015-04-13 12:54:45 -07:00
Branimir Karadžić
dedf75a89b
Rebuilt shaders.
2015-04-12 22:26:40 -07:00
Branimir Karadžić
57cfeffb8d
Rebuilt shaders.
2015-04-11 18:18:43 -07:00
Branimir Karadžić
c7eb016ae0
Rebuilt shaders.
2015-04-10 21:09:46 -07:00
Mike Popoloski
5f4bd7700e
Recompiling shaders. Shouldn't have any effect on runtime behavior.
2015-04-10 22:49:39 -04:00
Branimir Karadžić
1824a3f5bd
Cleanup.
2015-04-08 14:16:02 -07:00
Branimir Karadžić
c85c12b5cd
Fixed variable narrowing warnings.
2015-04-07 17:58:14 -07:00
Dario Manesku
8f31098c40
Fixup for previous commit. This is a better way to do it.
2015-04-05 09:04:16 +02:00
Branimir Karadžić
584baba7d7
Rebuilt embedded shaders.
2015-04-02 23:36:53 -07:00
Branimir Karadžić
85bf5493c3
Updated shaders.
2015-04-02 10:49:41 -07:00
Miodrag Milanovic
5b0fea0052
Reorder warning fix
2015-03-17 11:28:30 +01:00
Dario Manesku
f3c300980d
Imgui separator line can be now aligned.
2015-03-16 14:20:45 +01:00
Dario Manesku
4360841989
Imgui can be now downscaled to fit small resolution screens.
2015-03-16 13:59:28 +01:00
Dario Manesku
831682d542
Fixing imgui area stencil problem. ImguiDrawText now also draws outside of imgui area.
2015-03-14 13:33:40 +01:00
Dario Manesku
a7dc166ed1
Don't show imgui test window all the time.
2015-03-12 20:34:19 +01:00
Dario Manesku
5cca4686e2
NVG now uses same viewId as imgui.
2015-03-12 20:28:07 +01:00
Branimir Karadžić
dd9188e475
Updated ocornut-imgui 1.35.
2015-03-09 11:30:08 -07:00
Dario Manesku
a96ba40b03
Imgui input now accepts, and interprets in the same way, 'delete' and 'backspace'.
2015-03-06 02:35:03 +01:00
Dario Manesku
2e9199e365
ImguiBorderButton was one pixel short in height.
2015-02-23 22:11:27 +01:00
Dario Manesku
4e9d06b207
Rotated latlong preview by 90 deg.
2015-02-23 20:52:54 +01:00
Dario Manesku
8351d6dce2
Cleanup
2015-02-23 20:52:54 +01:00
Branimir Karadžić
8790649495
Moved imgui to last view.
2015-02-21 15:51:03 -08:00
Branimir Karadžić
13ac805085
Cleanup.
2015-02-16 21:58:13 -08:00
Dario Manesku
f57c3a3516
Added latlong display type for imguiCube().
2015-02-12 02:50:18 +01:00
Dario Manesku
18307976c8
Added possibility to override imgui malloc/free.
2015-02-08 12:34:06 +01:00
Branimir Karadžić
de81071969
Cleanup.
2015-01-31 22:28:51 -08:00
Branimir Karadžić
a8accf4f98
Removed test window.
2015-01-31 19:28:10 -08:00
Branimir Karadžić
0c77794e24
Updated to ocornut-imgui v1.30.
2015-01-31 19:08:13 -08:00
Branimir Karadžić
6506add5a9
Added embedded font to imgui.
2015-01-23 23:02:56 -08:00
Branimir Karadžić
bbeb0a3ffe
Updated to latest ocornut imgui.
2015-01-22 21:01:09 -08:00
Branimir Karadžić
f6fe2de941
Cleanup.
2015-01-20 21:41:51 -08:00
Branimir Karadžić
76b317256e
Fixed compile warning.
2015-01-19 23:35:49 -08:00
Branimir Karadžić
d5bea0e7fd
Cleanup.
2015-01-19 22:15:50 -08:00
Branimir Karadžić
501d260c3f
Added scissor for ocornut-imgui.
2015-01-19 20:34:54 -08:00
Branimir Karadžić
9e52b1d6d9
imgui: Added ocornut imgui initialization into existing imgui.
2015-01-19 17:16:59 -08:00
Branimir Karadžić
8cd9ecfd18
Cleanup.
2015-01-18 12:58:56 -08:00
Branimir Karadžić
9e34736c49
Moved ocornut-imgui from ProDBG source to examples-common.
2015-01-16 22:41:37 -08:00
Branimir Karadžić
649d7f74d2
Updated copyright year.
2015-01-02 14:43:11 -08:00
Branimir Karadžić
c25dd466be
Updated copyright year.
2015-01-01 15:04:46 -08:00