Commit graph

235 commits

Author SHA1 Message Date
Branimir Karadžić
1a3ca7d8ac ImGui docking fixes. 2015-11-11 16:43:32 -08:00
Branimir Karadžić
822caa88dd Call ImGui::NewFrame after init. 2015-11-04 11:04:47 -08:00
Branimir Karadžić
69fd07a590 Rebuilt shaders. 2015-10-24 22:47:24 -07:00
Branimir Karadžić
d19ef51930 Fixed VS2008 build. 2015-10-18 19:35:37 -07:00
Branimir Karadžić
44eacd0859 Added ImGui image flags. 2015-10-09 15:37:22 -07:00
Branimir Karadžić
183ed6b73a Disable debug code. 2015-10-08 23:01:11 -07:00
Branimir Karadžić
6e98bd17b3 ImGui: Docking WIP. 2015-10-08 22:46:17 -07:00
Branimir Karadžić
2ec8cb802b Cleanup. 2015-10-05 11:36:14 -07:00
Branimir Karadžić
9bf22e0a24 Cleanup. 2015-10-02 21:10:18 -07:00
Branimir Karadžić
5bb5049cf4 Added imgui dock debug code. 2015-10-01 23:00:45 -07:00
Branimir Karadžić
066bf7ced7 Cleanup. 2015-09-30 22:36:56 -07:00
Branimir Karadžić
8ed1052779 Cleanup. 2015-09-30 20:02:59 -07:00
Jonathan Howard
5893fdf20b fixed segfault in imgui with default allocator 2015-09-30 20:20:04 -04:00
Branimir Karadžić
b220d85bc0 Added ImGui docking. 2015-09-30 16:22:51 -07:00
Branimir Karadžić
d1f99896ec Moved public header files into bgfx subdirectory.
grep -rl '<bgfx.h>' . | xargs sed -i 's@<bgfx.h>@<bgfx/bgfx.h>@g'
2015-09-18 20:19:12 -07:00
Dario Manesku
5086338088 Fixing imgui visible() function. 2015-09-18 11:40:15 +02:00
Branimir Karadžić
96dea0ebfa Cleanup. 2015-09-10 10:59:19 -07:00
Branimir Karadžić
6e9ed09d19 Rebuilt shaders. 2015-09-03 20:00:15 -07:00
Branimir Karadžić
86ec6b5f90 Cleanup. 2015-09-03 18:33:41 -07:00
Dario Manesku
761a0d5cda Doing scissor test on CPU to avoid lots of draw calls when elements are in a long list. 2015-09-02 20:21:16 +02:00
Branimir Karadžić
4470f7097c Fixed HLSL reflection for samplers. 2015-09-01 16:44:11 -07:00
Branimir Karadžić
4018a4b690 imgui: Added handling middle mouse button. 2015-08-25 22:59:20 -07:00
Branimir Karadžić
06624bb7c2 Updated imgui. 2015-08-25 20:44:36 -07:00
Branimir Karadžić
839ef0bcce asmjs: Building Scintilla. 2015-08-20 21:55:53 -07:00
Branimir Karadžić
cf2cbf61c1 Updated imgui. 2015-08-19 21:51:25 -07:00
Kocsis Attila
5d5df77318 Metal backend: initial commit 2015-08-14 15:12:44 +02:00
Branimir Karadžić
1fa85ccf27 Replaced bgfx::setProgram function with bgfx::submit argument. Added bgfx::touch and bgfx::getStats. 2015-07-22 18:05:11 -07:00
Branimir Karadžić
d168bd88f6 Scintilla: Added scroll bar. 2015-07-20 22:08:08 -07:00
Branimir Karadžić
0d6b83055f Scintilla: Added PageUp/Down support. 2015-07-18 00:30:46 -07:00
Branimir Karadžić
c7ea0a6a97 Scintilla: Fixed char advance. 2015-07-17 20:57:43 -07:00
Branimir Karadžić
a0b2250395 Removed debug code. 2015-07-17 20:20:10 -07:00
Branimir Karadžić
753d6cfe66 Fixed imgui delta time. 2015-07-17 19:57:24 -07:00
Branimir Karadžić
1211286691 Updated imgui. 2015-07-17 19:20:10 -07:00
Branimir Karadžić
ebc5a13ac5 Merge branch 'dev' 2015-07-16 20:38:29 -07:00
Branimir Karadžić
6645401876 Cleanup. 2015-07-16 20:38:22 -07:00
Branimir Karadžić
921a315c4d Cleanup. 2015-07-16 20:28:43 -07:00
Branimir Karadžić
1cf4f92152 Cleanup. 2015-07-15 10:53:37 -07:00
Branimir Karadžić
af2bb3874d Manually merged #449. 2015-07-15 09:52:17 -07:00
Branimir Karadžić
67f7d0a3d6 Cleanup. 2015-06-15 13:12:22 -07:00
ocornut
d9b0daa0bc Scintilla/imgui: removed getFontInfo(), using data exposed by imgui 2015-06-14 17:31:44 -06:00
Branimir Karadžić
5cbc5d55f4 Cleanup. 2015-06-10 13:21:59 -07:00
Branimir Karadžić
a2716a3fe6 Cleanup. 2015-06-10 09:53:09 -07:00
Branimir Karadžić
cf6bcfa307 Merge pull request #432 from ocornut/imgui_scintilla_fixes
ocornut-imgui integrations: mouse wheel, render callbacks, keyboard
2015-06-10 09:20:57 -07:00
ocornut
a3fd7b7132 Fixes for ocornut-imgui integration: keyboard keys, modifiers 2015-06-10 09:03:17 -06:00
ocornut
eccbae09b1 Fixes for ocornut-imgui integrations: mouse wheel, render callbacks 2015-06-10 08:53:50 -06:00
Branimir Karadžić
f0b76697c5 Fixing GCC warnings. 2015-06-09 23:56:30 -07:00
ocornut
4f19cdc436 Fixes for ocornut-imgui integration, handling negative scissor inputs, removed unnecessary vertex count calculation 2015-06-09 15:31:53 -06:00
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