Commit graph

3129 commits

Author SHA1 Message Date
Branimir Karadžić
a66864034c Merge pull request #589 from selfshadow/avi-fixes
AVI writer fixes
2015-11-30 20:49:12 -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
Branimir Karadžić
0f8ca11ff7 Cleanup. 2015-11-30 14:50:28 -08:00
Branimir Karadžić
987ac7c59b Merge pull request #588 from xMyran/master
Added BGFX_RESET_SRGB_BACKBUFFER to GL
2015-11-30 14:34:43 -08:00
xMyran
eb6833bea4 Debug build mistake 2015-11-30 21:52:57 +01:00
xMyran
b72d980a8a Added BGFX_RESET_SRGB_BACKBUFFER to GL 2015-11-30 19:03:27 +01:00
Branimir Karadžić
5ca8208fdb Cleanup. 2015-11-29 20:12:25 -08:00
Branimir Karadžić
702d2ca9cb Merge pull request #586 from selfshadow/typos
Typo fixes
2015-11-29 15:56:54 -08: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ć
a2782e0770 Updated ImGui. 2015-11-28 17:58:18 -08:00
Branimir Karadžić
35f9c78080 Cleanup. 2015-11-28 16:13:26 -08:00
Branimir Karadžić
a09c3715a1 Merge pull request #585 from selfshadow/patch-1
Fixed image loading error handling in 20-nanovg
2015-11-28 12:11:03 -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ć
e5b9a6a6b5 Merge pull request #583 from marco-we/fix-metal-32bit-indices
Fix 32bit indices for Metal
2015-11-26 08:16:06 -08:00
Marco Weber
e31e963165 Storing flags passed down to buffer object. 2015-11-26 12:20:41 +00:00
Branimir Karadžić
a5485b977c D3D12: Added timer query. 2015-11-25 20:34:15 -08:00
Branimir Karadžić
f5d9c28f03 Fixed clang warning. 2015-11-23 19:05:52 -08:00
Branimir Karadžić
b41446d4a3 Cleanup. 2015-11-22 13:15:10 -08:00
Branimir Karadžić
489a087390 Cleanup. 2015-11-22 12:37:38 -08:00
Branimir Karadžić
427e08c363 Merge pull request #580 from andr3wmac/d3d9_shadow_fix
Fix crash in D3D9 shadowmap examples.
2015-11-22 09:59:49 -08:00
Andrew Mac
0788b28641 Fix crash in D3D9 shadowmap examples. 2015-11-22 13:36:57 -04:00
Branimir Karadžić
7ca526aa4a Merge pull request #579 from ming4883/patch-2
fixed compile errors on osx in renderer_mtl
2015-11-22 09:19:06 -08:00
Ka-ming Chan
c6c8d9de12 fixed compile errors on osx in renderer_mtl
fixed the follow errors:
  Cannot initialize a member subobject of type 'MTLPixelFormat' with an rvalue of type 'int' 
while compiling for OSX with  Xcode 7.1
2015-11-22 21:36:47 +08:00
Branimir Karadžić
93f5419dd0 Updated ImGui. 2015-11-21 19:54:18 -08:00
Branimir Karadžić
888343aea3 Cleanup. 2015-11-20 20:49:34 -08:00
Branimir Karadžić
347a86cbc0 Cleanup. 2015-11-19 22:44:50 -08:00
Branimir Karadžić
20e7e79763 Added orb object. 2015-11-19 22:17:37 -08:00
Branimir Karadžić
39409696e6 Cleanup. 2015-11-19 20:10:51 -08:00
Branimir Karadžić
28ae783664 Merge pull request #576 from andr3wmac/depth_blit_fix
Fix blit for depth textures.
2015-11-19 20:10:00 -08:00
Andrew Mac
120ed1c52f Fix blit for depth textures. 2015-11-19 22:51:58 -04:00
Branimir Karadžić
906c8cb255 Updated Remotery. 2015-11-18 23:55:01 -08:00
Branimir Karadžić
a303759e4c Fixed GL Remotery. 2015-11-18 23:42:35 -08:00
Branimir Karadžić
26cbbb85b7 Cleanup. 2015-11-17 23:33:58 -08:00
Branimir Karadžić
de347e9f23 Cleanup. 2015-11-17 23:31:34 -08:00
Branimir Karadžić
c92e57a261 Fixed docs. 2015-11-17 23:24:30 -08:00
Branimir Karadžić
3ab8d3f7a5 Merge branch 'dev' 2015-11-17 22:25:31 -08:00
Branimir Karadžić
9094d162aa KTX: Fixed cubemap loading. 2015-11-17 22:10:17 -08:00
Branimir Karadžić
9955508da1 GL: Check if occlusion query functions are found. 2015-11-16 21:31:27 -08:00
Branimir Karadžić
aa9298b572 Updated ImGui. 2015-11-16 20:32:11 -08:00
Branimir Karadžić
97339918a0 Cleanup. 2015-11-16 15:51:30 -08:00
Branimir Karadžić
f64c050460 Fixed Remotery integration. 2015-11-16 11:02:41 -08:00
Branimir Karadžić
7652659dcc Updated Remotery. 2015-11-16 08:47:40 -08:00
Branimir Karadžić
8ef9e248f1 Cleanup. 2015-11-16 08:45:13 -08:00
Branimir Karadžić
9897e6c784 Merge pull request #573 from andr3wmac/extended_profiling
Extended Remotery profiling.
2015-11-16 08:42:49 -08:00
Andrew Mac
6c395391a1 Extended Remotery profiling. 2015-11-16 10:42:56 -04:00
Branimir Karadžić
bc04ad0814 Cleanup. 2015-11-15 21:00:59 -08:00
Branimir Karadžić
8677017bac KTX: Added support for more formats and stubbed writer. 2015-11-15 20:40:23 -08:00