Branimir Karadžić
89a87a5f8d
Cleanup.
2016-02-25 22:41:28 -08:00
Branimir Karadžić
dbb697b56e
Debug draw.
2016-02-25 22:20:24 -08:00
Branimir Karadžić
ae778b06df
Merge branch 'master' of github.com:bkaradzic/bgfx
2016-02-25 20:29:20 -08:00
Branimir Karadžić
b7f8a8cdb5
Cleanup.
2016-02-25 20:29:09 -08:00
Branimir Karadžić
82b640e71c
27-terrain: Fixed crash at exit.
2016-02-24 21:23:45 -08:00
Branimir Karadžić
d4d4d41e42
Exposed topology API.
2016-02-23 15:30:25 -08:00
Branimir Karadžić
6fd77942ac
Cleanup.
2016-02-21 22:33:42 -08:00
Branimir Karadžić
dc46b1a36b
Cleanup.
2016-02-21 13:59:38 -08:00
Branimir Karadžić
5fb313a6b1
Added calcPlaneUv.
2016-02-21 12:57:55 -08:00
Branimir Karadžić
b2405e5221
Cleanup.
2016-02-16 20:38:59 -08:00
Jean-François Verdon
b72300d3ab
Using char* as key for unordered_map can lead to unexpected behavior (the hash used for the key is computed using pointer address, not string content)
2016-02-16 15:00:07 +01:00
Branimir Karadžić
459e211a26
Added framebuffer attachment.
2016-02-15 16:55:32 -08:00
Miodrag Milanovic
c0275c3a77
SteamLink support
2016-02-15 19:45:58 +01:00
Branimir Karadžić
db37bd1bcd
Added icon font headers.
2016-02-10 22:37:09 -08:00
Branimir Karadžić
4707ebe8ef
Added function for building frustum planes from view projection matrix.
2016-02-10 21:02:00 -08:00
Branimir Karadžić
608e038b96
Manually merged PR #676 .
2016-02-08 12:53:19 -08:00
Branimir Karadžić
728a8ee4e5
NanoVG: Added ability to pass custom allocator.
2016-02-07 18:58:17 -08:00
Branimir Karadžić
1183d9e337
Fixed mesh loading.
2016-02-06 13:41:58 -08:00
Branimir Karadžić
55e72a2dd1
SDL: Fixed crash when loading gamecontrollerdb.
2016-02-04 22:54:40 -08:00
Branimir Karadžić
60f068c648
Cleanup.
2016-02-04 21:46:12 -08:00
Branimir Karadžić
e9c51f9fdb
Cleanup.
2016-02-01 20:20:17 -08:00
Branimir Karadžić
ed061b62fc
Fixed example. PR #671 .
2016-01-31 20:38:14 -08:00
Branimir Karadžić
016bfc4290
Improved reader/writer error handling.
2016-01-31 16:00:02 -08:00
Branimir Karadžić
a972d1fef0
Tools cleanup.
2016-01-30 16:15:25 -08:00
Branimir Karadžić
3552ad873a
Fixed #666 .
2016-01-25 12:38:58 -08:00
Branimir Karadžić
2063dac676
Merge branch 'master' of github.com:bkaradzic/bgfx
2016-01-25 09:26:44 -08:00
Branimir Karadžić
6af72ce686
nanovg: Allow texture update after creation.
2016-01-25 09:26:14 -08:00
Branimir Karadžić
3126ed79f1
Fixed Linux build.
2016-01-24 22:35:49 -08:00
Branimir Karadžić
c63b61870a
SDL: Added joystick handling.
2016-01-24 22:17:49 -08:00
Branimir Karadžić
008bc72d6f
SDL: Updated controllerdb.
2016-01-23 21:07:44 -08:00
Branimir Karadžić
1b7375df6c
entry/x11: Fixed dpad.
2016-01-23 17:09:28 -08:00
Lunkhound
6f9a9278ec
removed z coord adjustment in shadow2D() shader builtin for HLSL versions
2016-01-17 23:05:40 -08:00
Branimir Karadžić
86a38a0160
SteamLink defines.
2016-01-16 00:11:38 -08:00
Lunkhound
b655ee94ae
shadowmaps_simple: fix OGL shadow camera volume
2016-01-15 14:54:56 -08:00
Branimir Karadžić
7a686ee6f0
Merge pull request #655 from dariomanesku/shadowmaps
...
Fixing a D3D11 warning.
2016-01-14 22:42:17 -08:00
Dario Manesku
deda5e241e
Fixing a D3D11 warning. Shadow maps now get submitted only when necessary.
2016-01-15 07:34:48 +01:00
Branimir Karadžić
fbace33048
Renamed BGFX_TEXTURE_RT_BUFFER_ONLY to more descriptive BGFX_TEXTURE_RT_WRITE_ONLY.
2016-01-12 17:11:16 -08:00
Branimir Karadžić
ab9a0c12b0
Cleanup.
2016-01-12 13:20:07 -08:00
Branimir Karadžić
faec80b8f9
shaderlib: Added ACES filmic tone mapping curve.
2016-01-06 21:08:09 -08:00
Branimir Karadžić
053dd8c524
Cleanup.
2016-01-04 22:31:17 -08:00
Branimir Karadžić
3cabe28c6e
Cleanup.
2016-01-04 21:48:12 -08:00
Miodrag Milanovic
f9a7c6ec0b
Use BX_PLATFORM_BSD for all BSD based platforms
2016-01-04 18:08:46 +01:00
Branimir Karadžić
4bb2b623d3
Happy New Year!
2016-01-01 00:11:04 -08:00
Branimir Karadžić
b70dba4c8e
Updated terrain shader.
2015-12-31 11:57:07 -08:00
Branimir Karadžić
b57dadc1b1
Cleanup.
2015-12-30 12:21:28 -08:00
Stephen Hill
e5c2de3d07
Modified imguiBool to return 'changed' state
...
This is useful for logically or-ing the state of several UI elements together to know if any have changed (e.g. because some common action needs to be taken):
uiChanged |= imguiBool(...)
uiChanged |= imguiSlider(...)
...
2015-12-30 14:44:18 -05:00
zelimdamian
759240d6c8
Added VK_DECIMAL to keyboard code translation
2015-12-16 18:36:08 +00:00
Branimir Karadžić
f4ebb94951
Merge branch 'master' of github.com:bkaradzic/bgfx
2015-12-13 21:32:18 -08:00
Branimir Karadžić
9c568a52a0
Cleanup.
2015-12-13 21:32:10 -08:00
Branimir Karadžić
f278cdb8b8
Fixed clang warning.
2015-12-13 20:05:20 -08:00
Branimir Karadžić
b93592e8ea
Cleanup.
2015-12-13 19:43:08 -08:00
Branimir Karadžić
fb9c4e0121
Cleanup.
2015-12-13 11:05:25 -08:00
Branimir Karadžić
8f15a6f0e8
Cleanup.
2015-12-13 09:52:57 -08:00
Branimir Karadžić
8493775a8b
Cleanup.
2015-12-13 09:48:21 -08:00
Andrew Mac
6a42398b0b
Terrain painting example.
2015-12-13 21:21:07 -04:00
Branimir Karadžić
51ec498559
Cleanup.
2015-12-13 12:33:27 -08:00
Branimir Karadžić
43f37a001d
NaCl: Added occlusion query interface.
2015-12-08 20:34:31 -08:00
Branimir Karadžić
fac71e9e35
Fixed issue #569 .
2015-12-08 16:09:30 -08:00
Branimir Karadžić
46822b242a
Updated NanoVG.
2015-12-05 11:00:11 -08:00
Branimir Karadžić
b09bb61548
Fixed VS2012 build.
2015-12-04 22:36:44 -08:00
Branimir Karadžić
402a63be85
Cleanup.
2015-12-01 21:08:03 -08:00
Stephen Hill
29782ca333
Fixed invalid AVI header flags
...
Videos should now play in Windows Media Player. I believe the previous flags were wrong, as 0x1 doesn't seem to be a valid flag (see, for instance: https://ffmpeg.org/doxygen/0.6/avi_8h.html ).
2015-11-30 21:16:11 -05:00
Stephen Hill
87d3501ded
Fixed AVI header writing 4 bytes for 16bit values
...
{U}INTX_C et al. only seem to guarantee that the size of the constant will be X bits or more. At least this is the behaviour I've seen with VS and Clang
I've made the minimal fix here, but it would be smart to review all remaining uses of these macros, particularly when it comes to I/O.
2015-11-30 21:09:42 -05:00
Stephen Hill
7d0804ec77
Hyphenation
2015-11-29 18:41:37 -05:00
Stephen Hill
e0e772f71c
Fixed repeat typo: lightning => lighting
2015-11-29 18:39:16 -05:00
Branimir Karadžić
35f9c78080
Cleanup.
2015-11-28 16:13:26 -08:00
Stephen Hill
fef9262866
Fixed image loading error handling in 20-nanovg
...
nvgCreateImage returns 0 on failure, not bgfx::invalidHandle!
2015-11-28 14:48:05 -05:00
Branimir Karadžić
4a1861f367
Added ray intersection tests.
2015-11-27 23:45:42 -08:00
Branimir Karadžić
f5d9c28f03
Fixed clang warning.
2015-11-23 19:05:52 -08:00
Andrew Mac
0788b28641
Fix crash in D3D9 shadowmap examples.
2015-11-22 13:36:57 -04:00
Branimir Karadžić
20e7e79763
Added orb object.
2015-11-19 22:17:37 -08:00
Andrew Mac
6c395391a1
Extended Remotery profiling.
2015-11-16 10:42:56 -04:00
Branimir Karadžić
cbbba6e5f6
Sprinkled profiler macros.
2015-11-14 17:09:58 -08:00
Branimir Karadžić
f6f1b86793
Updated Remotery.
2015-11-14 16:39:15 -08:00
Branimir Karadžić
4cec412d4a
Fixed VS2015 build.
2015-11-13 23:30:07 -08:00
Branimir Karadžić
8c33afdd09
Added --with-profiler option.
2015-11-13 21:11:19 -08:00
Branimir Karadžić
21ccf8cb8c
Integrated Remotery.
2015-11-12 22:26:50 -08:00
Branimir Karadžić
1a3ca7d8ac
ImGui docking fixes.
2015-11-11 16:43:32 -08:00
Branimir Karadžić
717aab94bc
Merge branch 'master' of cane:bkaradzic/bgfx into dev
2015-11-09 18:11:47 -08:00
Branimir Karadžić
c55a6101d2
Added begin/end CPU/GPU timer stats instead of elapsed.
2015-11-09 17:56:12 -08:00
Branimir Karadžić
7d1e8e2cc8
Added screenshot.
2015-11-08 21:34:10 -08:00
Branimir Karadžić
40d526744a
Simplifed allocator.
2015-11-06 22:03:06 -08:00
Branimir Karadžić
574d831c80
Merge branch 'master' of github.com:bkaradzic/bgfx
2015-11-04 11:04:56 -08:00
Branimir Karadžić
822caa88dd
Call ImGui::NewFrame after init.
2015-11-04 11:04:47 -08:00
Andrew Mac
e29a790619
Fix for projection width in 16-shadowmaps example.
2015-11-03 22:20:45 -04:00
Branimir Karadžić
867696f1dc
Cleanup.
2015-11-03 17:20:20 -08:00
Branimir Karadžić
ecf7eba043
Added ability to read occlusion query result on main thread.
2015-11-03 16:00:14 -08:00
Branimir Karadžić
a5bbb18a25
Cleanup.
2015-11-02 21:00:05 -08:00
Branimir Karadžić
6e7de6f122
NanoVG: Fixed #519 crash.
2015-11-02 18:59:01 -08:00
Branimir Karadžić
e5801a9d8c
Fixed OSX initial window size.
2015-11-01 20:11:31 -08:00
Branimir Karadžić
7a8b3632b9
GL: Occlusion query.
2015-11-01 19:12:42 -08:00
Branimir Karadžić
6aa9629816
Added initial occlusion query support.
2015-11-01 17:28:23 -08:00
Branimir Karadžić
d3e4ed8b2e
Cleanup.
2015-10-25 21:31:34 -07:00
Branimir Karadžić
1179f3a79b
Cleanup.
2015-10-24 22:53:26 -07:00
Branimir Karadžić
69fd07a590
Rebuilt shaders.
2015-10-24 22:47:24 -07:00
Branimir Karadžić
f47a26dcfa
Cleanup.
2015-10-24 22:34:11 -07:00
Branimir Karadžić
e3c97d8dc7
Refactor example to use new entry.
2015-10-24 19:25:03 -07:00
Branimir Karadžić
1c51d81006
Cleanup.
2015-10-23 20:52:22 -07:00
Branimir Karadžić
6ffdb3e247
Added args.
2015-10-23 20:57:04 -07:00
Branimir Karadžić
a8c1c5f669
Cleanup.
2015-10-23 18:13:04 -07:00
Branimir Karadžić
76ad2441b0
D3D9: Fixed volume texture update.
2015-10-23 12:57:04 -07:00
Branimir Karadžić
000c75539c
Cleanup.
2015-10-21 20:42:15 -07:00
Branimir Karadžić
49b4d32f15
Fixed automatic framebuffer resize.
2015-10-21 16:55:50 -07:00
Branimir Karadžić
8f28fdd970
Cleanup.
2015-10-20 22:45:35 -07:00
Branimir Karadžić
a82fc25510
Fixed texture leak.
2015-10-20 21:32:28 -07:00
Branimir Karadžić
4ca38cfa0e
Cleanup.
2015-10-20 19:00:13 -07:00
Branimir Karadžić
679764f3ef
Cleanup.
2015-10-20 18:35:02 -07:00
Branimir Karadžić
6aa6efda12
Added initial texture read back support.
2015-10-20 16:32:08 -07:00
Branimir Karadžić
b6ae6fda61
Cleanup.
2015-10-19 15:09:56 -07:00
Branimir Karadžić
d19ef51930
Fixed VS2008 build.
2015-10-18 19:35:37 -07:00
Branimir Karadžić
9e8508b64d
Added blit to 08-update example.
2015-10-17 17:39:44 -07:00
Aleks
aab8751ac5
Added tvOS support.
2015-10-12 13:32:39 -07:00
Branimir Karadžić
1d1e78977f
Updated shaders.
2015-10-09 22:36:56 -07:00
Branimir Karadžić
faebec1f05
Metal: Fixed MRT.
2015-10-09 22:13:32 -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ć
802364e214
Fixed font tab. Issue #533 .
2015-10-07 20:44:40 -07:00
Branimir Karadžić
522fb9cbcc
Metal: Added embedded shaders.
2015-10-07 15:05:00 -07:00
Branimir Karadžić
1611b074fb
Metal: Built shaders.
2015-10-06 21:20:34 -07:00
Branimir Karadžić
9f6675206d
Cleanup.
2015-10-05 20:38:07 -07:00
Branimir Karadžić
2ec8cb802b
Cleanup.
2015-10-05 11:36:14 -07:00
Branimir Karadžić
cbba6eef18
Cleanup.
2015-10-04 14:32:54 -07:00
Branimir Karadžić
12aa3e1eb7
X11: Fixed window attributes.
2015-10-04 14:27:20 -07:00
Branimir Karadžić
d2a3bb257d
Cleanup.
2015-10-03 09:59:01 -07:00
Branimir Karadžić
ed306efa73
X11: Added char event.
2015-10-03 09:37:09 -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ć
8bdc60cfda
Added xinput throttling. Issue #503 .
2015-09-27 21:07:08 -07:00
Branimir Karadžić
bf25ba4d41
Cleanup.
2015-09-25 21:32:12 -07:00
Branimir Karadžić
0fba3c137e
Added checks for redundant uniform sets.
2015-09-25 20:54:40 -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ć
ae71103bf9
Added border color index.
2015-09-16 17:21:28 -07:00
Branimir Karadžić
eb6d7444fb
Cleanup.
2015-09-14 19:54:22 -07:00
Branimir Karadžić
c31ad50f31
GLES: Fixed clamp to border.
2015-09-11 20:05:13 -07:00
Branimir Karadžić
96dea0ebfa
Cleanup.
2015-09-10 10:59:19 -07:00
Bruce Mitchener
e832cd1223
Fix typos.
2015-09-07 17:33:22 +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ć
561b7aa793
Cleanup.
2015-09-01 22:15:47 -07:00
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
Branimir Karadžić
7bfe51d0d8
Added flip after submit reset flag.
2015-04-14 20:03:05 -07:00
Branimir Karadžić
74fb466e92
Fixed issue #308 .
2015-04-14 17:01:35 -07:00
Branimir Karadžić
c01a93e29d
Added support for automatic texture scaling by backbuffer ratio on backbuffer resize.
2015-04-13 18:39:38 -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ć
a042d6f7b9
Fixed decoding of unsupported RGBA8/BGRA8 formats on D3D9/GL.
2015-04-11 00:17:49 -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ć
15206dc5a5
Fixed matrix cache size.
2015-04-09 17:36:36 -07:00
Branimir Karadžić
4d30bd201e
Updated 17-drawstress.
2015-04-09 16:58:44 -07: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
Branimir Karadžić
1e8051fd00
Fixed variable shadowing.
2015-04-04 19:10:35 -07:00
Branimir Karadžić
250777287f
Fixed variable shadowing.
2015-04-04 16:40:28 -07:00
Branimir Karadžić
2e6ac0ca49
Silence -Wshadow warning in stb_image.
2015-04-04 16:23:50 -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ć
ecf1b5ee5a
Rebuilt shaders.
2015-04-02 23:31:57 -07:00
Branimir Karadžić
85bf5493c3
Updated shaders.
2015-04-02 10:49:41 -07:00
Branimir Karadžić
81d6876067
Cleanup.
2015-03-31 09:44:51 -07:00
Branimir Karadžić
590996b704
Fixed issue #313 .
2015-03-30 20:36:31 -07:00
Branimir Karadžić
ec9ba5d15b
Fixed VS2015 warnings.
2015-03-30 19:29:52 -07:00
Branimir Karadžić
0490fbcd1e
Fixed more variable shadowing warnings.
2015-03-30 14:38:16 -07:00
Branimir Karadžić
d62025d530
Fixing VS2015 warnings.
2015-03-29 22:40:35 -07:00
Branimir Karadžić
d45e71aa15
Fixed VS2015 warnings.
2015-03-29 18:29:56 -07:00
Branimir Karadžić
ae7e4deb2f
08-update: Fixed debug build.
2015-03-29 18:18:06 -07:00
Branimir Karadžić
a34e6e7965
Fixed VS2015 warnings.
2015-03-29 11:47:32 -07:00
Branimir Karadžić
71cc2e1c9c
08-update: Check does texture format exist before creating 3D texture.
2015-03-28 21:42:28 -07:00
Branimir Karadžić
3039c9a040
GLES: Fixed OES_texture_half_float incomplete texture.
2015-03-28 21:25:40 -07:00
Branimir Karadžić
0d99f1b35c
09-hdr: Changed cubemap texture.
2015-03-28 12:10:02 -07:00
Branimir Karadžić
36b71e8e30
08-update: Check for 3D texture support.
2015-03-28 11:55:49 -07:00
Branimir Karadžić
092f8f19e7
Fixed leak on exit.
2015-03-28 10:33:27 -07:00
Branimir Karadžić
4b18babb62
Updated C99 API.
2015-03-27 22:09:10 -07:00
Matthew Endsley
79e4695b70
Fix C99 example for MSVC toolchains
...
The existing code is valid C99, however there only C99
specific feature used that is incompatible with the
MSVC C compiler is the relaxed variable declaration rules.
2015-03-27 21:29:55 -07:00
Branimir Karadžić
095603f6c5
Fixed build.
2015-03-26 15:04:09 -07:00
Branimir Karadžić
a797b00a7f
Updated GLFW entry to test for exit.
2015-03-25 19:43:12 -07:00
Branimir Karadžić
0da6c77806
Added glfw entry.
2015-03-24 22:19:21 -07:00
Branimir Karadžić
741a2692e9
Updated .gitignore.
2015-03-22 16:23:17 -07:00
Branimir Karadžić
f5afbffe64
Fixed compiler warning.
2015-03-21 18:14:35 -07:00
Branimir Karadžić
5f29eb480d
Fixed issue #296 .
2015-03-19 09:31:46 -07:00
Branimir Karadžić
c20ec0449c
Added C99 API example.
2015-03-18 16:23:38 -07:00
Miodrag Milanovic
5b0fea0052
Reorder warning fix
2015-03-17 11:28:30 +01:00
Branimir Karadžić
a1400dc590
SDL: WIP text input event.
2015-03-16 22:23:06 -07:00
Branimir Karadžić
cacc99fc63
Fixed texture leak in 08-update example.
2015-03-16 18:49:41 -07:00
Branimir Karadžić
68810fbc8a
Merge branch 'master' of github.com:bkaradzic/bgfx
2015-03-16 16:48:54 -07:00
Branimir Karadžić
4c9a0ec240
Added 3D texture test to 08-update example.
2015-03-16 16:48:46 -07:00
Dario Manesku
acd4dedfe1
Added mouse scroll support to entry_sdl.
2015-03-16 15:19:35 +01:00
Dario Manesku
f3c300980d
Imgui separator line can be now aligned.
2015-03-16 14:20:45 +01:00
Dario Manesku
7c188f4e0e
Fixing EXC_BAD_ACCESS error.
2015-03-16 14:12:37 +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ć
6eafd8b137
Cleanup.
2015-03-11 23:30:41 -07:00
Branimir Karadžić
b8f2b24a82
Fixed VS2013 warnings.
2015-03-11 22:45:34 -07:00
Branimir Karadžić
dd9188e475
Updated ocornut-imgui 1.35.
2015-03-09 11:30:08 -07:00
Dario Manesku
4c2a653de6
Removing minimal window size limit from entry-sdl.
2015-03-09 04:03:15 +01:00
Dario Manesku
9ea92d4a47
Added char events for entry-sdl.
2015-03-09 03:53:08 +01:00
Dario Manesku
205fa041e9
Cleanup.
2015-03-09 03:53:08 +01:00
Dario Manesku
633ea3f211
Added missing toggleFullscreen() in entry_windows.cpp.
2015-03-08 06:36:44 +01:00
Branimir Karadžić
6683df3a8c
SDL: Fixed compile error.
2015-03-07 22:25:06 -08:00
Dario Manesku
ccb95fc3d9
Fixup for previous commit.
2015-03-08 03:10:25 +01:00
Dario Manesku
f9750906c0
Fixing mouse input in fullscreen mode.
2015-03-08 03:03:55 +01:00
Dario Manesku
b46aadcaf7
Init window in the center of the screen.
2015-03-08 02:59:16 +01:00
Dario Manesku
2443718b9f
Fixup for previous commit.
2015-03-08 01:17:49 +01:00
Dario Manesku
81b9086de5
If some key modifiers are pressed other than shift, send postKeyEvent().
2015-03-08 01:03:51 +01:00
Dario Manesku
7bc7b9f329
Changed mouse modifier from shift to command.
2015-03-08 00:29:52 +01:00
Dario Manesku
6935ead3e6
Implemented existing OSX window commands + added toggleFullscreen().
2015-03-07 23:39:04 +01:00
Dario Manesku
52008569ef
Get mouse position only once and store it.
2015-03-06 02:35:04 +01:00
Dario Manesku
c5943ded12
Make sure mouse button state is 'up' after window resize.
2015-03-06 02:35:04 +01:00
Dario Manesku
f47bd56d52
Fixing content display on window resize.
2015-03-06 02:35:04 +01:00
Dario Manesku
382c0b685b
Calling postExitEvent() for Meta+Q as in other entries.
2015-03-06 02:35:03 +01:00
Dario Manesku
701cd3b3c9
Adding postCharEvent() to OSX entry.
2015-03-06 02:35:03 +01: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
97e9d2db6c
Temporary solution for middle click.
2015-03-06 02:35:03 +01:00
Dario Manesku
9a23cf7b42
OSX prefers scroll be implemented this way.
2015-03-06 02:35:03 +01:00
Branimir Karadžić
6b7739660c
Removed useless code from example.
2015-03-05 09:19:33 -08:00
Dario Manesku
ef9c989c14
Added mouse scroll support for OSX.
2015-03-05 03:37:20 +01:00
Dario Manesku
5453b2cf40
Fixed mouse scroll value on Windows.
2015-03-02 16:08:01 +01:00
Dario Manesku
2d7b134b3b
Added support for mouse scroll.
2015-03-02 16:08:01 +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ć
4685fdeca3
Fixed dynamic vertex/index buffer leak warning. Issue #263 .
2015-02-21 21:51:06 -08:00
Branimir Karadžić
8790649495
Moved imgui to last view.
2015-02-21 15:51:03 -08:00
Branimir Karadžić
8c1518f259
Added toLinear/GammaAccurate shader functions.
2015-02-17 16:26:10 -08:00
Branimir Karadžić
aea6f9daf3
Cleanup.
2015-02-16 22:05:19 -08:00
Branimir Karadžić
13ac805085
Cleanup.
2015-02-16 21:58:13 -08:00
Miodrag Milanovic
88998f7cd8
Compile fixes for Apple GCC 4.2
2015-02-15 18:59:47 +01:00
Miodrag Milanovic
93ea52c23a
Compile fixes for Apple GCC 4.2
2015-02-15 13:55:45 +01:00
Branimir Karadžić
0ff1d7df0c
Better way to configure entry allocator.
2015-02-13 09:43:46 -08:00
Branimir Karadžić
804a460d75
Added ability to configure entry allocator.
2015-02-12 21:52:34 -08:00
Branimir Karadžić
7019edd20f
Cleanup.
2015-02-11 19:42:20 -08:00
Dario Manesku
5db716d07b
Changed imgui scroll area height.
2015-02-12 02:50:19 +01:00
Dario Manesku
269a676421
Cleanup.
2015-02-12 02:50:18 +01:00
Dario Manesku
f57c3a3516
Added latlong display type for imguiCube().
2015-02-12 02:50:18 +01:00
Branimir Karadžić
3b2c0dc001
Fixed static initializer order.
2015-02-09 20:12:46 -08:00
Branimir Karadžić
f81f34545c
Added cubemap to texture info. Fixed issue #255 .
2015-02-09 11:24:59 -08:00
Branimir Karadžić
6d2d04cad5
Cleanup.
2015-02-08 10:25:53 -08:00
Dario Manesku
18307976c8
Added possibility to override imgui malloc/free.
2015-02-08 12:34:06 +01:00
Dario Manesku
122129b351
Moving TinyStlCustomAllocator inside entry.
2015-02-08 12:34:06 +01:00
Dario Manesku
112b53b116
Added possibility to override default tinystl allocator for 'example-common' project.
2015-02-08 12:34:05 +01:00
Branimir Karadžić
1d4eb335a7
Removed X11 include in bgfxplatform.h.
2015-02-06 16:49:04 -08:00