Home
last modified time | relevance | path

Searched refs:fd5_ctx (Results 1 – 5 of 5) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_context.c45 struct fd5_context *fd5_ctx = fd5_context(fd_context(pctx)); in fd5_context_destroy() local
47 u_upload_destroy(fd5_ctx->border_color_uploader); in fd5_context_destroy()
48 pipe_resource_reference(&fd5_ctx->border_color_buf, NULL); in fd5_context_destroy()
52 fd_bo_del(fd5_ctx->vsc_size_mem); in fd5_context_destroy()
53 fd_bo_del(fd5_ctx->blit_mem); in fd5_context_destroy()
55 fd_context_cleanup_common_vbos(&fd5_ctx->base); in fd5_context_destroy()
57 free(fd5_ctx); in fd5_context_destroy()
65 struct fd5_context *fd5_ctx = CALLOC_STRUCT(fd5_context); in fd5_context_create() local
68 if (!fd5_ctx) in fd5_context_create()
71 pctx = &fd5_ctx->base.base; in fd5_context_create()
[all …]
Dfd5_draw.c77 struct fd5_context *fd5_ctx = fd5_context(ctx); in fd5_draw_vbo() local
90 .has_per_samp = fd5_ctx->fastc_srgb || fd5_ctx->vastc_srgb, in fd5_draw_vbo()
91 .vastc_srgb = fd5_ctx->vastc_srgb, in fd5_draw_vbo()
92 .fastc_srgb = fd5_ctx->fastc_srgb, in fd5_draw_vbo()
Dfd5_texture.c246 struct fd5_context *fd5_ctx = fd5_context(ctx); in fd5_set_sampler_views() local
262 fd5_ctx->fastc_srgb = astc_srgb; in fd5_set_sampler_views()
264 fd5_ctx->vastc_srgb = astc_srgb; in fd5_set_sampler_views()
Dfd5_gmem.c267 struct fd5_context *fd5_ctx = fd5_context(ctx); in update_vsc_pipe() local
275 OUT_RELOC(ring, fd5_ctx->vsc_size_mem, 0, 0, 0); /* VSC_SIZE_ADDRESS_LO/HI */ in update_vsc_pipe()
427 struct fd5_context *fd5_ctx = fd5_context(ctx); in fd5_emit_tile_prep() local
458 OUT_RELOC(ring, fd5_ctx->vsc_size_mem, /* VSC_SIZE_ADDRESS + (p * 4) */ in fd5_emit_tile_prep()
Dfd5_emit.c318 struct fd5_context *fd5_ctx = fd5_context(ctx); in emit_border_color() local
325 u_upload_alloc(fd5_ctx->border_color_uploader, 0, in emit_border_color()
327 &off, &fd5_ctx->border_color_buf, &ptr); in emit_border_color()
336 OUT_RELOC(ring, fd_resource(fd5_ctx->border_color_buf)->bo, off, 0, 0); in emit_border_color()
338 u_upload_unmap(fd5_ctx->border_color_uploader); in emit_border_color()