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

1234567891011>>

/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
H A Dsvga_pipe_blend.c81 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
204 svga_bind_blend_state(struct pipe_context *pipe, void *blend) argument
214 svga_delete_blend_state(struct pipe_context *pipe, void *blend) argument
[all...]
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_pipe_blend.c81 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
204 svga_bind_blend_state(struct pipe_context *pipe, void *blend) argument
214 svga_delete_blend_state(struct pipe_context *pipe, void *blend) argument
[all...]
/external/chromium_org/third_party/mesa/src/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))
/external/mesa3d/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))
/external/chromium_org/third_party/WebKit/Source/core/platform/animation/
H A DAnimationUtilities.h35 inline int blend(int from, int to, double progress) function in namespace:WebCore
40 inline unsigned blend(unsigned from, unsigned to, double progress) function in namespace:WebCore
45 inline double blend(double from, double to, double progress) function in namespace:WebCore
50 inline float blend(float from, float to, double progress) function in namespace:WebCore
55 inline LayoutUnit blend(LayoutUnit from, LayoutUnit to, double progress) function in namespace:WebCore
60 inline IntPoint blend(const IntPoint& from, const IntPoint& to, double progress) function in namespace:WebCore
62 return IntPoint(blend(from.x(), to.x(), progress), blend(from.y(), to.y(), progress));
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/transforms/
H A DSkewTransformOperation.cpp29 PassRefPtr<TransformOperation> SkewTransformOperation::blend(const TransformOperation* from, double progress, bool blendToIdentity) function in class:WebCore::SkewTransformOperation
35 return SkewTransformOperation::create(WebCore::blend(m_angleX, 0.0, progress), WebCore::blend(m_angleY, 0.0, progress), m_type);
40 return SkewTransformOperation::create(WebCore::blend(fromAngleX, m_angleX, progress), WebCore::blend(fromAngleY, m_angleY, progress), m_type);
H A DScaleTransformOperation.cpp29 PassRefPtr<TransformOperation> ScaleTransformOperation::blend(const TransformOperation* from, double progress, bool blendToIdentity) function in class:WebCore::ScaleTransformOperation
35 return ScaleTransformOperation::create(WebCore::blend(m_x, 1.0, progress),
36 WebCore::blend(m_y, 1.0, progress),
37 WebCore::blend(m_z, 1.0, progress), m_type);
43 return ScaleTransformOperation::create(WebCore::blend(fromX, m_x, progress),
44 WebCore::blend(fromY, m_y, progress),
45 WebCore::blend(fromZ, m_z, progress), m_type);
H A DTranslateTransformOperation.cpp27 PassRefPtr<TransformOperation> TranslateTransformOperation::blend(const TransformOperation* from, double progress, bool blendToIdentity) function in class:WebCore::TranslateTransformOperation
34 return TranslateTransformOperation::create(zeroLength.blend(m_x, progress), zeroLength.blend(m_y, progress), zeroLength.blend(m_z, progress), m_type);
40 return TranslateTransformOperation::create(m_x.blend(fromX, progress), m_y.blend(fromY, progress), m_z.blend(fromZ, progress), m_type);
H A DMatrix3DTransformOperation.cpp35 PassRefPtr<TransformOperation> Matrix3DTransformOperation::blend(const TransformOperation* from, double progress, bool blendToIdentity) function in class:WebCore::Matrix3DTransformOperation
52 toT.blend(fromT, progress);
H A DPerspectiveTransformOperation.cpp36 PassRefPtr<TransformOperation> PerspectiveTransformOperation::blend(const TransformOperation* from, double progress, bool blendToIdentity) function in class:WebCore::PerspectiveTransformOperation
43 p = WebCore::blend(p, 1.0, progress); // FIXME: this seems wrong. https://bugs.webkit.org/show_bug.cgi?id=52700
55 toT.blend(fromT, progress);
/external/chromium_org/gpu/command_buffer/client/
H A Dclient_context_state_autogen.h15 bool blend; member in struct:EnableFlags
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/filters/
H A DFilterOperation.cpp34 PassRefPtr<FilterOperation> BasicColorMatrixFilterOperation::blend(const FilterOperation* from, double progress, bool blendToPassthrough) function in class:WebCore::BasicColorMatrixFilterOperation
40 return BasicColorMatrixFilterOperation::create(WebCore::blend(m_amount, passthroughAmount(), progress), m_type);
44 return BasicColorMatrixFilterOperation::create(WebCore::blend(fromAmount, m_amount, progress), m_type);
62 PassRefPtr<FilterOperation> BasicComponentTransferFilterOperation::blend(const FilterOperation* from, double progress, bool blendToPassthrough) function in class:WebCore::BasicComponentTransferFilterOperation
68 return BasicComponentTransferFilterOperation::create(WebCore::blend(m_amount, passthroughAmount(), progress), m_type);
72 return BasicComponentTransferFilterOperation::create(WebCore::blend(fromAmount, m_amount, progress), m_type);
92 PassRefPtr<FilterOperation> GammaFilterOperation::blend(const FilterOperation* from, double progress, bool blendToPassthrough) function in class:WebCore::GammaFilterOperation
99 WebCore::blend(m_amplitude, 1.0, progress),
100 WebCore::blend(m_exponent, 1.0, progress),
101 WebCore::blend(m_offse
113 PassRefPtr<FilterOperation> BlurFilterOperation::blend(const FilterOperation* from, double progress, bool blendToPassthrough) function in class:WebCore::BlurFilterOperation
128 PassRefPtr<FilterOperation> DropShadowFilterOperation::blend(const FilterOperation* from, double progress, bool blendToPassthrough) function in class:WebCore::DropShadowFilterOperation
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
H A Dgen6_cc.c40 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 =
113 blend[b].blend0.dest_blend_factor = brw_translate_blend_factor(dstRGB);
114 blend[b].blend0.source_blend_factor = brw_translate_blend_factor(srcRGB);
115 blend[b].blend0.blend_func = brw_translate_blend_equation(eqRGB);
117 blend[
[all...]
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dgen6_cc.c40 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 =
113 blend[b].blend0.dest_blend_factor = brw_translate_blend_factor(dstRGB);
114 blend[b].blend0.source_blend_factor = brw_translate_blend_factor(srcRGB);
115 blend[b].blend0.blend_func = brw_translate_blend_equation(eqRGB);
117 blend[
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
H A Dst_atom_blend.c45 * Convert GLenum blend tokens to pipe tokens.
46 * Both blend factors and blend funcs are accepted.
49 translate_blend(GLenum blend) argument
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/mesa/state_tracker/
H A Dst_atom_blend.c45 * Convert GLenum blend tokens to pipe tokens.
46 * Both blend factors and blend funcs are accepted.
49 translate_blend(GLenum blend) argument
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/chromium_org/third_party/freetype/src/truetype/
H A Dttgxvar.c284 GX_Blend blend = face->blend; local
295 blend->avar_checked = TRUE;
306 axisCount != (FT_Long)blend->mmvar->num_axis )
309 if ( FT_NEW_ARRAY( blend->avar_segment, axisCount ) )
312 segment = &blend->avar_segment[0];
322 FT_FREE( blend->avar_segment[j].correspondence );
324 FT_FREE( blend->avar_segment );
325 blend->avar_segment = NULL;
376 GX_Blend blend local
497 ft_var_apply_tuple( GX_Blend blend, FT_UShort tupleIndex, FT_Fixed* tuple_coords, FT_Fixed* im_start_coords, FT_Fixed* im_end_coords ) argument
860 GX_Blend blend; local
997 GX_Blend blend; local
1132 GX_Blend blend = face->blend; local
1327 GX_Blend blend = face->blend; local
[all...]
/external/freetype/src/truetype/
H A Dttgxvar.c286 GX_Blend blend = face->blend; local
297 blend->avar_checked = TRUE;
308 axisCount != (FT_Long)blend->mmvar->num_axis )
311 if ( FT_NEW_ARRAY( blend->avar_segment, axisCount ) )
314 segment = &blend->avar_segment[0];
324 FT_FREE( blend->avar_segment[j].correspondence );
326 FT_FREE( blend->avar_segment );
327 blend->avar_segment = NULL;
378 GX_Blend blend local
499 ft_var_apply_tuple( GX_Blend blend, FT_UShort tupleIndex, FT_Fixed* tuple_coords, FT_Fixed* im_start_coords, FT_Fixed* im_end_coords ) argument
853 GX_Blend blend; local
990 GX_Blend blend; local
1113 GX_Blend blend = face->blend; local
1308 GX_Blend blend = face->blend; local
[all...]
/external/chromium_org/third_party/mesa/src/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
/external/mesa3d/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
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
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...]
/external/mesa3d/src/gallium/drivers/llvmpipe/
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...]
/external/chromium_org/third_party/skia/src/animator/
H A DSkDisplayRandom.cpp21 SK_MEMBER(blend, Float),
32 SkDisplayRandom::SkDisplayRandom() : blend(0), min(0), max(SK_Scalar1) {
40 SkDebugf("blend=\"%g\" ", SkScalarToFloat(blend));
49 SkScalar relativeT = SkUnitCubicInterp(random, SK_Scalar1 - blend, 0, 0, SK_Scalar1 - blend);
/external/skia/src/animator/
H A DSkDisplayRandom.cpp21 SK_MEMBER(blend, Float),
32 SkDisplayRandom::SkDisplayRandom() : blend(0), min(0), max(SK_Scalar1) {
40 SkDebugf("blend=\"%g\" ", SkScalarToFloat(blend));
49 SkScalar relativeT = SkUnitCubicInterp(random, SK_Scalar1 - blend, 0, 0, SK_Scalar1 - blend);
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
H A DBasicShapes.cpp70 PassRefPtr<BasicShape> BasicShapeRectangle::blend(const BasicShape* other, double progress) const function in class:WebCore::BasicShapeRectangle
76 result->setX(m_x.blend(o->x(), progress));
77 result->setY(m_y.blend(o->y(), progress));
78 result->setWidth(m_width.blend(o->width(), progress));
79 result->setHeight(m_height.blend(o->height(), progress));
80 result->setCornerRadiusX(m_cornerRadiusX.blend(o->cornerRadiusX(), progress));
81 result->setCornerRadiusY(m_cornerRadiusY.blend(o->cornerRadiusY(), progress));
100 PassRefPtr<BasicShape> BasicShapeCircle::blend(const BasicShape* other, double progress) const function in class:WebCore::BasicShapeCircle
106 result->setCenterX(m_centerX.blend(o->centerX(), progress));
107 result->setCenterY(m_centerY.blend(
127 PassRefPtr<BasicShape> BasicShapeEllipse::blend(const BasicShape* other, double progress) const function in class:WebCore::BasicShapeEllipse
158 PassRefPtr<BasicShape> BasicShapePolygon::blend(const BasicShape* other, double progress) const function in class:WebCore::BasicShapePolygon
200 PassRefPtr<BasicShape> BasicShapeInsetRectangle::blend(const BasicShape* other, double progress) const function in class:WebCore::BasicShapeInsetRectangle
[all...]

Completed in 1819 milliseconds

1234567891011>>