/external/mesa3d/src/gallium/winsys/svga/drm/ |
D | vmw_surface.c | 47 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/ |
D | virgl_resource.c | 87 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/ |
D | st_cb_bufferobjects.c | 318 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/ |
D | si_buffer.c | 402 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/ |
D | u_transfer.c | 26 usage |= PIPE_MAP_DISCARD_WHOLE_RESOURCE; in u_default_buffer_subdata()
|
D | u_threaded_context.c | 1461 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()
|
D | u_transfer_helper.c | 152 !(usage & (PIPE_MAP_DISCARD_WHOLE_RESOURCE | PIPE_MAP_DISCARD_RANGE)); in needs_pack()
|
/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_screen_buffer.c | 93 if (usage & PIPE_MAP_DISCARD_WHOLE_RESOURCE && in r300_buffer_transfer_map()
|
/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv30_fragprog.c | 53 PIPE_MAP_WRITE | PIPE_MAP_DISCARD_WHOLE_RESOURCE, in nv30_fragprog_upload()
|
/external/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_transfer.c | 233 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/ |
D | nouveau_buffer.c | 334 (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/ |
D | r600_buffer_common.c | 383 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/ |
D | vc4_resource.c | 124 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/ |
D | xa_context.c | 161 gallium_usage |= PIPE_MAP_DISCARD_WHOLE_RESOURCE; in xa_surface_map()
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_resource_texture.c | 160 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()
|
D | svga_resource_buffer.c | 161 if ((usage & PIPE_MAP_DISCARD_WHOLE_RESOURCE) && in svga_buffer_transfer_map()
|
/external/mesa3d/src/gallium/include/pipe/ |
D | p_defines.h | 326 PIPE_MAP_DISCARD_WHOLE_RESOURCE = (1 << 12), enumerator
|
/external/mesa3d/src/gallium/frontends/nine/ |
D | buffer9.c | 282 usage = PIPE_MAP_WRITE | PIPE_MAP_DISCARD_WHOLE_RESOURCE; in NineBuffer9_Lock()
|
D | device9.c | 356 PIPE_MAP_DISCARD_WHOLE_RESOURCE, in NineDevice9_ctor() 791 PIPE_MAP_DISCARD_WHOLE_RESOURCE, in NineDevice9_SetCursorProperties()
|
/external/mesa3d/src/gallium/drivers/v3d/ |
D | v3d_resource.c | 180 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/ |
D | zink_resource.c | 518 if (!(usage & PIPE_MAP_DISCARD_WHOLE_RESOURCE)) { in zink_transfer_map()
|
/external/mesa3d/src/gallium/drivers/lima/ |
D | lima_resource.c | 567 if (usage & PIPE_MAP_DISCARD_WHOLE_RESOURCE) { in lima_transfer_map()
|
/external/mesa3d/src/gallium/drivers/panfrost/ |
D | pan_resource.c | 847 bool create_new_bo = usage & PIPE_MAP_DISCARD_WHOLE_RESOURCE; in panfrost_ptr_map()
|
/external/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_resource.c | 679 if (usage & PIPE_MAP_DISCARD_WHOLE_RESOURCE) { in fd_resource_transfer_map()
|
/external/mesa3d/src/gallium/drivers/iris/ |
D | iris_resource.c | 1847 if (usage & PIPE_MAP_DISCARD_WHOLE_RESOURCE) { in iris_transfer_map()
|