Branimir Karadžić
5a03a03b95
D3D11: Fixed dynamic index/vertex buffer update. Issue #601 .
2015-12-16 11:44:42 -08:00
Branimir Karadžić
a02086c119
SortKey: Added static check for overlaps.
2015-12-09 16:56:56 -08:00
Branimir Karadžić
d59cf406c0
SortKey: Added check for invalid sequence value.
2015-12-09 11:46:45 -08:00
Branimir Karadžić
a303759e4c
Fixed GL Remotery.
2015-11-18 23:42:35 -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ć
5ff8fcaa01
Cleanup.
2015-11-10 19:43:08 -08:00
Branimir Karadžić
142521c8af
Cleanup (issue #566 ).
2015-11-09 19:48:23 -08:00
Branimir Karadžić
5cd89ff624
Added BGFX_PROFILER_SCOPE.
2015-11-09 19:18:42 -08:00
Branimir Karadžić
40d526744a
Simplifed allocator.
2015-11-06 22:03:06 -08:00
Branimir Karadžić
517e5069c9
Warn on matrix cache overflow.
2015-11-05 22:10:32 -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ć
dc71df5ecc
Added occlusion query handle debug code.
2015-11-02 16:38:55 -08:00
Branimir Karadžić
202bfbd174
Cleanup.
2015-11-02 13:13:57 -08:00
Branimir Karadžić
6aa9629816
Added initial occlusion query support.
2015-11-01 17:28:23 -08:00
Branimir Karadžić
72774fd8e1
Added resetView.
2015-10-27 15:14:48 -07:00
Branimir Karadžić
76ad2441b0
D3D9: Fixed volume texture update.
2015-10-23 12:57:04 -07:00
Branimir Karadžić
49b4d32f15
Fixed automatic framebuffer resize.
2015-10-21 16:55:50 -07:00
Branimir Karadžić
6aa6efda12
Added initial texture read back support.
2015-10-20 16:32:08 -07:00
Branimir Karadžić
54fc1b26bc
Added blit debug check.
2015-10-15 20:38:00 -07:00
Branimir Karadžić
ad5a46779a
Added blit.
2015-10-15 16:38:59 -07:00
Branimir Karadžić
1dfd3fd9d9
Added debug check for arguments.
2015-10-13 18:28:22 -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
Branimir Karadžić
6f6131f694
Cleanup.
2015-09-17 21:17:38 -07:00
Branimir Karadžić
54be2d5b77
Cleanup.
2015-09-17 19:55:01 -07:00
Branimir Karadžić
ae71103bf9
Added border color index.
2015-09-16 17:21:28 -07:00
Branimir Karadžić
5690e1cde8
Added uniform buffer dynamic resizing.
2015-09-14 15:53:33 -07:00
Branimir Karadžić
00a630a783
Cleanup.
2015-09-09 20:18:55 -07:00
Branimir Karadžić
561b7aa793
Cleanup.
2015-09-01 22:15:47 -07:00
Branimir Karadžić
11d2aa855f
Fixed uniform type.
2015-09-01 16:48:01 -07:00
Branimir Karadžić
4470f7097c
Fixed HLSL reflection for samplers.
2015-09-01 16:44:11 -07:00
Branimir Karadžić
d960217e9b
D3D12: Cleanup.
2015-08-30 08:52:53 -07:00
Branimir Karadžić
bb89e6291c
Cleanup.
2015-08-28 20:34:14 -07:00
Branimir Karadžić
ece46d71bc
Cleaned texture format names.
2015-08-28 14:48:51 -07:00
Branimir Karadžić
7acf2b2616
Fixed compute program.
2015-08-24 15:40:11 -07:00
Branimir Karadžić
c93d8db523
Added program refcounting.
2015-08-24 14:52:21 -07:00
Branimir Karadžić
63e10f3357
D3D11: Fixed compute image mip selection.
2015-08-15 18:07:43 -07:00
Branimir Karadžić
9c9dc90336
Fixed early texture destruction when multiple frame buffers take ownership.
2015-08-07 17:31:31 -07:00
Branimir Karadžić
5f59978e6b
Added graceful error handling during initialization.
2015-07-30 18:36:12 -07:00
Branimir Karadžić
b702dcdf3c
D3D12: Initial commit.
2015-07-29 19:38:17 -07:00
Branimir Karadžić
cb6cee9dd1
Updated trace callback.
2015-07-24 18:02:17 -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
Branimir Karadžić
b98d3b6978
Added trace method to callback interface.
2015-07-16 17:39:02 -07:00
Branimir Karadžić
f36bfe2e4f
Added offset for updating dynamic buffers.
2015-06-23 16:40:38 -07:00
Branimir Karadžić
52cfaf0aaa
Added Metal renderer backend stub.
2015-06-11 09:38:17 -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