Branimir Karadžić
3e212b519f
Moving code around and renaming files.
2017-07-15 21:01:08 -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ć
aaaf47242c
Cleanup.
2017-06-20 21:01:59 -07:00
Branimir Karadžić
efa7984d01
Cleanup.
2017-06-20 20:56:13 -07:00
Branimir Karadžić
96ae04767c
Cleanup.
2017-06-20 20:32:02 -07:00
Branimir Karadžić
c18dcadfc6
Cleanup.
2017-06-20 20:42:46 -07:00
attilaz
b89b1459a2
14-shadowvolumes: switched to imgui ( #1169 )
2017-06-20 20:37:43 -07:00
Branimir Karadžić
1e634c9cf5
Cleanup.
2017-06-15 11:25:05 -07:00
attilaz
2d8f5e01e1
ShadowVolumes to entry::AppI ( #1160 )
2017-06-15 09:57:08 -07:00
Branimir Karadžić
07d799f72e
Renamed constants to new style.
2017-06-09 21:57:08 -07:00
Branimir Karadžić
3fbcddb4ef
Renamed constants to new style.
2017-06-09 20:08:52 -07:00
Branimir Karadžić
68c6b46a65
Exposed vertex stream argument to API.
2017-05-14 11:48:59 -07:00
Branimir Karadžić
8499319009
Cleanup.
2017-03-31 21:01:08 -07:00
Branimir Karadžić
5375aa5a03
Fixed warnings.
2017-03-12 18:25:23 -07:00
Branimir Karadžić
0838dad5ab
Fixed build.
2017-02-14 20:27:31 -08:00
Branimir Karadžić
b99ebb9535
Cleanup.
2017-02-08 19:55:31 -08:00
Branimir Karadžić
a5bb9be4ed
Cleanup.
2016-12-08 20:45:01 -08:00
Branimir Karadžić
34db235454
API change: Added getTexture from FrameBufferHandle, and removed all helper APIs that were using FrameBufferHandle and attachment. Related to issue #975 .
2016-11-15 20:23:52 -08:00
Branimir Karadžić
1bf5bdd376
Cleanup.
2016-10-29 10:36:09 -07:00
Branimir Karadžić
c98be90bf5
WIP: Texture array support.
2016-08-19 21:05:37 -07:00
Branimir Karadžić
ce878f9180
Renaming float4_t to simd128_t.
2016-07-18 19:03:25 -07:00
Branimir Karadžić
a94089e29f
Added simple texture viewer tool.
2016-04-21 22:12:35 -07:00
Branimir Karadžić
4e12ff7274
Cleanup.
2016-04-01 21:49:06 -07:00
Branimir Karadžić
db64e34681
Cleanup.
2016-03-06 14:59:14 -08:00
Branimir Karadžić
dc46b1a36b
Cleanup.
2016-02-21 13:59:38 -08:00
Branimir Karadžić
016bfc4290
Improved reader/writer error handling.
2016-01-31 16:00:02 -08: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ć
4bb2b623d3
Happy New Year!
2016-01-01 00:11:04 -08:00
Stephen Hill
e0e772f71c
Fixed repeat typo: lightning => lighting
2015-11-29 18:39:16 -05:00
Branimir Karadžić
1c51d81006
Cleanup.
2015-10-23 20:52:22 -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ć
4018a4b690
imgui: Added handling middle mouse button.
2015-08-25 22:59:20 -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
ocornut
eccbae09b1
Fixes for ocornut-imgui integrations: mouse wheel, render callbacks
2015-06-10 08:53:50 -06:00
Branimir Karadžić
9ebcfab447
Cleanup.
2015-06-07 21:28:36 -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ć
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ć
a34e6e7965
Fixed VS2015 warnings.
2015-03-29 11:47:32 -07: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
Branimir Karadžić
6506add5a9
Added embedded font to imgui.
2015-01-23 23:02:56 -08:00
Branimir Karadžić
bbeb0a3ffe
Updated to latest ocornut imgui.
2015-01-22 21:01:09 -08:00
Branimir Karadžić
ff7f967c1b
Removed _BIT suffix from BGFX_CLEAR_* flags.
2015-01-10 21:39:45 -08:00
Branimir Karadžić
73a227cefd
SDL2: Added gamepad support.
2014-12-15 20:58:54 -08:00