Searched refs:blend (Results 1 - 25 of 476) sorted by relevance

1234567891011>>

/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/
H A Du_dual_blend.h14 static inline boolean util_blend_state_is_dual(const struct pipe_blend_state *blend, argument
17 if (util_blend_factor_is_dual_src(blend->rt[index].rgb_src_factor) ||
18 util_blend_factor_is_dual_src(blend->rt[index].alpha_src_factor) ||
19 util_blend_factor_is_dual_src(blend->rt[index].rgb_dst_factor) ||
20 util_blend_factor_is_dual_src(blend->rt[index].alpha_dst_factor))
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/
H A Du_dual_blend.h14 static inline boolean util_blend_state_is_dual(const struct pipe_blend_state *blend, argument
17 if (util_blend_factor_is_dual_src(blend->rt[index].rgb_src_factor) ||
18 util_blend_factor_is_dual_src(blend->rt[index].alpha_src_factor) ||
19 util_blend_factor_is_dual_src(blend->rt[index].rgb_dst_factor) ||
20 util_blend_factor_is_dual_src(blend->rt[index].alpha_dst_factor))
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/
H A Dsvga_pipe_blend.c95 * Define a vgpu10 blend state object for the given
96 * svga blend state.
144 struct svga_blend_state *blend = CALLOC_STRUCT( svga_blend_state ); local in function:svga_create_blend_state
147 if (!blend)
161 /* Fill in the per-rendertarget blend state. We currently only
162 * support independent blend enable and colormask per render target.
166 * top of D3D9 API. Instead we try to simulate with various blend modes.
172 blend->need_white_fragments = TRUE;
173 blend->rt[i].blend_enable = TRUE;
174 blend
360 svga_bind_blend_state(struct pipe_context * pipe,void * blend) argument
369 svga_delete_blend_state(struct pipe_context * pipe,void * blend) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/svga/
H A Dsvga_pipe_blend.c140 * Define a vgpu10 blend state object for the given
141 * svga blend state.
183 struct svga_blend_state *blend,
189 blend->need_white_fragments = TRUE;
190 blend->rt[buffer].blend_enable = TRUE;
191 blend->rt[buffer].srcblend = SVGA3D_BLENDOP_ONE;
192 blend->rt[buffer].dstblend = SVGA3D_BLENDOP_ONE;
193 blend->rt[buffer].blendeq = SVGA3D_BLENDEQ_SUBTRACT;
196 blend->rt[buffer].blend_enable = TRUE;
197 blend
181 emulate_logicop(struct svga_context * svga,unsigned logicop_func,struct svga_blend_state * blend,unsigned buffer) argument
298 struct svga_blend_state *blend = CALLOC_STRUCT( svga_blend_state ); local in function:svga_create_blend_state
425 svga_bind_blend_state(struct pipe_context * pipe,void * blend) argument
434 svga_delete_blend_state(struct pipe_context * pipe,void * blend) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a6xx/
H A Dfd6_blend.h38 * Since the sample-mask is part of the hw blend state, we need to have state
58 fd6_blend_stateobj(struct pipe_blend_state *blend) argument
60 return (struct fd6_blend_stateobj *)blend;
64 __fd6_setup_blend_variant(struct fd6_blend_stateobj *blend,
71 struct fd6_blend_stateobj *blend = fd6_blend_stateobj(cso); local in function:fd6_blend_variant
74 util_dynarray_foreach (&blend->variants, struct fd6_blend_variant *, vp) {
85 return __fd6_setup_blend_variant(blend, sample_mask);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/panfrost/
H A Dpan_blending.h32 bool panfrost_make_fixed_blend_mode(const struct pipe_rt_blend_state *blend, struct mali_blend_equation *out, unsigned colormask, const struct pipe_blend_color *blend_color);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/
H A Dfreedreno_state.h50 return ctx->blend && ctx->blend->logicop_enable;
55 return ctx->blend && ctx->blend->rt[n].blend_enable;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a2xx/
H A Dfd2_blend.h43 fd2_blend_stateobj(struct pipe_blend_state *blend) argument
45 return (struct fd2_blend_stateobj *)blend;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a3xx/
H A Dfd3_blend.h50 fd3_blend_stateobj(struct pipe_blend_state *blend) argument
52 return (struct fd3_blend_stateobj *)blend;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a4xx/
H A Dfd4_blend.h51 fd4_blend_stateobj(struct pipe_blend_state *blend) argument
53 return (struct fd4_blend_stateobj *)blend;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a6xx/
H A Dfd6_blend.h54 fd6_blend_stateobj(struct pipe_blend_state *blend) argument
56 return (struct fd6_blend_stateobj *)blend;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a2xx/
H A Dfd2_blend.h41 fd2_blend_stateobj(struct pipe_blend_state *blend) argument
43 return (struct fd2_blend_stateobj *)blend;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a3xx/
H A Dfd3_blend.h45 fd3_blend_stateobj(struct pipe_blend_state *blend) argument
47 return (struct fd3_blend_stateobj *)blend;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a4xx/
H A Dfd4_blend.h46 fd4_blend_stateobj(struct pipe_blend_state *blend) argument
48 return (struct fd4_blend_stateobj *)blend;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a5xx/
H A Dfd5_blend.h49 fd5_blend_stateobj(struct pipe_blend_state *blend) argument
51 return (struct fd5_blend_stateobj *)blend;
/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
H A Dst_atom_blend.c43 #include "main/blend.h"
48 * Convert GLenum blend tokens to pipe tokens.
49 * Both blend factors and blend funcs are accepted.
52 translate_blend(GLenum blend) argument
54 switch (blend) {
55 /* blend functions */
67 /* blend factors */
127 * Figure out if blend enables/state are different per rt.
152 /* Overriding requires independent blend function
196 struct pipe_blend_state *blend = &st->state.blend; local in function:st_update_blend
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_atom_blend.c43 #include "main/blend.h"
48 * Convert GLenum blend tokens to pipe tokens.
49 * Both blend factors and blend funcs are accepted.
52 translate_blend(GLenum blend) argument
54 switch (blend) {
55 /* blend functions */
67 /* blend factors */
127 * Figure out if blend enables/state are different per rt.
152 /* Overriding requires independent blend function
196 struct pipe_blend_state *blend = &st->state.blend; local in function:st_update_blend
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/softpipe/
H A Dsp_state_blend.c40 const struct pipe_blend_state *blend)
42 return mem_dup(blend, sizeof(*blend));
48 void *blend)
54 softpipe->blend = (struct pipe_blend_state *)blend;
62 void *blend)
64 FREE( blend );
39 softpipe_create_blend_state(struct pipe_context * pipe,const struct pipe_blend_state * blend) argument
47 softpipe_bind_blend_state(struct pipe_context * pipe,void * blend) argument
61 softpipe_delete_blend_state(struct pipe_context * pipe,void * blend) argument
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/etnaviv/
H A Detnaviv_blend.h47 etna_blend_state(struct pipe_blend_state *blend) argument
49 return (struct etna_blend_state *)blend;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a5xx/
H A Dfd5_blend.h54 fd5_blend_stateobj(struct pipe_blend_state *blend) argument
56 return (struct fd5_blend_stateobj *)blend;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/etnaviv/
H A Detnaviv_blend.h47 etna_blend_state(struct pipe_blend_state *blend) argument
49 return (struct etna_blend_state *)blend;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/softpipe/
H A Dsp_state_blend.c40 const struct pipe_blend_state *blend)
42 return mem_dup(blend, sizeof(*blend));
48 void *blend)
54 softpipe->blend = (struct pipe_blend_state *)blend;
62 void *blend)
64 FREE( blend );
39 softpipe_create_blend_state(struct pipe_context * pipe,const struct pipe_blend_state * blend) argument
47 softpipe_bind_blend_state(struct pipe_context * pipe,void * blend) argument
61 softpipe_delete_blend_state(struct pipe_context * pipe,void * blend) argument
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/
H A Dlp_test_blend.c31 * Unit tests for blend LLVM IR generation
75 const struct pipe_blend_state *blend,
92 blend->rt[0].rgb_func != blend->rt[0].alpha_func ? "true" : "false",
93 blend->rt[0].rgb_src_factor != blend->rt[0].alpha_src_factor ? "true" : "false",
94 blend->rt[0].rgb_dst_factor != blend->rt[0].alpha_dst_factor ? "true" : "false");
98 util_str_blend_func(blend->rt[0].rgb_func, TRUE),
99 util_str_blend_factor(blend
74 write_tsv_row(FILE * fp,const struct pipe_blend_state * blend,struct lp_type type,double cycles,boolean success) argument
110 dump_blend_type(FILE * fp,const struct pipe_blend_state * blend,struct lp_type type) argument
135 add_blend_test(struct gallivm_state * gallivm,const struct pipe_blend_state * blend,struct lp_type type) argument
360 compute_blend_ref(const struct pipe_blend_state * blend,const double * src,const double * src1,const double * dst,const double * con,double * res) argument
435 test_one(unsigned verbose,FILE * fp,const struct pipe_blend_state * blend,struct lp_type type) argument
645 struct pipe_blend_state blend; local in function:test_all
696 struct pipe_blend_state blend; local in function:test_some
[all...]
H A Dlp_state_blend.c46 const struct pipe_blend_state *blend)
48 struct pipe_blend_state *state = mem_dup(blend, sizeof *blend);
62 llvmpipe_bind_blend_state(struct pipe_context *pipe, void *blend) argument
66 if (llvmpipe->blend == blend)
71 llvmpipe->blend = blend;
78 llvmpipe_delete_blend_state(struct pipe_context *pipe, void *blend) argument
80 FREE( blend );
45 llvmpipe_create_blend_state(struct pipe_context * pipe,const struct pipe_blend_state * blend) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_test_blend.c31 * Unit tests for blend LLVM IR generation
75 const struct pipe_blend_state *blend,
92 blend->rt[0].rgb_func != blend->rt[0].alpha_func ? "true" : "false",
93 blend->rt[0].rgb_src_factor != blend->rt[0].alpha_src_factor ? "true" : "false",
94 blend->rt[0].rgb_dst_factor != blend->rt[0].alpha_dst_factor ? "true" : "false");
98 util_str_blend_func(blend->rt[0].rgb_func, TRUE),
99 util_str_blend_factor(blend
74 write_tsv_row(FILE * fp,const struct pipe_blend_state * blend,struct lp_type type,double cycles,boolean success) argument
110 dump_blend_type(FILE * fp,const struct pipe_blend_state * blend,struct lp_type type) argument
135 add_blend_test(struct gallivm_state * gallivm,const struct pipe_blend_state * blend,struct lp_type type) argument
360 compute_blend_ref(const struct pipe_blend_state * blend,const double * src,const double * src1,const double * dst,const double * con,double * res) argument
435 test_one(unsigned verbose,FILE * fp,const struct pipe_blend_state * blend,struct lp_type type) argument
645 struct pipe_blend_state blend; local in function:test_all
696 struct pipe_blend_state blend; local in function:test_some
[all...]

Completed in 22 milliseconds

1234567891011>>