Home
last modified time | relevance | path

Searched refs:bufsurf (Results 1 – 8 of 8) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_resource_buffer_upload.c244 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() local
339 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 …]
Dsvga_resource_buffer.h125 struct svga_buffer_surface *bufsurf; member
342 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() argument
350 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() argument
357 return (bufsurf->surface_state == SVGA_SURFACE_STATE_RENDERED); in svga_was_buffer_rendered_to()
Dsvga_resource_buffer.c93 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()
Dsvga_pipe_blit.c825 struct svga_buffer_surface *bufsurf = buf->bufsurf; in is_texture_valid_to_copy() local
827 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()
Dsvga_resource_buffer_upload.h67 struct svga_buffer_surface *bufsurf);
Dsvga_pipe_streamout.c463 assert(sbuf->bufsurf); in svga_set_stream_output_targets()
464 sbuf->bufsurf->surface_state = SVGA_SURFACE_STATE_RENDERED; in svga_set_stream_output_targets()
Dsvga_shader_buffer.c340 svga_set_buffer_rendered_to(sbuf->bufsurf); in svga_validate_shader_buffer_resources()
Dsvga_image_view.c286 svga_set_buffer_rendered_to(sbuf->bufsurf); in svga_validate_image_view_resources()