Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_context.c43 struct fd4_context *fd4_ctx = fd4_context(fd_context(pctx)); in fd4_context_destroy() local
45 u_upload_destroy(fd4_ctx->border_color_uploader); in fd4_context_destroy()
46 pipe_resource_reference(&fd4_ctx->border_color_buf, NULL); in fd4_context_destroy()
50 fd_bo_del(fd4_ctx->vs_pvt_mem); in fd4_context_destroy()
51 fd_bo_del(fd4_ctx->fs_pvt_mem); in fd4_context_destroy()
52 fd_bo_del(fd4_ctx->vsc_size_mem); in fd4_context_destroy()
54 fd_context_cleanup_common_vbos(&fd4_ctx->base); in fd4_context_destroy()
58 free(fd4_ctx); in fd4_context_destroy()
66 struct fd4_context *fd4_ctx = CALLOC_STRUCT(fd4_context); in fd4_context_create() local
69 if (!fd4_ctx) in fd4_context_create()
[all …]
Dfd4_draw.c81 struct fd4_context *fd4_ctx = fd4_context(ctx); in fd4_draw_vbo() local
95 .has_per_samp = fd4_ctx->fastc_srgb || fd4_ctx->vastc_srgb, in fd4_draw_vbo()
96 .vastc_srgb = fd4_ctx->vastc_srgb, in fd4_draw_vbo()
97 .fastc_srgb = fd4_ctx->fastc_srgb, in fd4_draw_vbo()
Dfd4_texture.c253 struct fd4_context *fd4_ctx = fd4_context(ctx); in fd4_set_sampler_views() local
269 fd4_ctx->fastc_srgb = astc_srgb; in fd4_set_sampler_views()
271 fd4_ctx->vastc_srgb = astc_srgb; in fd4_set_sampler_views()
Dfd4_emit.c147 struct fd4_context *fd4_ctx = fd4_context(ctx); in emit_textures() local
251 u_upload_alloc(fd4_ctx->border_color_uploader, 0, in emit_textures()
253 &fd4_ctx->border_color_buf, &ptr); in emit_textures()
257 OUT_RELOC(ring, fd_resource(fd4_ctx->border_color_buf)->bo, off, 0, 0); in emit_textures()
259 u_upload_unmap(fd4_ctx->border_color_uploader); in emit_textures()
781 struct fd4_context *fd4_ctx = fd4_context(ctx); in fd4_emit_restore() local
892 OUT_RELOC(ring, fd4_ctx->vs_pvt_mem, 0, 0, 0); /* SP_VS_PVT_MEM_ADDR */ in fd4_emit_restore()
896 OUT_RELOC(ring, fd4_ctx->fs_pvt_mem, 0, 0, 0); /* SP_FS_PVT_MEM_ADDR */ in fd4_emit_restore()
Dfd4_gmem.c570 struct fd4_context *fd4_ctx = fd4_context(ctx); in update_vsc_pipe() local
575 OUT_RELOC(ring, fd4_ctx->vsc_size_mem, 0, 0, 0); /* VSC_SIZE_ADDRESS */ in update_vsc_pipe()
766 struct fd4_context *fd4_ctx = fd4_context(ctx); in fd4_emit_tile_renderprep() local
792 OUT_RELOC(ring, fd4_ctx->vsc_size_mem, /* BIN_SIZE_ADDR <- in fd4_emit_tile_renderprep()