Home
last modified time | relevance | path

Searched refs:stateobj (Results 1 - 13 of 13) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
H A Dfd6_emit.h79 struct fd_ringbuffer *stateobj; member
81 /* enable_mask controls which states the stateobj is evaluated in,
133 fd6_emit_take_group(struct fd6_emit *emit, struct fd_ringbuffer *stateobj, in fd6_emit_take_group() argument
138 g->stateobj = stateobj; in fd6_emit_take_group()
144 fd6_emit_add_group(struct fd6_emit *emit, struct fd_ringbuffer *stateobj, in fd6_emit_add_group() argument
147 fd6_emit_take_group(emit, fd_ringbuffer_ref(stateobj), group_id, in fd6_emit_add_group()
H A Dfd6_zsa.h55 struct fd_ringbuffer *stateobj[4]; member
72 return fd6_zsa_stateobj(ctx->zsa)->stateobj[variant];
H A Dfd6_zsa.c224 so->stateobj[i] = ring; in fd6_zsa_state_create()
235 for (int i = 0; i < ARRAY_SIZE(so->stateobj); i++) in fd6_zsa_state_delete()
236 fd_ringbuffer_del(so->stateobj[i]); in fd6_zsa_state_delete()
H A Dfd6_context.c81 state->stateobj = in fd6_vertex_state_create()
83 struct fd_ringbuffer *ring = state->stateobj; in fd6_vertex_state_create()
113 fd_ringbuffer_del(so->stateobj); in fd6_vertex_state_delete()
H A Dfd6_blend.c80 so->stateobj = ring; in __fd6_setup_blend_variant()
203 fd_ringbuffer_del(v->stateobj); in fd6_blend_state_delete()
H A Dfd6_emit.c472 * just use cached texture stateobj. Otherwise we generate a single-
473 * use stateobj.
475 * TODO Is there some sane way we can still use cached texture stateobj
503 * related texture state, we can just lookup the stateobj and
523 fd6_emit_add_group(emit, tex->stateobj, s[type].state_id,
537 struct fd_ringbuffer *stateobj = fd_submit_new_ringbuffer( variable
542 fd6_emit_textures(ctx, stateobj, type, tex, bcolor_offset, v);
544 fd6_emit_take_group(emit, stateobj, s[type].state_id,
1040 state = fd6_vertex_stateobj(ctx->vtx.vtx)->stateobj; in fd6_emit_state()
1071 fd6_emit_add_group(emit, prog->stateobj, FD6_GROUP_PRO in fd6_emit_state()
[all...]
H A Dfd6_blend.h44 struct fd_ringbuffer *stateobj; member
H A Dfd6_program.h51 struct fd_ringbuffer *stateobj; member
H A Dfd6_context.h73 /* pre-backed stateobj for stream-out disable: */
139 struct fd_ringbuffer *stateobj; member
H A Dfd6_texture.c386 state->stateobj = fd_ringbuffer_new_object(ctx->pipe, 32 * 4); in fd6_texture_state()
389 fd6_emit_textures(ctx, state->stateobj, type, tex, key.bcolor_offset, NULL); in fd6_texture_state()
411 fd_ringbuffer_del(state->stateobj); in __fd6_texture_state_destroy()
H A Dfd6_texture.h111 * Texture stateobj:
114 * stateobj which can be emit'd as a pointer in a CP_SET_DRAW_STATE
139 struct fd_ringbuffer *stateobj; member
H A Dfd6_program.c589 * or draw pass program, but the same streamout stateobj is used
1138 * baked stateobj because of dependency on other gl state (rasterflat
1254 state->stateobj = fd_ringbuffer_new_object(ctx->pipe, 0x1000);
1281 setup_stateobj(state->stateobj, ctx, state, key, false);
1296 fd_ringbuffer_del(so->stateobj); in fd6_program_destroy()
/third_party/libdrm/freedreno/msm/
H A Dmsm_ringbuffer.c91 unsigned offset; /* for sub-allocated stateobj rb's */
103 * target rb (for example, or same stateobj emit multiple times), and
272 * - target cmd is not a streaming stateobj (which unlike longer in get_cmd()
273 * lived CSO stateobj, is not expected to be reused with multiple in get_cmd()
418 handle_stateobj_relocs(struct fd_ringbuffer *parent, struct fd_ringbuffer *stateobj, in handle_stateobj_relocs() argument
421 struct msm_ringbuffer *msm_ring = to_msm_ringbuffer(stateobj); in handle_stateobj_relocs()
439 /* stateobj rb's could have reloc's to other stateobj rb's which didn't in handle_stateobj_relocs()
447 if (msm_ring->cmds[i]->ring == stateobj) in handle_stateobj_relocs()
494 * bos table used for the submit, so we need to add the stateobj' in msm_ringbuffer_flush()
[all...]

Completed in 10 milliseconds