Home
last modified time | relevance | path

Searched refs:bind_flags (Results 1 – 17 of 17) sorted by relevance

/external/mesa3d/src/gallium/drivers/svga/
Dsvga_resource_buffer_upload.c119 unsigned bind_flags) in svga_buffer_create_hw_storage() argument
125 return svga_buffer_create_host_surface(ss, sbuf, bind_flags); in svga_buffer_create_hw_storage()
151 unsigned bind_flags) in svga_buffer_create_host_surface() argument
163 if (bind_flags & PIPE_BIND_VERTEX_BUFFER) { in svga_buffer_create_host_surface()
167 if (bind_flags & PIPE_BIND_INDEX_BUFFER) { in svga_buffer_create_host_surface()
171 if (bind_flags & PIPE_BIND_CONSTANT_BUFFER) in svga_buffer_create_host_surface()
174 if (bind_flags & PIPE_BIND_STREAM_OUTPUT) in svga_buffer_create_host_surface()
177 if (bind_flags & PIPE_BIND_SAMPLER_VIEW) in svga_buffer_create_host_surface()
180 if (bind_flags & PIPE_BIND_COMMAND_ARGS_BUFFER) { in svga_buffer_create_host_surface()
185 if (!bind_flags && sbuf->b.b.usage == PIPE_USAGE_STAGING) { in svga_buffer_create_host_surface()
[all …]
Dsvga_resource_buffer.c141 (void) svga_buffer_handle(svga, resource, sbuf->bind_flags); in svga_buffer_transfer_map()
247 if (svga_buffer_create_hw_storage(ss, sbuf, sbuf->bind_flags) != PIPE_OK) { in svga_buffer_transfer_map()
372 (!sbuf->bind_flags || (sbuf->bind_flags & PIPE_BIND_CONSTANT_BUFFER))) { in svga_buffer_transfer_unmap()
442 unsigned bind_flags; in svga_buffer_create() local
454 bind_flags = template->bind & ~PIPE_BIND_CUSTOM; in svga_buffer_create()
458 if (bind_flags & PIPE_BIND_CONSTANT_BUFFER) { in svga_buffer_create()
463 bind_flags = PIPE_BIND_CONSTANT_BUFFER; in svga_buffer_create()
490 bind_flags |= (PIPE_BIND_VERTEX_BUFFER | in svga_buffer_create()
494 bind_flags |= PIPE_BIND_SAMPLER_VIEW; in svga_buffer_create()
497 if (svga_buffer_create_host_surface(ss, sbuf, bind_flags) != PIPE_OK) in svga_buffer_create()
[all …]
Dsvga_resource_buffer_upload.h42 unsigned bind_flags);
51 unsigned bind_flags);
56 unsigned bind_flags);
62 unsigned bind_flags);
72 unsigned bind_flags);
Dsvga_resource_buffer.h68 unsigned bind_flags; member
81 unsigned bind_flags; member
Dsvga_screen_cache.h150 unsigned bind_flags, enum pipe_resource_usage usage,
Dsvga_surface.h97 unsigned bind_flags,
Dsvga_screen_cache.c485 unsigned bind_flags, enum pipe_resource_usage usage, in svga_screen_surface_create() argument
525 else if (bind_flags & PIPE_BIND_INDEX_BUFFER) { in svga_screen_surface_create()
Dsvga_pipe_blit.c837 src_surf = svga_buffer_handle(svga, src_tex, sbuffer->bind_flags); in svga_resource_copy_region()
838 dst_surf = svga_buffer_handle(svga, dst_tex, dbuffer->bind_flags); in svga_resource_copy_region()
Dsvga_surface.c184 unsigned bind_flags, in svga_texture_view_surface() argument
243 handle = svga_screen_surface_create(ss, bind_flags, PIPE_USAGE_DEFAULT, in svga_texture_view_surface()
/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_image.c78 if (create_info->bind_flags) in lvp_image_create()
79 template.bind = create_info->bind_flags; in lvp_image_create()
98 .bind_flags = 0, in lvp_CreateImage()
Dlvp_private.h322 uint32_t bind_flags; member
/external/mesa3d/src/gallium/frontends/wgl/
Dstw_pixelformat.c233 unsigned bind_flags = PIPE_BIND_RENDER_TARGET; in add_color_format_variants() local
247 bind_flags |= PIPE_BIND_DISPLAY_TARGET; in add_color_format_variants()
259 bind_flags)) { in add_color_format_variants()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_context.h190 unsigned bind_flags);
Dlp_texture.c743 unsigned bind_flags) in llvmpipe_user_buffer_create() argument
754 buffer->base.bind = bind_flags; in llvmpipe_user_buffer_create()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_context.h226 unsigned bind_flags);
Dsp_texture.c487 unsigned bind_flags) in softpipe_user_buffer_create() argument
498 spr->base.bind = bind_flags; in softpipe_user_buffer_create()
/external/mesa3d/src/mesa/state_tracker/
Dst_extensions.c632 unsigned bind_flags) in init_format_extensions() argument
646 target, 0, 0, bind_flags)) { in init_format_extensions()