Home
last modified time | relevance | path

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

/external/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()
75 struct fd5_context *fd5_ctx = CALLOC_STRUCT(fd5_context); in fd5_context_create() local
78 if (!fd5_ctx) in fd5_context_create()
81 pctx = &fd5_ctx->base.base; in fd5_context_create()
[all …]
Dfd5_draw.c76 struct fd5_context *fd5_ctx = fd5_context(ctx); in fixup_shader_state() local
77 struct ir3_shader_key *last_key = &fd5_ctx->last_key; in fixup_shader_state()
90 fd5_ctx->last_key = *key; in fixup_shader_state()
98 struct fd5_context *fd5_ctx = fd5_context(ctx); in fd5_draw_vbo() local
110 .has_per_samp = (fd5_ctx->fsaturate || fd5_ctx->vsaturate || in fd5_draw_vbo()
111 fd5_ctx->fastc_srgb || fd5_ctx->vastc_srgb), in fd5_draw_vbo()
112 .vsaturate_s = fd5_ctx->vsaturate_s, in fd5_draw_vbo()
113 .vsaturate_t = fd5_ctx->vsaturate_t, in fd5_draw_vbo()
114 .vsaturate_r = fd5_ctx->vsaturate_r, in fd5_draw_vbo()
115 .fsaturate_s = fd5_ctx->fsaturate_s, in fd5_draw_vbo()
[all …]
Dfd5_texture.c157 struct fd5_context *fd5_ctx = fd5_context(ctx); in fd5_sampler_states_bind() local
180 fd5_ctx->fsaturate = in fd5_sampler_states_bind()
184 fd5_ctx->fsaturate_s = saturate_s; in fd5_sampler_states_bind()
185 fd5_ctx->fsaturate_t = saturate_t; in fd5_sampler_states_bind()
186 fd5_ctx->fsaturate_r = saturate_r; in fd5_sampler_states_bind()
188 fd5_ctx->vsaturate = in fd5_sampler_states_bind()
192 fd5_ctx->vsaturate_s = saturate_s; in fd5_sampler_states_bind()
193 fd5_ctx->vsaturate_t = saturate_t; in fd5_sampler_states_bind()
194 fd5_ctx->vsaturate_r = saturate_r; in fd5_sampler_states_bind()
326 struct fd5_context *fd5_ctx = fd5_context(ctx); in fd5_set_sampler_views() local
[all …]
Dfd5_emit.h136 struct fd5_context *fd5_ctx = fd5_context(ctx); in fd5_emit_blit() local
142 OUT_RELOC(ring, fd5_ctx->blit_mem, 0, 0, 0); /* ADDR_LO/HI */ in fd5_emit_blit()
Dfd5_gmem.c262 struct fd5_context *fd5_ctx = fd5_context(ctx); in update_vsc_pipe() local
270 OUT_RELOC(ring, fd5_ctx->vsc_size_mem, 0, 0, 0); /* VSC_SIZE_ADDRESS_LO/HI */ in update_vsc_pipe()
414 struct fd5_context *fd5_ctx = fd5_context(ctx); in fd5_emit_tile_prep() local
447 OUT_RELOC(ring, fd5_ctx->vsc_size_mem, /* VSC_SIZE_ADDRESS + (p * 4) */ in fd5_emit_tile_prep()
776 struct fd5_context *fd5_ctx = fd5_context(batch->ctx); in fd5_emit_sysmem_fini() local
786 OUT_RELOC(ring, fd5_ctx->blit_mem, 0, 0, 0); /* ADDR_LO/HI */ in fd5_emit_sysmem_fini()
Dfd5_emit.c313 struct fd5_context *fd5_ctx = fd5_context(ctx); in emit_border_color() local
320 u_upload_alloc(fd5_ctx->border_color_uploader, in emit_border_color()
323 &fd5_ctx->border_color_buf, in emit_border_color()
333 OUT_RELOC(ring, fd_resource(fd5_ctx->border_color_buf)->bo, off, 0, 0); in emit_border_color()
335 u_upload_unmap(fd5_ctx->border_color_uploader); in emit_border_color()