Home
last modified time | relevance | path

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

12

/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_resource.h66 struct fd_resource { struct
80 struct fd_resource *stencil; argument
101 static inline struct fd_resource * argument
102 fd_resource(struct pipe_resource *ptex) in fd_resource() function
104 return (struct fd_resource *)ptex; in fd_resource()
108 pending(struct fd_resource *rsc, bool write) in pending()
136 fd_resource_slice(struct fd_resource *rsc, unsigned level) in fd_resource_slice()
144 fd_resource_offset(struct fd_resource *rsc, unsigned level, unsigned layer) in fd_resource_offset()
Dfreedreno_resource.c91 realloc_bo(struct fd_resource *rsc, uint32_t size) in realloc_bo()
129 fd_try_shadow_resource(struct fd_context *ctx, struct fd_resource *rsc, in fd_try_shadow_resource()
192 struct fd_resource *shadow = fd_resource(pshadow); in fd_try_shadow_resource()
286 fd_resource_layer_offset(struct fd_resource *rsc, in fd_resource_layer_offset()
299 struct fd_resource *rsc = fd_resource(trans->base.resource); in fd_resource_flush_z32s8()
326 struct fd_resource *rsc = fd_resource(trans->base.resource); in fd_resource_flush_rgtc()
394 struct fd_resource *rsc = fd_resource(ptrans->resource); in fd_resource_transfer_flush_region()
411 struct fd_resource *rsc = fd_resource(ptrans->resource); in fd_resource_transfer_unmap()
444 struct fd_resource *rsc = fd_resource(prsc); in fd_resource_transfer_map()
670 struct fd_resource *rsc = fd_resource(prsc); in fd_resource_destroy()
[all …]
Dfreedreno_batch_cache.h32 struct fd_resource;
69 void fd_bc_invalidate_resource(struct fd_resource *rsc, bool destroy);
Dfreedreno_batch_cache.c192 struct fd_resource *rsc = fd_resource(key->surf[idx].texture); in fd_bc_invalidate_batch()
205 fd_bc_invalidate_resource(struct fd_resource *rsc, bool destroy) in fd_bc_invalidate_resource()
348 struct fd_resource *rsc = fd_resource(key->surf[idx].texture); in batch_from_key()
Dfreedreno_query_hw.c245 struct fd_resource *rsc = fd_resource(period->end->prsc); in fd_hw_get_query_result()
280 struct fd_resource *rsc = fd_resource(start->prsc); in fd_hw_get_query_result()
420 OUT_RELOCW(ring, fd_resource(batch->query_buf)->bo, offset, 0, 0); in fd_hw_query_prepare_tile()
Dfreedreno_batch.h37 struct fd_resource;
206 void fd_batch_resource_used(struct fd_batch *batch, struct fd_resource *rsc, bool write);
Dfreedreno_batch.c161 struct fd_resource *rsc = (struct fd_resource *)entry->key; in batch_reset_resources_locked()
352 fd_batch_resource_used(struct fd_batch *batch, struct fd_resource *rsc, bool write) in fd_batch_resource_used()
Dfreedreno_draw.h90 OUT_RELOC(ring, fd_resource(idx_buffer)->bo, idx_offset, 0, 0); in fd_draw()
Dfreedreno_draw.c47 fd_batch_resource_used(batch, fd_resource(prsc), false); in resource_read()
55 fd_batch_resource_used(batch, fd_resource(prsc), true); in resource_written()
Dfreedreno_state.c343 struct fd_resource *rsc = fd_resource(prsc); in fd_create_stream_output_target()
Dfreedreno_gmem.c127 struct fd_resource *rsc = fd_resource(pfb->zsbuf->texture); in calculate_tiles()
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_gmem.c62 struct fd_resource *rsc = NULL; in emit_mrt()
73 rsc = fd_resource(psurf->texture); in emit_mrt()
131 struct fd_resource *rsc = fd_resource(zsbuf->texture); in emit_zs()
292 struct fd_resource *rsc = fd_resource(psurf->texture); in emit_mem2gmem_surf()
352 struct fd_resource *rsc = fd_resource(pfb->zsbuf->texture); in fd5_emit_tile_mem2gmem()
425 struct fd_resource *rsc = fd_resource(psurf->texture); in emit_gmem2mem_surf()
461 struct fd_resource *rsc = fd_resource(pfb->zsbuf->texture); in fd5_emit_tile_gmem2mem()
Dfd5_emit.c80 struct fd_bo *bo = fd_resource(prsc)->bo; in fd5_emit_const()
115 OUT_RELOCW(ring, fd_resource(prscs[i])->bo, offsets[i], 0, 0); in fd5_emit_const_bo()
117 OUT_RELOC(ring, fd_resource(prscs[i])->bo, offsets[i], 0, 0); in fd5_emit_const_bo()
272 OUT_RELOC(ring, fd_resource(fd5_ctx->border_color_buf)->bo, off, 0, 0); in emit_border_color()
333 struct fd_resource *rsc = fd_resource(view->base.texture); in emit_textures()
366 struct fd_resource *rsc = fd_resource(vb->buffer); in fd5_emit_vertex_bufs()
577 OUT_RELOCW(ring, fd_resource(target->buffer)->bo, 0, 0, 0); in fd5_emit_state()
Dfd5_texture.c224 struct fd_resource *rsc = fd_resource(prsc); in fd5_sampler_view_create()
Dfd5_draw.h70 OUT_RELOC(ring, fd_resource(idx_buffer)->bo, idx_offset, 0, 0); in fd5_draw()
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_emit.c82 struct fd_bo *bo = fd_resource(prsc)->bo; in fd4_emit_const()
115 OUT_RELOCW(ring, fd_resource(prscs[i])->bo, offsets[i], 0, 0); in fd4_emit_const_bo()
117 OUT_RELOC(ring, fd_resource(prscs[i])->bo, offsets[i], 0, 0); in fd4_emit_const_bo()
197 struct fd_resource *rsc = fd_resource(view->base.texture); in emit_textures()
223 struct fd_resource *rsc = fd_resource(view->base.texture); in emit_textures()
248 OUT_RELOC(ring, fd_resource(fd4_ctx->border_color_buf)->bo, off, 0, 0); in emit_textures()
296 struct fd_resource *rsc = fd_resource(bufs[i]->texture); in fd4_emit_gmem_restore_tex()
411 struct fd_resource *rsc = fd_resource(vb->buffer); in fd4_emit_vertex_bufs()
Dfd4_gmem.c65 struct fd_resource *rsc = NULL; in emit_mrt()
75 rsc = fd_resource(psurf->texture); in emit_mrt()
154 struct fd_resource *rsc = fd_resource(psurf->texture); in emit_gmem2mem_surf()
273 struct fd_resource *rsc = fd_resource(pfb->zsbuf->texture); in fd4_emit_tile_gmem2mem()
356 OUT_RELOCW(ring, fd_resource(ctx->blit_texcoord_vbuf)->bo, 0, 0, 0); in fd4_emit_tile_mem2gmem()
715 struct fd_resource *rsc = fd_resource(pfb->zsbuf->texture); in fd4_emit_tile_prep()
Dfd4_texture.c226 struct fd_resource *rsc = fd_resource(prsc); in fd4_sampler_view_create()
Dfd4_draw.h81 OUT_RELOC(ring, fd_resource(idx_buffer)->bo, idx_offset, 0, 0); in fd4_draw()
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_emit.c82 struct fd_bo *bo = fd_resource(prsc)->bo; in fd3_emit_const()
115 OUT_RELOCW(ring, fd_resource(prscs[i])->bo, offsets[i], 0, 0); in fd3_emit_const_bo()
117 OUT_RELOC(ring, fd_resource(prscs[i])->bo, offsets[i], 0, 0); in fd3_emit_const_bo()
211 struct fd_resource *rsc = fd_resource(view->base.texture); in emit_textures()
246 OUT_RELOC(ring, fd_resource(fd3_ctx->border_color_buf)->bo, off, 0, 0); in emit_textures()
304 struct fd_resource *rsc = fd_resource(psurf[i]->texture); in fd3_emit_gmem_restore_tex()
342 struct fd_resource *rsc = fd_resource(psurf[i]->texture); in fd3_emit_gmem_restore_tex()
404 struct fd_resource *rsc = fd_resource(vb->buffer); in fd3_emit_vertex_bufs()
Dfd3_gmem.c65 struct fd_resource *rsc = NULL; in emit_mrt()
74 rsc = fd_resource(psurf->texture); in emit_mrt()
184 OUT_RELOCW(ring, fd_resource(ctx->solid_vbuf)->bo, 0x20, 0, -1); /* RB_COPY_DEST_BASE */ in emit_binning_workaround()
317 struct fd_resource *rsc = fd_resource(psurf->texture); in emit_gmem2mem_surf()
441 struct fd_resource *rsc = fd_resource(pfb->zsbuf->texture); in fd3_emit_tile_gmem2mem()
559 OUT_RELOCW(ring, fd_resource(ctx->blit_texcoord_vbuf)->bo, 0, 0, 0); in fd3_emit_tile_mem2gmem()
731 pitch = fd_resource(psurf->texture)->slices[psurf->u.tex.level].pitch; in fd3_emit_sysmem_prep()
996 struct fd_resource *rsc = fd_resource(pfb->zsbuf->texture); in fd3_emit_tile_renderprep()
Dfd3_texture.c218 struct fd_resource *rsc = fd_resource(prsc); in fd3_sampler_view_create()
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_gmem.c63 struct fd_resource *rsc = fd_resource(psurf->texture); in emit_gmem2mem_surf()
181 struct fd_resource *rsc = fd_resource(psurf->texture); in emit_mem2gmem_surf()
242 OUT_RELOC(ring, fd_resource(fd2_ctx->solid_vertexbuf)->bo, 0x60, 0, 0); in fd2_emit_tile_mem2gmem()
Dfd2_emit.c88 struct fd_resource *rsc = fd_resource(cb->buffer); in emit_constants()
143 OUT_RELOC(ring, fd_resource(view->base.texture)->bo, 0, view->fmt, 0); in emit_texture()
176 struct fd_resource *rsc = fd_resource(vbufs[i].prsc); in fd2_emit_vertex_bufs()
Dfd2_texture.c131 struct fd_resource *rsc = fd_resource(prsc); in fd2_sampler_view_create()

12