X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fgallium%2Fdrivers%2Fsvga%2Fsvga_resource_buffer_upload.h;h=c2d749b20911fb6c20ec76dad2b3ea5def0ab1dc;hb=8a4b0d852c1f28c302e0df6fa63dbc08a32bc683;hp=f718f24c905d0f62208e61c7ae0e28711b1703d1;hpb=4a79b508a4a7cd608059dd30461e086651ae48b5;p=mesa.git diff --git a/src/gallium/drivers/svga/svga_resource_buffer_upload.h b/src/gallium/drivers/svga/svga_resource_buffer_upload.h index f718f24c905..c2d749b2091 100644 --- a/src/gallium/drivers/svga/svga_resource_buffer_upload.h +++ b/src/gallium/drivers/svga/svga_resource_buffer_upload.h @@ -50,6 +50,27 @@ svga_buffer_create_host_surface(struct svga_screen *ss, struct svga_buffer *sbuf, unsigned bind_flags); +enum pipe_error +svga_buffer_recreate_host_surface(struct svga_context *svga, + struct svga_buffer *sbuf, + unsigned bind_flags); + +enum pipe_error +svga_buffer_add_host_surface(struct svga_buffer *sbuf, + struct svga_winsys_surface *handle, + struct svga_host_surface_cache_key *key, + unsigned bind_flags); + +void +svga_buffer_bind_host_surface(struct svga_context *svga, + struct svga_buffer *sbuf, + struct svga_buffer_surface *bufsurf); + +enum pipe_error +svga_buffer_validate_host_surface(struct svga_context *svga, + struct svga_buffer *sbuf, + unsigned bind_flags); + void svga_buffer_destroy_host_surface(struct svga_screen *ss, struct svga_buffer *sbuf);