/external/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_resource.h | 73 struct etna_resource { struct 105 etna_resource_newer(struct etna_resource *a, struct etna_resource *b) in etna_resource_newer() argument 112 etna_resource_older(struct etna_resource *a, struct etna_resource *b) in etna_resource_older() 119 etna_resource_has_valid_ts(struct etna_resource *res); 123 etna_resource_needs_flush(struct etna_resource *res) in etna_resource_needs_flush() 148 static inline struct etna_resource * 149 etna_resource(struct pipe_resource *p) in etna_resource() function 151 return (struct etna_resource *)p; in etna_resource() 176 struct etna_resource *prsc);
|
D | etnaviv_texture.c | 92 struct etna_resource *rsc = etna_resource(pview->texture); in etna_configure_sampler_ts() 134 struct etna_resource *rsc = etna_resource(view->texture); in etna_can_use_sampler_ts() 148 struct etna_resource *base = etna_resource(view->texture); in etna_update_sampler_source() 149 struct etna_resource *to = base, *from = base; in etna_update_sampler_source() 153 if (base->render && etna_resource_newer(etna_resource(base->render), base)) in etna_update_sampler_source() 154 from = etna_resource(base->render); in etna_update_sampler_source() 157 to = etna_resource(base->texture); in etna_update_sampler_source() 187 etna_resource_sampler_compatible(struct etna_resource *res) in etna_resource_sampler_compatible() 216 struct etna_resource * 219 struct etna_resource *res = etna_resource(prsc); in etna_texture_handle_incompatible() [all …]
|
D | etnaviv_transfer.c | 64 struct etna_resource *rsc = etna_resource(prsc); in etna_patch_data() 90 struct etna_resource *rsc = etna_resource(prsc); in etna_unpatch_data() 106 struct etna_resource *rsc = etna_resource(ptrans->resource); in etna_transfer_unmap() 116 if (rsc->texture && !etna_resource_newer(rsc, etna_resource(rsc->texture))) in etna_transfer_unmap() 117 rsc = etna_resource(rsc->texture); /* switch to using the texture resource */ in etna_transfer_unmap() 124 etna_bo_cpu_fini(etna_resource(trans->rsc)->bo); in etna_transfer_unmap() 199 struct etna_resource *rsc = etna_resource(prsc); in etna_transfer_map() 249 if (rsc->render && etna_resource_newer(etna_resource(rsc->render), rsc) && in etna_transfer_map() 250 (!rsc->texture || etna_resource_newer(etna_resource(rsc->render), in etna_transfer_map() 251 etna_resource(rsc->texture)))) { in etna_transfer_map() [all …]
|
D | etnaviv_resource.c | 84 struct etna_resource *rsc) in etna_screen_resource_alloc_ts() 162 setup_miptree(struct etna_resource *rsc, unsigned paddingX, unsigned paddingY, in setup_miptree() 210 struct etna_resource *rsc; in etna_resource_alloc() 259 rsc = CALLOC_STRUCT(etna_resource); in etna_resource_alloc() 450 etna_resource(prsc)->seqno++; in etna_resource_changed() 456 struct etna_resource *rsc = etna_resource(prsc); in etna_resource_destroy() 491 struct etna_resource *rsc; in etna_resource_from_handle() 501 rsc = CALLOC_STRUCT(etna_resource); in etna_resource_from_handle() 579 struct etna_resource *rsc = etna_resource(prsc); in etna_resource_get_handle() 609 struct etna_resource *rsc; in etna_resource_used() [all …]
|
D | etnaviv_surface.c | 42 static struct etna_resource * 47 struct etna_resource *res = etna_resource(prsc); in etna_render_handle_incompatible() 73 return etna_resource(res->render); in etna_render_handle_incompatible() 82 struct etna_resource *rsc = etna_render_handle_incompatible(pctx, prsc); in etna_create_surface() 163 struct etna_bo *ts_bo = etna_resource(surf->base.texture)->ts_bo; in etna_create_surface()
|
D | etnaviv_clear_blit.c | 180 struct etna_resource *rsc = etna_resource(prsc); in etna_flush_resource() 183 if (etna_resource_older(rsc, etna_resource(rsc->render))) { in etna_flush_resource() 185 rsc->seqno = etna_resource(rsc->render)->seqno; in etna_flush_resource() 197 struct etna_resource *src_priv = etna_resource(src); in etna_copy_resource() 198 struct etna_resource *dst_priv = etna_resource(dst); in etna_copy_resource()
|
D | etnaviv_query_acc.c | 62 struct etna_resource *rsc; in realloc_query_bo() 72 rsc = etna_resource(aq->prsc); in realloc_query_bo() 116 struct etna_resource *rsc = etna_resource(aq->prsc); in etna_acc_get_query_result()
|
D | etnaviv_context.c | 105 struct etna_resource *rsc = (struct etna_resource *)entry->key; in etna_context_destroy() 122 struct etna_resource *rsc = (struct etna_resource *)entry->key; in etna_context_destroy() 275 ctx->index_buffer.FE_INDEX_STREAM_BASE_ADDR.bo = etna_resource(indexbuf)->bo; in etna_draw_vbo() 390 etna_resource(ctx->framebuffer_s.cbufs[0]->texture)->seqno++; in etna_draw_vbo() 392 etna_resource(ctx->framebuffer_s.zsbuf->texture)->seqno++; in etna_draw_vbo() 492 struct etna_resource *rsc = (struct etna_resource *)entry->key; in etna_flush() 510 struct etna_resource *rsc = (struct etna_resource *)entry->key; in etna_flush()
|
D | etnaviv_state.c | 113 etna_update_render_resource(struct pipe_context *pctx, struct etna_resource *base) in etna_update_render_resource() 115 struct etna_resource *to = base, *from = base; in etna_update_render_resource() 117 if (base->texture && etna_resource_newer(etna_resource(base->texture), base)) in etna_update_render_resource() 118 from = etna_resource(base->texture); in etna_update_render_resource() 121 to = etna_resource(base->render); in etna_update_render_resource() 146 struct etna_resource *res = etna_resource(cbuf->base.texture); in etna_set_framebuffer_state() 151 etna_update_render_resource(pctx, etna_resource(cbuf->prsc)); in etna_set_framebuffer_state() 239 struct etna_resource *res = etna_resource(zsbuf->base.texture); in etna_set_framebuffer_state() 241 etna_update_render_resource(pctx, etna_resource(zsbuf->prsc)); in etna_set_framebuffer_state() 445 cs->FE_VERTEX_STREAM_BASE_ADDR.bo = etna_resource(vbi->buffer.resource)->bo; in etna_set_vertex_buffers()
|
D | etnaviv_texture_desc.c | 142 struct etna_resource *res = etna_texture_handle_incompatible(pctx, prsc); in etna_create_sampler_view_desc() 241 struct etna_resource *res = etna_resource(sv->base.texture); in etna_sampler_view_update_descriptor() 243 res = etna_resource(res->texture); in etna_sampler_view_update_descriptor() 270 struct etna_resource *res = etna_resource(sv->base.texture); in etna_emit_texture_desc()
|
D | etnaviv_blt.c | 220 struct etna_resource *res = etna_resource(surf->base.texture); in etna_blit_clear_color_blt() 261 etna_resource(surf->base.texture)->seqno++; in etna_blit_clear_color_blt() 299 struct etna_resource *res = etna_resource(surf->base.texture); in etna_blit_clear_zs_blt() 338 etna_resource(surf->base.texture)->seqno++; in etna_blit_clear_zs_blt() 375 struct etna_resource *src = etna_resource(blit_info->src.resource); in etna_try_blt_blit() 376 struct etna_resource *dst = etna_resource(blit_info->dst.resource); in etna_try_blt_blit()
|
D | etnaviv_query_acc_occlusion.c | 69 struct etna_resource *rsc = etna_resource(aq->prsc); in occlusion_resume()
|
D | etnaviv_rs.c | 273 struct etna_resource *dst = etna_resource(surf->base.texture); in etna_rs_gen_clear_surface() 343 etna_resource(surf->base.texture)->seqno++; in etna_blit_clear_color_rs() 406 etna_resource(surf->base.texture)->seqno++; in etna_blit_clear_zs_rs() 464 etna_manual_blit(struct etna_resource *dst, struct etna_resource_level *dst_lev, in etna_manual_blit() 465 unsigned int dst_offset, struct etna_resource *src, in etna_manual_blit() 587 struct etna_resource *src = etna_resource(blit_info->src.resource); in etna_try_rs_blit() 588 struct etna_resource *dst = etna_resource(blit_info->dst.resource); in etna_try_rs_blit()
|
D | etnaviv_texture.h | 53 struct etna_resource *
|
D | etnaviv_query_acc_perfmon.c | 83 .bo = etna_resource(aq->prsc)->bo, in pm_query()
|
D | etnaviv_uniforms.c | 103 .bo = etna_resource(cb[idx].buffer)->bo, in etna_uniforms_write()
|
D | etnaviv_texture_state.c | 168 struct etna_resource *res = etna_texture_handle_incompatible(pctx, prsc); in etna_create_sampler_view_state()
|
/external/mesa3d/docs/relnotes/ |
D | 17.1.5.rst | 50 - etnaviv: don't dereference etna_resource pointer if allocation fails
|
D | 19.0.0.rst | 449 - etnaviv: extend etna_resource with an addressing mode
|