Branimir Karadžić
0dd6083787
Cleanup.
2017-09-02 19:30:40 -07:00
Branimir Karadžić
7c9b2b7257
API change: Simplified destroy functions to use overload resolution.
2017-07-17 22:29:43 -07:00
Branimir Karadžić
a274c9a6c5
Replaced BX_OVERRIDE with override.
2017-07-15 00:17:29 -07:00
Branimir Karadžić
0fad539078
Cleanup.
2017-06-29 23:19:20 -07:00
Branimir Karadžić
917385f79e
Cleanup.
2017-06-29 22:23:18 -07:00
Branimir Karadžić
5f666a5ee2
Combined all examples. Issue #1143 .
2017-06-25 21:44:04 -07:00
Branimir Karadžić
236ef4b875
Fixed shader binary truncation. Issue #1170 .
2017-06-20 20:34:41 -07:00
Branimir Karadžić
68c6b46a65
Exposed vertex stream argument to API.
2017-05-14 11:48:59 -07:00
Branimir Karadžić
610055fbb0
Rebuilt shaders, removed unused shaders.
2017-04-11 19:46:40 -07:00
Branimir Karadžić
837d92159a
Rebuilt shaders.
2017-03-24 20:29:24 -07:00
Branimir Karadžić
65f2b998ff
Updated shaders.
2017-02-24 19:43:40 -08:00
Branimir Karadžić
2e3bdc619e
Fixed projection matrix.
2017-02-22 22:17:44 -08:00
Branimir Karadžić
0838dad5ab
Fixed build.
2017-02-14 20:27:31 -08:00
Branimir Karadžić
d72aff9e5d
Rebuilt shaders.
2017-02-11 10:30:16 -08:00
Branimir Karadžić
b9b8a6e871
Cleanup.
2017-01-04 08:34:25 -08:00
Branimir Karadžić
3b83f53ab1
Happy New Year!
2017-01-01 00:18:41 -08:00
Branimir Karadžić
5a1b718a1f
Updating embedded shader handling.
2016-12-05 20:12:31 -08:00
Branimir Karadžić
eaa73c9b2e
Rebuilt shaders.
2016-10-31 22:13:21 -07:00
Branimir Karadžić
69c5902453
Rebuilt shaders.
2016-09-30 20:03:41 -07:00
Branimir Karadžić
071912b2d2
Fixed MSVC L4 warnings.
2016-05-06 21:29:47 -07:00
Branimir Karadžić
3eda14fac5
Cleanup.
2016-04-05 19:33:05 -07:00
Krzysztof Kondrak
76a46af418
use separate projection matrices for left/right eyes in HMD demos
2016-04-04 21:29:36 +02:00
Krzysztof Kondrak
bea6e81d12
OculusVR: updated to SDK 1.3
2016-04-02 11:41:40 +02:00
Branimir Karadžić
086285a3e2
Cleanup.
2016-03-06 15:29:22 -08:00
Branimir Karadžić
9edede219e
Cleanup.
2016-03-06 15:07:35 -08:00
Branimir Karadžić
2b77088a38
Cleanup.
2016-03-05 11:03:52 -08:00
Branimir Karadžić
861a63bf2e
Updated makefiles.
2016-02-29 19:58:17 -08:00
Branimir Karadžić
a972d1fef0
Tools cleanup.
2016-01-30 16:15:25 -08:00
Branimir Karadžić
4bb2b623d3
Happy New Year!
2016-01-01 00:11:04 -08:00
Branimir Karadžić
fac71e9e35
Fixed issue #569 .
2015-12-08 16:09:30 -08:00
Branimir Karadžić
69fd07a590
Rebuilt shaders.
2015-10-24 22:47:24 -07:00
Branimir Karadžić
1c51d81006
Cleanup.
2015-10-23 20:52:22 -07:00
Branimir Karadžić
522fb9cbcc
Metal: Added embedded shaders.
2015-10-07 15:05:00 -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
Branimir Karadžić
4470f7097c
Fixed HLSL reflection for samplers.
2015-09-01 16:44:11 -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ć
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ć
921a315c4d
Cleanup.
2015-07-16 20:28:43 -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ć
ff01992cb7
Refactored uniform types.
2015-05-28 15:27:00 -07:00
Branimir Karadžić
57cfeffb8d
Rebuilt shaders.
2015-04-11 18:18:43 -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ć
584baba7d7
Rebuilt embedded shaders.
2015-04-02 23:36:53 -07:00
Branimir Karadžić
a34e6e7965
Fixed VS2015 warnings.
2015-03-29 11:47:32 -07:00
Branimir Karadžić
13ac805085
Cleanup.
2015-02-16 21:58:13 -08:00
Branimir Karadžić
ff7f967c1b
Removed _BIT suffix from BGFX_CLEAR_* flags.
2015-01-10 21:39:45 -08:00
Branimir Karadžić
649d7f74d2
Updated copyright year.
2015-01-02 14:43:11 -08:00
Branimir Karadžić
c25dd466be
Updated copyright year.
2015-01-01 15:04:46 -08:00
Branimir Karadžić
878cbd41bd
shaderc: Added shader strip.
2014-12-05 20:28:15 -08:00