Branimir Karadžić
45e7bf5df4
Making RG11B10F name consistent with other texture formats.
2017-04-24 20:31:58 -07:00
Branimir Karadžić
c9679731a5
Renaming string functions.
2017-04-22 14:47:02 -07:00
Branimir Karadžić
6e9e862565
Renaming string functions.
2017-04-16 21:56:17 -07:00
Branimir Karadžić
73edc54b2e
D3D11: Quiet some debug messages.
2017-04-14 18:10:15 -07:00
Branimir Karadžić
91f7782223
Cleanup.
2017-04-08 10:46:27 -07:00
Branimir Karadžić
dc69484d06
Revert commented out code.
2017-04-08 10:35:19 -07:00
Branimir Karadžić
814d04fcc5
noop: Pretend all features are available.
2017-04-08 10:17:55 -07:00
Branimir Karadžić
8b14a7e977
Added fall back to noop renderer when device is removed.
2017-04-07 19:07:20 -07:00
Branimir Karadžić
81f9162d58
Moved bindings outside of render item.
2017-04-06 20:32:48 -07:00
PyryM
83e30ec609
api changes ( #1107 )
...
d3d11 + opengl implementations
everything else will have very strange behavior if you try to bind a
buffer to a shader
avoid compiler error/warning about unused parameter
copy paste mistake
add in function for index buffers as well
Might as well cover all the bases; index buffers are also a convenient
way to create int-typed buffers, since there aren't int32 vertex
attributes.
get rid of precision loss warnings
d3d12 bindShaderBuffer implementation
throw an assert on d3d9 at least
BX_CHECK on metal as well (no compute support atm)
simplify api since access is restricted to read
hide from public api at the moment
move comment into correct branch of if
Feature: bind vertex/index buffers for vertex/fragment shaders
2017-04-06 18:59:30 -07:00
Branimir Karadžić
8ce85d2462
Added bimg dependency.
2017-04-03 22:42:27 -07:00
Branimir Karadžić
423c655095
Cleanup.
2017-04-03 20:43:57 -07:00
Branimir Karadžić
082b2a0c02
Fixed issue #1085 .
2017-03-23 20:27:16 -07:00
Branimir Karadžić
b0e13445db
Exposed occlusion query result.
2017-03-06 17:23:22 -08:00
Branimir Karadžić
a1184d53c5
Invalidate occlusion queries in flight when new occlusion query with the same id is created.
2017-03-03 18:05:36 -08:00
Branimir Karadžić
1444704901
Cleanup.
2017-03-02 19:29:34 -08:00
Branimir Karadžić
86fc54ccfc
Added ability to specify swap chain for screenshot.
2017-03-02 18:02:14 -08:00
Branimir Karadžić
bfe5a66b3e
Cleanup.
2017-02-09 19:31:19 -08:00
Branimir Karadžić
b99ebb9535
Cleanup.
2017-02-08 19:55:31 -08:00
Branimir Karadžić
aa2a9deb5f
Cleanup.
2017-02-08 18:17:59 -08:00
Branimir Karadžić
03e6076e59
Cleanup.
2017-02-07 16:02:17 -08:00
Branimir Karadžić
b62fe2749f
Fixed create/destroy windows.
2017-01-26 15:34:11 -08:00
Branimir Karadžić
f63553fecc
Cleanup.
2017-01-15 16:22:47 -08:00
Branimir Karadžić
8b3f752af5
Skip rendering when scissor is zero area.
2017-01-11 20:38:38 -08:00
Branimir Karadžić
14dbb67320
Fixed IFH debug flag.
2017-01-10 17:14:50 -08:00
Branimir Karadžić
3b83f53ab1
Happy New Year!
2017-01-01 00:18:41 -08:00
Branimir Karadžić
5a0d824331
Exposed a few more internal performats stats.
2016-12-19 17:18:07 -08:00
Branimir Karadžić
706facc788
Fixed blit with view remapping.
2016-11-20 14:29:37 -08:00
Matthew Endsley
e090bb9851
Use a single render target for VR rendering ( #977 )
...
This allows the game to render to a single FB and
pass that into existing post process pipeline.
2016-11-16 18:00:10 -08:00
Branimir Karadžić
afb7ec3d73
Cleanup.
2016-11-15 16:57:28 -08:00
Branimir Karadžić
e86aee5f2e
Don't present backbuffer if it's not affected by rendering.
2016-11-13 20:59:41 -08:00
Branimir Karadžić
025d806c70
Present swap chain only when it's updated.
2016-11-09 14:29:37 -08:00
Branimir Karadžić
daeab5c239
OVR: Fixed redundant clears.
2016-11-05 19:13:35 -07:00
Branimir Karadžić
a3113ab94c
Added ability to retrieve uniform info.
2016-11-02 00:12:40 -07:00
benoitjacquier
eaea9551fb
readtextur mip level fix ( #956 )
2016-10-25 08:59:37 -07:00
Branimir Karadžić
a43f63e8e2
Cleanup.
2016-10-24 10:58:24 -07:00
benoitjacquier
74298e9940
readTexture mip support / D3D9 / D3D11
2016-10-21 17:22:05 +02:00
benoitjacquier
3efd4a796d
Cubemap as Texture Array
...
Cubemap's UAV are texture arrays
2016-10-19 18:17:44 +02:00
Branimir Karadžić
1c3e28fd9d
Cleanup.
2016-09-29 18:30:21 -07:00
Branimir Karadžić
50d867bbc2
Added limits info to caps.
2016-09-24 00:29:59 -07:00
Matthew Endsley
6ca7205391
Add BX_OVERRIDE directives to new VR classes
2016-09-16 21:25:25 -07:00
Matthew Endsley
d9dd4bceb5
Add platform agnostic bgfx::VR for renderers to interface
...
The new platform agnositic class bgfx::VR manages the
functionality that is shared across the various VR platforms.
The individual platform renderers no longer need
to interface with the internal VR tpyes (OVRRenderI) directly
This greatly simplifies the OVR object's surface area which
is now provided by the VRImplI interface. bgfx::VR now manages
core lifecycle issues of the headset.
The notable renderer API changes are the separation of sensor
sampling and rendering. We need these separate so we can control
the timing (later commit) of camera sampling with finer granularity
than at the start of the video frame.
2016-09-16 20:03:12 -07:00
Branimir Karadžić
f65f6303d9
Merge pull request #919 from mendsley/fix_vrleak
...
Release all D3D11 VR eye render target views
2016-09-16 16:10:50 -07:00
Matthew Endsley
f98370b77a
Release all D3D11 VR eye render target views
2016-09-16 15:47:35 -07:00
Matthew Endsley
fd6ed06968
Fix opengl OVR texture lifetime issues
...
Clear mirror and eye textures of OVRRenderI at startup
instead of in the individual renderer interfaces
2016-09-16 15:45:52 -07:00
Branimir Karadžić
37f00de7de
Fixed issue #917 .
2016-09-15 20:54:00 -07:00
Matthew Endsley
eec95aeef6
Combine OVRBufferI and OVRMirrorI into a single interface
...
Simplify the renderer interface for VR to separate the OVR
implementation from the overall HMD foundation.
Part of merging OpenVR back upstream.
2016-09-14 17:50:15 -07:00
Branimir Karadžić
1ae77b0cfb
WIP: Adding vertex stream support.
2016-09-12 19:38:29 -07:00
Branimir Karadžić
425868f391
Cleanup.
2016-09-08 17:00:16 -07:00
Mikulas Florek
da08b8b993
fixed updateTexture2D in D3D11
2016-08-25 14:56:36 +02:00