Home
last modified time | relevance | path

Searched refs:blend_state (Results 1 – 24 of 24) sorted by relevance

/external/mesa3d/src/gallium/state_trackers/vdpau/
Doutput.c583 VdpOutputSurfaceRenderBlendState const *blend_state) in BlenderToPipe() argument
590 if (blend_state) { in BlenderToPipe()
592 blend.rt[0].rgb_src_factor = BlendFactorToPipe(blend_state->blend_factor_source_color); in BlenderToPipe()
593 blend.rt[0].rgb_dst_factor = BlendFactorToPipe(blend_state->blend_factor_destination_color); in BlenderToPipe()
594 blend.rt[0].alpha_src_factor = BlendFactorToPipe(blend_state->blend_factor_source_alpha); in BlenderToPipe()
595 blend.rt[0].alpha_dst_factor = BlendFactorToPipe(blend_state->blend_factor_destination_alpha); in BlenderToPipe()
596 blend.rt[0].rgb_func = BlendEquationToPipe(blend_state->blend_equation_color); in BlenderToPipe()
597 blend.rt[0].alpha_func = BlendEquationToPipe(blend_state->blend_equation_alpha); in BlenderToPipe()
642 VdpOutputSurfaceRenderBlendState const *blend_state, in vlVdpOutputSurfaceRenderOutputSurface() argument
681 blend = BlenderToPipe(context, blend_state); in vlVdpOutputSurfaceRenderOutputSurface()
[all …]
/external/mesa3d/src/intel/vulkan/
DgenX_pipeline.c727 pipeline->blend_state =
730 struct GENX(BLEND_STATE) blend_state = {
742 blend_state.Entry[i].WriteDisableAlpha = true;
743 blend_state.Entry[i].WriteDisableRed = true;
744 blend_state.Entry[i].WriteDisableGreen = true;
745 blend_state.Entry[i].WriteDisableBlue = true;
773 blend_state.Entry[i] = (struct GENX(BLEND_STATE_ENTRY)) {
800 blend_state.IndependentAlphaBlendEnable = true;
802 blend_state.Entry[i].IndependentAlphaBlendEnable = true;
817 blend_state.Entry[i].SourceBlendFactor = BLENDFACTOR_ONE;
[all …]
Danv_pipeline.c201 if (pipeline->blend_state.map) in anv_DestroyPipeline()
202 anv_state_pool_free(&device->dynamic_state_pool, pipeline->blend_state); in anv_DestroyPipeline()
Danv_private.h1451 struct anv_state blend_state; member
/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_encode.c82 const struct pipe_blend_state *blend_state) in virgl_encode_blend_state() argument
91 VIRGL_OBJ_BLEND_S0_INDEPENDENT_BLEND_ENABLE(blend_state->independent_blend_enable) | in virgl_encode_blend_state()
92 VIRGL_OBJ_BLEND_S0_LOGICOP_ENABLE(blend_state->logicop_enable) | in virgl_encode_blend_state()
93 VIRGL_OBJ_BLEND_S0_DITHER(blend_state->dither) | in virgl_encode_blend_state()
94 VIRGL_OBJ_BLEND_S0_ALPHA_TO_COVERAGE(blend_state->alpha_to_coverage) | in virgl_encode_blend_state()
95 VIRGL_OBJ_BLEND_S0_ALPHA_TO_ONE(blend_state->alpha_to_one); in virgl_encode_blend_state()
99 tmp = VIRGL_OBJ_BLEND_S1_LOGICOP_FUNC(blend_state->logicop_func); in virgl_encode_blend_state()
104 VIRGL_OBJ_BLEND_S2_RT_BLEND_ENABLE(blend_state->rt[i].blend_enable) | in virgl_encode_blend_state()
105 VIRGL_OBJ_BLEND_S2_RT_RGB_FUNC(blend_state->rt[i].rgb_func) | in virgl_encode_blend_state()
106 VIRGL_OBJ_BLEND_S2_RT_RGB_SRC_FACTOR(blend_state->rt[i].rgb_src_factor) | in virgl_encode_blend_state()
[all …]
Dvirgl_context.c238 const struct pipe_blend_state *blend_state) in virgl_create_blend_state() argument
244 virgl_encode_blend_state(vctx, handle, blend_state); in virgl_create_blend_state()
250 void *blend_state) in virgl_bind_blend_state() argument
253 uint32_t handle = (unsigned long)blend_state; in virgl_bind_blend_state()
258 void *blend_state) in virgl_delete_blend_state() argument
261 uint32_t handle = (unsigned long)blend_state; in virgl_delete_blend_state()
266 … const struct pipe_depth_stencil_alpha_state *blend_state) in virgl_create_depth_stencil_alpha_state() argument
272 virgl_encode_dsa_state(vctx, handle, blend_state); in virgl_create_depth_stencil_alpha_state()
277 void *blend_state) in virgl_bind_depth_stencil_alpha_state() argument
280 uint32_t handle = (unsigned long)blend_state; in virgl_bind_depth_stencil_alpha_state()
Dvirgl_encode.h77 const struct pipe_blend_state *blend_state);
/external/mesa3d/src/amd/vulkan/
Dradv_meta_fast_clear.c183 const VkPipelineColorBlendStateCreateInfo blend_state = { in create_pipeline() local
229 .pColorBlendState = &blend_state, in create_pipeline()
267 .pColorBlendState = &blend_state, in create_pipeline()
/external/mesa3d/src/gallium/drivers/ilo/core/
Dilo_builder_3d_bottom.h889 uint32_t blend_state, in gen6_3DSTATE_CC_STATE_POINTERS() argument
901 dw[1] = blend_state | GEN6_CC_PTR_DW1_BLEND_CHANGED; in gen6_3DSTATE_CC_STATE_POINTERS()
954 uint32_t blend_state) in gen7_3DSTATE_BLEND_STATE_POINTERS() argument
959 blend_state |= 1; in gen7_3DSTATE_BLEND_STATE_POINTERS()
963 blend_state); in gen7_3DSTATE_BLEND_STATE_POINTERS()
/external/mesa3d/src/gallium/state_trackers/va/
Dsurface.c195 void *blend_state; in vlVaPutSubpictures() local
255 blend_state = drv->pipe->create_blend_state(drv->pipe, &blend); in vlVaPutSubpictures()
258 vl_compositor_set_layer_blend(&drv->cstate, 0, blend_state, false); in vlVaPutSubpictures()
265 drv->pipe->delete_blend_state(drv->pipe, blend_state); in vlVaPutSubpictures()
/external/mesa3d/src/gallium/state_trackers/nine/
Dnine_pipe.c156 nine_convert_blend_state(struct pipe_blend_state *blend_state, const DWORD *rs) in nine_convert_blend_state() argument
201 *blend_state = blend; in nine_convert_blend_state()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_hw_context.c339 if (ctx->blend_state.cso) in r600_begin_new_cs()
340 r600_mark_atom_dirty(ctx, &ctx->blend_state.atom); in r600_begin_new_cs()
Dr600_state_common.c165 r600_set_cso_state_with_cb(rctx, &rctx->blend_state, blend, &blend->buffer); in r600_bind_blend_state_internal()
169 r600_set_cso_state_with_cb(rctx, &rctx->blend_state, blend, &blend->buffer_no_blend); in r600_bind_blend_state_internal()
198 r600_set_cso_state_with_cb(rctx, &rctx->blend_state, NULL, NULL); in r600_bind_blend_state()
485 if (rctx->blend_state.cso == state) { in r600_delete_blend_state()
1639 rctx->blend_state.cso, in r600_update_derived_state()
Dr600_pipe.h454 struct r600_cso_state blend_state; member
Dr600_blit.c71 util_blitter_save_blend(rctx->blitter, rctx->blend_state.cso); in r600_blitter_begin()
Dr600_state.c3042 r600_init_atom(rctx, &rctx->blend_state.atom, id++, r600_emit_cso_state, 0); in r600_init_state_functions()
Devergreen_state.c3618 r600_init_atom(rctx, &rctx->blend_state.atom, id++, r600_emit_cso_state, 0); in evergreen_init_state_functions()
/external/mesa3d/src/intel/tools/
Daubinator.c628 struct gen_group *blend_state; in handle_3dstate_blend_state_pointers() local
630 blend_state = gen_spec_find_struct(spec, "BLEND_STATE"); in handle_3dstate_blend_state_pointers()
633 decode_structure(spec, blend_state, gtt + start); in handle_3dstate_blend_state_pointers()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_context.h508 struct r300_atom blend_state; member
Dr300_context.c183 R300_INIT_ATOM(blend_state, 8); in r300_setup_atoms()
Dr300_state.c540 UPDATE_STATE(state, r300->blend_state); in r300_bind_blend_state()
976 r300_mark_atom_dirty(r300, &r300->blend_state); in r300_set_framebuffer_state()
Dr300_blit.c63 util_blitter_save_blend(r300->blitter, r300->blend_state.state); in r300_blitter_begin()
/external/mesa3d/src/gallium/drivers/ddebug/
Ddd_draw.c338 DUMP(blend_state, &dstate->blend->state.blend); in dd_dump_draw_vbo()
/external/mesa3d/src/gallium/drivers/trace/
Dtr_context.c307 trace_dump_arg(blend_state, state); in trace_context_create_blend_state()