summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_winsys.h
diff options
context:
space:
mode:
authorThomas Hellstrom <[email protected]>2019-05-08 15:50:18 +0200
committerThomas Hellstrom <[email protected]>2019-05-17 08:44:31 +0200
commiteed24156ec9ca24dfab71234d0938d358a214ecb (patch)
tree4b631c0ed5e310789b3cf91d7090096f0b062596 /src/gallium/drivers/svga/svga_winsys.h
parent0f598ed7b3d2b3886ea5d742e7b0ced2b1702f28 (diff)
svga: Remove the surface_invalidate winsys function
Instead unconditionally call SVGA3D_InvalidateGBSurface() since it's needed also for Linux for dirty buffers and operation without SurfaceDMA. For non-guest-backed operation, remove the surface cache surface invalidation altogether. Signed-off-by: Thomas Hellstrom <[email protected]> Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svga_winsys.h')
-rw-r--r--src/gallium/drivers/svga/svga_winsys.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/gallium/drivers/svga/svga_winsys.h b/src/gallium/drivers/svga/svga_winsys.h
index 14782e19a7d..174b5f3b78f 100644
--- a/src/gallium/drivers/svga/svga_winsys.h
+++ b/src/gallium/drivers/svga/svga_winsys.h
@@ -412,13 +412,6 @@ struct svga_winsys_context
boolean *rebind);
/**
- * Invalidate the content of this surface
- */
- enum pipe_error
- (*surface_invalidate)(struct svga_winsys_context *swc,
- struct svga_winsys_surface *surface);
-
- /**
* Create and define a DX GB shader that resides in the device COTable.
* Caller of this function will issue the DXDefineShader command.
*/