Commit graph

1052 commits

Author SHA1 Message Date
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