HomeSort by relevance Sort by last modified time
    Searched refs:blend (Results 1 - 25 of 262) sorted by null

1 2 3 4 5 6 7 8 91011

  /external/mesa3d/src/gallium/drivers/svga/
svga_pipe_blend.c 81 struct svga_blend_state *blend = CALLOC_STRUCT( svga_blend_state ); local
85 /* Fill in the per-rendertarget blend state. We currently only
90 * top of D3D9 API. Instead we try to simulate with various blend modes.
96 blend->need_white_fragments = TRUE;
97 blend->rt[i].blend_enable = TRUE;
98 blend->rt[i].srcblend = SVGA3D_BLENDOP_ONE;
99 blend->rt[i].dstblend = SVGA3D_BLENDOP_ONE;
100 blend->rt[i].blendeq = SVGA3D_BLENDEQ_SUBTRACT;
103 blend->rt[i].blend_enable = TRUE;
104 blend->rt[i].srcblend = SVGA3D_BLENDOP_ZERO
    [all...]
  /external/mesa3d/src/gallium/auxiliary/util/
u_dual_blend.h 14 static INLINE boolean util_blend_state_is_dual(const struct pipe_blend_state *blend,
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))
  /cts/tests/tests/rscpp/src/android/cts/rscpp/
RSBlendTest.java 59 ScriptIntrinsicBlend blend = ScriptIntrinsicBlend.create(mRS, Element.RGBA_8888(mRS)); local
63 blend.forEachAdd(rsInput, rsOutput);
66 blend.forEachClear(rsInput, rsOutput);
69 blend.forEachDst(rsInput, rsOutput);
72 blend.forEachDstAtop(rsInput, rsOutput);
75 blend.forEachDstIn(rsInput, rsOutput);
78 blend.forEachDstOut(rsInput, rsOutput);
81 blend.forEachDstOver(rsInput, rsOutput);
84 blend.forEachMultiply(rsInput, rsOutput);
87 blend.forEachSrc(rsInput, rsOutput)
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/i965/
gen6_cc.c 40 struct gen6_blend_state *blend; local
54 size = sizeof(*blend) * nr_draw_buffers;
55 blend = brw_state_batch(brw, AUB_TRACE_BLEND_STATE,
58 memset(blend, 0, size);
93 blend[b].blend1.logic_op_enable = 1;
94 blend[b].blend1.logic_op_func =
98 GLenum eqRGB = ctx->Color.Blend[b].EquationRGB;
99 GLenum eqA = ctx->Color.Blend[b].EquationA;
100 GLenum srcRGB = ctx->Color.Blend[b].SrcRGB;
101 GLenum dstRGB = ctx->Color.Blend[b].DstRGB
    [all...]
  /frameworks/base/libs/hwui/
GlLayer.h 35 SkColorFilter* colorFilter, int alpha, SkBlendMode mode, bool blend);
51 void setBlend(bool blend) override {
52 texture.blend = blend;
56 return texture.blend;
VkLayer.h 31 SkColorFilter* colorFilter, int alpha, SkBlendMode mode, bool blend)
35 , mBlend(blend) {}
52 void setBlend(bool blend) override {
53 mBlend = blend;
DeferredLayerUpdater.h 45 SkBlendMode mode, bool blend)> CreateLayerFn;
63 ANDROID_API bool setBlend(bool blend) {
64 if (blend != mBlend) {
65 mBlend = blend;
  /external/mesa3d/src/mesa/state_tracker/
st_atom_blend.c 45 * Convert GLenum blend tokens to pipe tokens.
46 * Both blend factors and blend funcs are accepted.
49 translate_blend(GLenum blend)
51 switch (blend) {
52 /* blend functions */
64 /* blend factors */
172 * Figure out if blend enables/state are different per rt.
192 struct pipe_blend_state *blend = &st->state.blend; local
    [all...]
  /external/mesa3d/src/gallium/drivers/softpipe/
sp_state_blend.c 40 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 );
  /frameworks/rs/support/java/src/android/support/v8/renderscript/
ScriptIntrinsicBlend.java 54 private void blend(int id, Allocation ain, Allocation aout) {
71 blend(0, ain, aout);
91 blend(1, ain, aout);
131 blend(3, ain, aout);
150 blend(4, ain, aout);
169 blend(5, ain, aout);
188 blend(6, ain, aout);
207 blend(7, ain, aout);
226 blend(8, ain, aout);
246 blend(9, ain, aout)
    [all...]
  /external/mesa3d/src/gallium/drivers/llvmpipe/
lp_state_blend.c 46 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)
66 if (llvmpipe->blend == blend)
71 llvmpipe->blend = blend;
78 llvmpipe_delete_blend_state(struct pipe_context *pipe, void *blend)
80 FREE( blend );
    [all...]
lp_test_blend.c 31 * Unit tests for blend LLVM IR generation
35 * Blend computation code derived from code written by
82 const struct pipe_blend_state *blend,
108 blend->rt[0].rgb_func != blend->rt[0].alpha_func ? "true" : "false",
109 blend->rt[0].rgb_src_factor != blend->rt[0].alpha_src_factor ? "true" : "false",
110 blend->rt[0].rgb_dst_factor != blend->rt[0].alpha_dst_factor ? "true" : "false");
114 util_dump_blend_func(blend->rt[0].rgb_func, TRUE)
750 struct pipe_blend_state blend; local
804 struct pipe_blend_state blend; local
    [all...]
  /external/pdfium/third_party/freetype/src/truetype/
ttgxvar.c 293 GX_Blend blend = face->blend; local
306 blend->avar_checked = TRUE;
328 if ( axisCount != (FT_Long)blend->mmvar->num_axis )
335 if ( FT_NEW_ARRAY( blend->avar_segment, axisCount ) )
338 segment = &blend->avar_segment[0];
350 FT_FREE( blend->avar_segment[j].correspondence );
352 FT_FREE( blend->avar_segment );
353 blend->avar_segment = NULL;
409 GX_Blend blend = face->blend local
993 GX_Blend blend; local
1154 GX_Blend blend; local
1300 GX_Blend blend = face->blend; local
1769 GX_Blend blend = face->blend; local
    [all...]
  /external/freetype/src/truetype/
ttgxvar.c 309 GX_Blend blend = face->blend; local
322 blend->avar_checked = TRUE;
344 if ( axisCount != (FT_Long)blend->mmvar->num_axis )
351 if ( FT_NEW_ARRAY( blend->avar_segment, axisCount ) )
354 segment = &blend->avar_segment[0];
367 FT_FREE( blend->avar_segment[j].correspondence );
369 FT_FREE( blend->avar_segment );
370 blend->avar_segment = NULL;
418 GX_Blend blend = face->blend local
731 GX_Blend blend = face->blend; local
1169 GX_Blend blend = face->blend; local
1307 GX_Blend blend = face->blend; local
1414 GX_Blend blend = face->blend; local
2042 GX_Blend blend; local
2206 GX_Blend blend; local
2276 GX_Blend blend; local
2414 GX_Blend blend; local
2547 GX_Blend blend = face->blend; local
3034 GX_Blend blend = face->blend; local
3449 GX_Blend blend = face->blend; local
    [all...]
  /external/pdfium/third_party/freetype/src/type1/
t1load.c 107 PS_Blend blend; local
112 blend = face->blend;
113 if ( !blend )
115 if ( FT_NEW( blend ) )
118 blend->num_default_design_vector = 0;
120 face->blend = blend;
126 if ( blend->num_designs == 0 )
131 /* allocate the blend `private' and `font_info' dictionaries *
194 PS_Blend blend = face->blend; local
310 PS_Blend blend = face->blend; local
370 PS_Blend blend = face->blend; local
416 PS_Blend blend = face->blend; local
514 PS_Blend blend = face->blend; local
571 PS_Blend blend; local
650 PS_Blend blend; local
745 PS_Blend blend; local
844 PS_Blend blend = face->blend; local
939 PS_Blend blend = face->blend; local
    [all...]
  /external/mesa3d/src/gallium/state_trackers/xa/
xa_composite.c 102 blend_for_op(struct xa_composite_blend *blend,
122 *blend = xa_blends[XA_BLEND_OP_OVER];
126 *blend = xa_blends[i];
135 blend->rgb_src = xa_convert_blend_for_luminance(blend->rgb_src);
136 blend->rgb_dst = xa_convert_blend_for_luminance(blend->rgb_dst);
140 * If there's no dst alpha channel, adjust the blend op so that we'll treat
144 if (xa_format_a(dst_pic->pict_format) == 0 && blend->alpha_dst) {
145 if (blend->rgb_src == PIPE_BLENDFACTOR_DST_ALPHA
218 struct xa_composite_blend blend; local
259 struct pipe_blend_state blend; local
362 struct xa_composite_blend blend; local
    [all...]
xa_yuv.c 40 struct pipe_blend_state blend; local
42 memset(&blend, 0, sizeof(struct pipe_blend_state));
43 blend.rt[0].blend_enable = 0;
44 blend.rt[0].colormask = PIPE_MASK_RGBA;
47 blend.rt[0].rgb_src_factor = PIPE_BLENDFACTOR_ONE;
48 blend.rt[0].alpha_src_factor = PIPE_BLENDFACTOR_ONE;
49 blend.rt[0].rgb_dst_factor = PIPE_BLENDFACTOR_ZERO;
50 blend.rt[0].alpha_dst_factor = PIPE_BLENDFACTOR_ZERO;
52 cso_set_blend(r->cso, &blend);
  /frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Convolve5x5.java 36 private float blend(float v1, float v2, float p) { method in class:Convolve5x5
43 float cf1 = blend(f125, -1.f, str);
44 float cf2 = blend(f125, -3.f, str);
45 float cf3 = blend(f125, -4.f, str);
46 float cf4 = blend(f125, 6.f, str);
47 float cf5 = blend(f125, 20.f, str);
48 float cf6 = blend(f125, 0.f, str);
  /frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Convolve5x5.java 43 private float blend(float v1, float v2, float p) { method in class:Convolve5x5
50 float cf1 = blend(f125, -1.f, str);
51 float cf2 = blend(f125, -3.f, str);
52 float cf3 = blend(f125, -4.f, str);
53 float cf4 = blend(f125, 6.f, str);
54 float cf5 = blend(f125, 20.f, str);
55 float cf6 = blend(f125, 0.f, str);
  /frameworks/base/graphics/java/android/graphics/
Interpolator.java 65 * values (with an implicity blend array of [0, 0, 1, 1] giving linear
79 * values and blend array.
85 * @param blend (may be null) Optional array of 4 blend values
87 public void setKeyFrame(int index, int msec, float[] values, float[] blend) {
94 if (blend != null && blend.length < 4) {
97 nativeSetKeyFrame(native_instance, index, msec, values, blend);
160 private static native void nativeSetKeyFrame(long native_instance, int index, int msec, float[] values, float[] blend);
  /frameworks/base/rs/java/android/renderscript/
ScriptIntrinsicBlend.java 43 private void blend(int id, Allocation ain, Allocation aout, Script.LaunchOptions opt) { method in class:ScriptIntrinsicBlend
71 blend(0, ain, aout, opt);
102 blend(1, ain, aout, null);
166 blend(3, ain, aout, opt);
196 blend(4, ain, aout, opt);
226 blend(5, ain, aout, opt);
256 blend(6, ain, aout, opt);
286 blend(7, ain, aout, opt);
316 blend(8, ain, aout, opt);
348 blend(9, ain, aout, opt)
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/nouveau/
nv04_state_raster.c 192 context_dirty(ctx, BLEND);
200 nv04->blend &= NV04_TEXTURED_TRIANGLE_BLEND_TEXTURE_MAP__MASK;
201 nv04->blend |= NV04_TEXTURED_TRIANGLE_BLEND_MASK_BIT_MSB |
205 nv04->blend |= get_blend_func(ctx->Color.Blend[0].DstRGB) << 28 |
206 get_blend_func(ctx->Color.Blend[0].SrcRGB) << 24;
209 nv04->blend |= NV04_TEXTURED_TRIANGLE_BLEND_BLEND_ENABLE;
213 nv04->blend |= NV04_TEXTURED_TRIANGLE_BLEND_SHADE_MODE_GOURAUD;
215 nv04->blend |= NV04_TEXTURED_TRIANGLE_BLEND_SHADE_MODE_FLAT;
219 nv04->blend |= NV04_TEXTURED_TRIANGLE_BLEND_SPECULAR_ENABLE
    [all...]
  /external/mesa3d/src/gallium/auxiliary/postprocess/
pp_program.h 43 struct pipe_blend_state blend; member in struct:program
  /external/mesa3d/src/gallium/auxiliary/vl/
vl_matrix_filter.h 42 void *blend; member in struct:vl_matrix_filter
vl_median_filter.h 50 void *blend; member in struct:vl_median_filter

Completed in 1062 milliseconds

1 2 3 4 5 6 7 8 91011