Branimir Karadžić
4470f7097c
Fixed HLSL reflection for samplers.
2015-09-01 16:44:11 -07:00
Branimir Karadžić
ce85864d13
Cleanup.
2015-08-28 20:55:50 -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
Richard Gale
631103bfa8
Adds suspend event mapped to application lifecycle
...
On Android WillSuspend and WillResume maps to focus and DidSuspend and
DidResume maps to onPause and onResume.
On OSX WillSuspend and DidSuspend maps to resign key, WillResume and
DidResumg maps to make key.
2015-08-24 19:12:01 -07:00
Branimir Karadžić
46eba42ba0
Fixed 21-deferred for Emscripten.
2015-08-21 22:52:37 -07:00
Branimir Karadžić
f149fcec94
Fixed 09-hdr for Emscripten.
2015-08-21 21:06:46 -07:00
Branimir Karadžić
2234678dde
Fixed 06-bump for Emscripten.
2015-08-21 20:39:43 -07:00
Branimir Karadžić
8107522629
Refactored a few examples to work with Emscripten.
2015-08-21 20:08:03 -07:00
Branimir Karadžić
839ef0bcce
asmjs: Building Scintilla.
2015-08-20 21:55:53 -07:00
Richard Gale
a1c07a4191
mouse and keyboard input for asmjs
2015-08-20 14:03:40 -07:00
Branimir Karadžić
cf2cbf61c1
Updated imgui.
2015-08-19 21:51:25 -07:00
Branimir Karadžić
5f7b891b52
OSX: Added default info.plist.
2015-08-17 17:15:05 -07:00
Branimir Karadžić
77b3c3843e
Added HiDPI reset flag.
2015-08-17 16:43:56 -07:00
Branimir Karadžić
63e10f3357
D3D11: Fixed compute image mip selection.
2015-08-15 18:07:43 -07:00
Branimir Karadžić
f9e63f1d21
asmjs: Trying out async.
2015-08-15 11:27:26 -07:00
Kocsis Attila
5d5df77318
Metal backend: initial commit
2015-08-14 15:12:44 +02:00
Branimir Karadžić
3f34765ea7
Updated shaders.
2015-08-10 17:44:59 -07:00
Branimir Karadžić
6d8cf6a000
Fixed issue #470 .
2015-08-07 10:37:02 -07:00
Branimir Karadžić
65e47a57eb
Replaced missing VS2012 function.
2015-08-01 23:20:52 -07:00
Branimir Karadžić
019bdadc2a
Cleanup.
2015-07-28 23:16:23 -07:00
Branimir Karadžić
72a4bf0847
Cleanup.
2015-07-28 22:02:55 -07:00
Branimir Karadžić
16a7605903
Rebuilt shaders.
2015-07-28 20:44:04 -07:00
Branimir Karadžić
cb6cee9dd1
Updated trace callback.
2015-07-24 18:02:17 -07:00
Branimir Karadžić
7cfb9db7ef
Fixed static font buffer.
2015-07-22 20:55:59 -07: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ć
6bdf5c4bad
Cleanup.
2015-07-21 18:15:12 -07:00
Ka Ming Chan
20a27012a0
improved the handling of iOS UIView resize / rotate by recreating the frame-buffer and render-buffer objects
2015-07-21 20:37:59 +08: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ć
b98d3b6978
Added trace method to callback interface.
2015-07-16 17:39:02 -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ć
0a13a94271
Fixed build.
2015-06-23 19:51:31 -07:00
Branimir Karadžić
f36bfe2e4f
Added offset for updating dynamic buffers.
2015-06-23 16:40:38 -07:00
Branimir Karadžić
0283c83c0a
Cleanup.
2015-06-19 21:47:20 -07:00
Branimir Karadžić
67f7d0a3d6
Cleanup.
2015-06-15 13:12:22 -07:00
Branimir Karadžić
ad768598b1
x11: Fixed joystick read.
2015-06-14 17:29:17 -07:00
ocornut
d9b0daa0bc
Scintilla/imgui: removed getFontInfo(), using data exposed by imgui
2015-06-14 17:31:44 -06:00
Branimir Karadžić
3d54383dd9
Fixed shader cache file path.
2015-06-14 10:03:59 -07: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
Branimir Karadžić
6e6e16e2ba
Pass thread exit code from app thread as process exit code. Issue #430 .
2015-06-09 22:34:10 -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
Branimir Karadžić
c165fb20db
Cleanup.
2015-06-08 10:41:48 -07:00
Branimir Karadžić
9ebcfab447
Cleanup.
2015-06-07 21:28:36 -07:00
Branimir Karadžić
ddf0959d35
Cleanup.
2015-06-07 21:20:55 -07:00
Branimir Karadžić
72454acc8e
Cleanup.
2015-06-06 17:12:29 -07:00
Branimir Karadžić
67997930e3
Cleanup.
2015-06-06 17:13:52 -07:00
Branimir Karadžić
acfab2a171
Cleanup.
2015-06-06 16:57:43 -07:00
Branimir Karadžić
58fae36870
input: Added ability to retrieve modifiers state.
2015-06-04 18:26:09 -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ć
51d41041b7
Cleanup.
2015-06-01 17:45:40 -07:00
Branimir Karadžić
801207ffa7
Cleanup.
2015-05-31 16:02:59 -07:00
Branimir Karadžić
cc5606a731
Added toggle fullscreen key.
2015-05-31 15:57:52 -07:00
Branimir Karadžić
44bf196b07
Cleanup.
2015-05-30 22:11:42 -07:00
Branimir Karadžić
38a7bc6d28
X11: Fixed page down key mapping.
2015-05-30 18:00:24 -07:00
Branimir Karadžić
4f2345683d
X11: Added key mapping.
2015-05-30 13:11:18 -07:00
Branimir Karadžić
e91673d53a
OSX: Added key mapping.
2015-05-30 11:23:46 -07:00
Branimir Karadžić
b854588861
Added missing keys.
2015-05-30 10:06:26 -07:00
Branimir Karadžić
ff01992cb7
Refactored uniform types.
2015-05-28 15:27:00 -07:00
Branimir Karadžić
00548b325a
Fixed crash when loading invalid texture.
2015-05-27 21:18:43 -07:00
Branimir Karadžić
f42cee24a6
Rebuilt shaders.
2015-05-25 18:59:39 -07:00
Branimir Karadžić
25c7b6a3fa
Merge branch 'master' of github.com:bkaradzic/bgfx
2015-05-24 10:25:55 -07:00
Branimir Karadžić
7461299271
Updated texture loading.
2015-05-24 10:25:47 -07:00
Mike Popoloski
4387bed7c2
Enabling WinRT / Windows Store apps for bgfx.
2015-05-24 13:16:18 -04:00
Branimir Karadžić
2e56304280
Fixed leak in single-threaded mode.
2015-05-19 15:52:47 -07:00
Branimir Karadžić
2a49e5a143
Added flush after render reset flag.
2015-05-15 13:14:35 -07:00
Branimir Karadžić
1f241e3cc1
Cleanup.
2015-05-14 19:05:59 -07:00
Branimir Karadžić
65ac7c33f5
Added png/jpg/tga/etc. to load texture utility function.
2015-05-13 22:54:52 -07:00
Dario Manesku
d21c75c40c
Fixup for previous commit.
2015-05-03 16:20:41 +02:00
Dario Manesku
6efb223b49
Fixing SDL char input.
2015-05-03 15:52:40 +02:00
Branimir Karadžić
1dce7acb10
Added indirect buffer binary shaders.
2015-05-01 20:58:09 -07:00
Branimir Karadžić
bfa4df4ba1
Updated 24-nbody to demonstrate how to use indirect buffer.
2015-05-01 19:52:11 -07:00
Dario Manesku
0b12c4c82a
Cleanup.
2015-04-30 13:46:26 +02:00
Branimir Karadžić
68a2462d89
X11: Fixed window resize.
2015-04-26 12:42:51 -07:00
Mike Popoloski
3fc8ef8c7b
Small cleanup of entry_winrt
2015-04-25 10:39:11 -04:00
Branimir Karadžić
e706260793
Added texture handle passing to ocornut-imgui.
2015-04-23 17:14:29 -07:00
Branimir Karadžić
cc6649db0d
Cleanup.
2015-04-22 09:30:28 -07:00
Branimir Karadžić
7904b9d9dd
Fixed issue #353 .
2015-04-19 18:12:09 -07:00
Branimir Karadžić
c8f1157f3b
Fixed 15-shadowmaps-simple example.
2015-04-16 21:26:46 -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ć
4210fb0d64
Renamed reset flag.
2015-04-15 11:49:20 -07:00
Branimir Karadžić
9d91d3bbbc
Reversed instance data bindings. Issue #309 .
2015-04-15 10:37:00 -07:00