Commit graph

1038 commits

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