Searched refs:bufsurf (Results 1 – 8 of 8) sorted by relevance
244 sbuf->bufsurf = svga_buffer_add_host_surface(sbuf, sbuf->handle, in svga_buffer_create_host_surface()247 if (sbuf->bufsurf == NULL) in svga_buffer_create_host_surface()250 sbuf->bufsurf->surface_state = in svga_buffer_create_host_surface()287 assert(sbuf->bufsurf); in svga_buffer_recreate_host_surface()293 sbuf->bufsurf->surface_state = SVGA_SURFACE_STATE_RENDERED; in svga_buffer_recreate_host_surface()337 struct svga_buffer_surface *bufsurf; in svga_buffer_get_host_surface() local339 LIST_FOR_EACH_ENTRY(bufsurf, &sbuf->surfaces, list) { in svga_buffer_get_host_surface()340 if (compatible_bind_flags(bufsurf->bind_flags, bind_flags)) in svga_buffer_get_host_surface()341 return bufsurf; in svga_buffer_get_host_surface()356 struct svga_buffer_surface *bufsurf; in svga_buffer_add_host_surface() local[all …]
125 struct svga_buffer_surface *bufsurf; member342 assert(sbuf->bufsurf); in svga_buffer_hw_storage_unmap()343 sbuf->bufsurf->surface_state = SVGA_SURFACE_STATE_UPDATED; in svga_buffer_hw_storage_unmap()348 svga_set_buffer_rendered_to(struct svga_buffer_surface *bufsurf) in svga_set_buffer_rendered_to() argument350 bufsurf->surface_state = SVGA_SURFACE_STATE_RENDERED; in svga_set_buffer_rendered_to()355 svga_was_buffer_rendered_to(const struct svga_buffer_surface *bufsurf) in svga_was_buffer_rendered_to() argument357 return (bufsurf->surface_state == SVGA_SURFACE_STATE_RENDERED); in svga_was_buffer_rendered_to()
93 if (!sbuf->bufsurf) in need_buf_readback()97 sbuf->bufsurf->surface_state == SVGA_SURFACE_STATE_RENDERED) && in need_buf_readback()182 assert(sbuf->bufsurf); in svga_buffer_transfer_map()183 sbuf->bufsurf->surface_state = SVGA_SURFACE_STATE_UPDATED; in svga_buffer_transfer_map()
825 struct svga_buffer_surface *bufsurf = buf->bufsurf; in is_texture_valid_to_copy() local827 return (bufsurf && in is_texture_valid_to_copy()828 bufsurf->surface_state >= SVGA_SURFACE_STATE_UPDATED); in is_texture_valid_to_copy()927 assert(dbuffer->bufsurf); in svga_resource_copy_region()928 dbuffer->bufsurf->surface_state = SVGA_SURFACE_STATE_RENDERED; in svga_resource_copy_region()
67 struct svga_buffer_surface *bufsurf);
463 assert(sbuf->bufsurf); in svga_set_stream_output_targets()464 sbuf->bufsurf->surface_state = SVGA_SURFACE_STATE_RENDERED; in svga_set_stream_output_targets()
340 svga_set_buffer_rendered_to(sbuf->bufsurf); in svga_validate_shader_buffer_resources()
286 svga_set_buffer_rendered_to(sbuf->bufsurf); in svga_validate_image_view_resources()