summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine/indexbuffer9.h
diff options
context:
space:
mode:
authorAxel Davy <[email protected]>2016-12-04 20:34:59 +0100
committerAxel Davy <[email protected]>2016-12-20 23:47:08 +0100
commitbad7f7cc638391acc93f070fce3e1b7035dc48f8 (patch)
treedfc3dc7cad2a96efa3b131a803294c5599330d41 /src/gallium/state_trackers/nine/indexbuffer9.h
parent8960be0e939bc6c0f9f34c5d4a16891af7e325fd (diff)
st/nine: Implement new buffer upload path
This new buffer upload path enables to lock faster than the normal path when using DISCARD/NOOVERWRITE. v2: Diverse cleanups and fixes. v3: Fix allocation size for 'lone' buffers and add more debug info. v4: Rewrite of the path to handle when DISCARD/NOOVERWRITE is not used anymore. The resource content is copied to the new resource used. v5: flush for safety after unmap (not sure it is really required here, but safer to flush). v6: Do not use the path if persistent coherent mapping is unavailable. Fix buffer creation flags. v7: Do not flush since it is not needed. Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/indexbuffer9.h')
-rw-r--r--src/gallium/state_trackers/nine/indexbuffer9.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/nine/indexbuffer9.h b/src/gallium/state_trackers/nine/indexbuffer9.h
index 4802105c952..e695082a0c5 100644
--- a/src/gallium/state_trackers/nine/indexbuffer9.h
+++ b/src/gallium/state_trackers/nine/indexbuffer9.h
@@ -66,8 +66,6 @@ NineIndexBuffer9_dtor( struct NineIndexBuffer9 *This );
const struct pipe_index_buffer *
NineIndexBuffer9_GetBuffer( struct NineIndexBuffer9 *This );
-struct pipe_resource *
-NineIndexBuffer9_GetResource( struct NineIndexBuffer9 *This );
/*** Direct3D public ***/
HRESULT NINE_WINAPI