Home
last modified time | relevance | path

Searched refs:PIPE_MAP_DISCARD_WHOLE_RESOURCE (Results 1 – 25 of 26) sorted by relevance

12

/external/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_surface.c47 pb_flags = PIPE_MAP_WRITE | PIPE_MAP_DISCARD_WHOLE_RESOURCE; in vmw_svga_winsys_surface_init()
121 flags &= ~PIPE_MAP_DISCARD_WHOLE_RESOURCE; in vmw_svga_winsys_surface_map()
131 flags &= ~PIPE_MAP_DISCARD_WHOLE_RESOURCE; in vmw_svga_winsys_surface_map()
136 if (flags & PIPE_MAP_DISCARD_WHOLE_RESOURCE) in vmw_svga_winsys_surface_map()
144 if (!(flags & (PIPE_MAP_DISCARD_WHOLE_RESOURCE | in vmw_svga_winsys_surface_map()
154 if (flags & PIPE_MAP_DISCARD_WHOLE_RESOURCE) { in vmw_svga_winsys_surface_map()
/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_resource.c87 PIPE_MAP_DISCARD_WHOLE_RESOURCE)) in virgl_res_needs_readback()
147 PIPE_MAP_DISCARD_WHOLE_RESOURCE)) && in virgl_resource_transfer_prepare()
158 if (xfer->base.usage & PIPE_MAP_DISCARD_WHOLE_RESOURCE) { in virgl_resource_transfer_prepare()
445 (usage & PIPE_MAP_DISCARD_WHOLE_RESOURCE) && in virgl_resource_transfer_map()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_bufferobjects.c318 PIPE_MAP_DISCARD_WHOLE_RESOURCE, in bufferobj_data()
474 flags |= PIPE_MAP_DISCARD_WHOLE_RESOURCE; in st_access_flags_to_transfer_flags()
478 flags |= PIPE_MAP_DISCARD_WHOLE_RESOURCE; in st_access_flags_to_transfer_flags()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_buffer.c402 usage |= PIPE_MAP_DISCARD_WHOLE_RESOURCE; in si_buffer_transfer_map()
409 if (usage & (PIPE_MAP_DISCARD_WHOLE_RESOURCE | PIPE_MAP_DISCARD_RANGE) && in si_buffer_transfer_map()
415 usage &= ~(PIPE_MAP_DISCARD_WHOLE_RESOURCE | PIPE_MAP_UNSYNCHRONIZED); in si_buffer_transfer_map()
420 if (usage & PIPE_MAP_DISCARD_WHOLE_RESOURCE && in si_buffer_transfer_map()
/external/mesa3d/src/gallium/auxiliary/util/
Du_transfer.c26 usage |= PIPE_MAP_DISCARD_WHOLE_RESOURCE; in u_default_buffer_subdata()
Du_threaded_context.c1461 PIPE_MAP_DISCARD_WHOLE_RESOURCE) && in tc_improve_map_buffer_flags()
1467 usage &= ~(PIPE_MAP_DISCARD_WHOLE_RESOURCE | in tc_improve_map_buffer_flags()
1481 if (usage & PIPE_MAP_DISCARD_WHOLE_RESOURCE) in tc_improve_map_buffer_flags()
1500 return usage & ~PIPE_MAP_DISCARD_WHOLE_RESOURCE; in tc_improve_map_buffer_flags()
1514 usage |= PIPE_MAP_DISCARD_WHOLE_RESOURCE; in tc_improve_map_buffer_flags()
1517 if (usage & PIPE_MAP_DISCARD_WHOLE_RESOURCE) { in tc_improve_map_buffer_flags()
1527 usage &= ~PIPE_MAP_DISCARD_WHOLE_RESOURCE; in tc_improve_map_buffer_flags()
1783 PIPE_MAP_DISCARD_WHOLE_RESOURCE) || in tc_buffer_subdata()
Du_transfer_helper.c152 !(usage & (PIPE_MAP_DISCARD_WHOLE_RESOURCE | PIPE_MAP_DISCARD_RANGE)); in needs_pack()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_screen_buffer.c93 if (usage & PIPE_MAP_DISCARD_WHOLE_RESOURCE && in r300_buffer_transfer_map()
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_fragprog.c53 PIPE_MAP_WRITE | PIPE_MAP_DISCARD_WHOLE_RESOURCE, in nv30_fragprog_upload()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_transfer.c233 usage |= PIPE_MAP_DISCARD_WHOLE_RESOURCE; in etna_transfer_map()
316 if (!(usage & PIPE_MAP_DISCARD_WHOLE_RESOURCE)) in etna_transfer_map()
/external/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_buffer.c334 (PIPE_MAP_DISCARD_RANGE | PIPE_MAP_DISCARD_WHOLE_RESOURCE)
343 if (!(usage & PIPE_MAP_DISCARD_WHOLE_RESOURCE)) in nouveau_buffer_should_discard()
413 if (usage & PIPE_MAP_DISCARD_WHOLE_RESOURCE) in nouveau_buffer_transfer_map()
476 if (unlikely(usage & (PIPE_MAP_DISCARD_WHOLE_RESOURCE | in nouveau_buffer_transfer_map()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_buffer_common.c383 usage |= PIPE_MAP_DISCARD_WHOLE_RESOURCE; in r600_buffer_transfer_map()
386 if (usage & PIPE_MAP_DISCARD_WHOLE_RESOURCE && in r600_buffer_transfer_map()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_resource.c124 usage |= PIPE_MAP_DISCARD_WHOLE_RESOURCE; in vc4_resource_transfer_map()
127 if (usage & PIPE_MAP_DISCARD_WHOLE_RESOURCE) { in vc4_resource_transfer_map()
250 (usage & PIPE_MAP_DISCARD_WHOLE_RESOURCE)) { in vc4_texture_subdata()
/external/mesa3d/src/gallium/frontends/xa/
Dxa_context.c161 gallium_usage |= PIPE_MAP_DISCARD_WHOLE_RESOURCE; in xa_surface_map()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_resource_texture.c160 usage |= PIPE_MAP_DISCARD_WHOLE_RESOURCE; in svga_transfer_dma()
262 ((st->base.usage & PIPE_MAP_DISCARD_WHOLE_RESOURCE) == 0)) { in need_tex_readback()
745 if (st->base.usage & PIPE_MAP_DISCARD_WHOLE_RESOURCE) { in svga_texture_transfer_unmap_dma()
Dsvga_resource_buffer.c161 if ((usage & PIPE_MAP_DISCARD_WHOLE_RESOURCE) && in svga_buffer_transfer_map()
/external/mesa3d/src/gallium/include/pipe/
Dp_defines.h326 PIPE_MAP_DISCARD_WHOLE_RESOURCE = (1 << 12), enumerator
/external/mesa3d/src/gallium/frontends/nine/
Dbuffer9.c282 usage = PIPE_MAP_WRITE | PIPE_MAP_DISCARD_WHOLE_RESOURCE; in NineBuffer9_Lock()
Ddevice9.c356 PIPE_MAP_DISCARD_WHOLE_RESOURCE, in NineDevice9_ctor()
791 PIPE_MAP_DISCARD_WHOLE_RESOURCE, in NineDevice9_SetCursorProperties()
/external/mesa3d/src/gallium/drivers/v3d/
Dv3d_resource.c180 if (usage & PIPE_MAP_DISCARD_WHOLE_RESOURCE) { in v3d_map_usage_prep()
251 usage |= PIPE_MAP_DISCARD_WHOLE_RESOURCE; in v3d_resource_transfer_map()
/external/mesa3d/src/gallium/drivers/zink/
Dzink_resource.c518 if (!(usage & PIPE_MAP_DISCARD_WHOLE_RESOURCE)) { in zink_transfer_map()
/external/mesa3d/src/gallium/drivers/lima/
Dlima_resource.c567 if (usage & PIPE_MAP_DISCARD_WHOLE_RESOURCE) { in lima_transfer_map()
/external/mesa3d/src/gallium/drivers/panfrost/
Dpan_resource.c847 bool create_new_bo = usage & PIPE_MAP_DISCARD_WHOLE_RESOURCE; in panfrost_ptr_map()
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_resource.c679 if (usage & PIPE_MAP_DISCARD_WHOLE_RESOURCE) { in fd_resource_transfer_map()
/external/mesa3d/src/gallium/drivers/iris/
Diris_resource.c1847 if (usage & PIPE_MAP_DISCARD_WHOLE_RESOURCE) { in iris_transfer_map()

12