svga_buffer_transfer_map(struct pipe_context *pipe,
struct pipe_resource *resource,
unsigned level,
- unsigned usage,
+ enum pipe_resource_usage usage,
const struct pipe_box *box,
struct pipe_transfer **ptransfer)
{
*/
struct svga_winsys_surface *
svga_screen_surface_create(struct svga_screen *svgascreen,
- unsigned bind_flags, unsigned usage,
+ unsigned bind_flags, enum pipe_resource_usage usage,
struct svga_host_surface_cache_key *key)
{
struct svga_winsys_screen *sws = svgascreen->sws;
struct svga_winsys_surface *
svga_screen_surface_create(struct svga_screen *svgascreen,
- unsigned bind_flags, unsigned usage,
+ unsigned bind_flags, enum pipe_resource_usage usage,
struct svga_host_surface_cache_key *key);
void