/external/chromium_org/third_party/mesa/src/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))
|
/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))
|
/external/chromium_org/third_party/mesa/src/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/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/chromium_org/third_party/mesa/src/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/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/jmonkeyengine/engine/src/terrain/Common/MatDefs/Terrain/ |
HeightBasedTerrain.frag | 22 vec3 blend = abs( normal );
23 blend = (blend -0.2) * 0.7;
24 blend = normalize(max(blend, 0.00001)); // Force weights to sum to 1.0 (very important!)
25 float b = (blend.x + blend.y + blend.z);
26 blend /= vec3(b, b, b);
70 return (blend.y * terrainColor + blend.x * slopeCol1 + blend.z * slopeCol2); [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/ |
FilterOperation.cpp | 34 PassRefPtr<FilterOperation> FilterOperation::blend(const FilterOperation* from, const FilterOperation* to, double progress) function in class:WebCore::FilterOperation 38 return to->blend(from, progress); 39 return from->blend(0, 1 - progress); 42 PassRefPtr<FilterOperation> BasicColorMatrixFilterOperation::blend(const FilterOperation* from, double progress) const function in class:WebCore::BasicColorMatrixFilterOperation 64 double result = WebCore::blend(fromAmount, m_amount, progress); 81 PassRefPtr<FilterOperation> BasicComponentTransferFilterOperation::blend(const FilterOperation* from, double progress) const function in class:WebCore::BasicComponentTransferFilterOperation 103 double result = WebCore::blend(fromAmount, m_amount, progress); 119 PassRefPtr<FilterOperation> BlurFilterOperation::blend(const FilterOperation* from, double progress) const function in class:WebCore::BlurFilterOperation 123 return BlurFilterOperation::create(m_stdDeviation.blend(Length(lengthType), progress, ValueRangeNonNegative)); 126 return BlurFilterOperation::create(m_stdDeviation.blend(fromOp->m_stdDeviation, progress, ValueRangeNonNegative)) 129 PassRefPtr<FilterOperation> DropShadowFilterOperation::blend(const FilterOperation* from, double progress) const function in class:WebCore::DropShadowFilterOperation [all...] |
/cts/tests/tests/rscpp/src/android/cts/rscpp/ |
RSBlendTest.java | 62 ScriptIntrinsicBlend blend = ScriptIntrinsicBlend.create(mRS, Element.RGBA_8888(mRS)); local 66 blend.forEachAdd(rsInput, rsOutput); 69 blend.forEachClear(rsInput, rsOutput); 72 blend.forEachDst(rsInput, rsOutput); 75 blend.forEachDstAtop(rsInput, rsOutput); 78 blend.forEachDstIn(rsInput, rsOutput); 81 blend.forEachDstOut(rsInput, rsOutput); 84 blend.forEachDstOver(rsInput, rsOutput); 87 blend.forEachMultiply(rsInput, rsOutput); 90 blend.forEachSrc(rsInput, rsOutput) [all...] |
/external/jmonkeyengine/engine/src/core-data/Common/MatDefs/Shadow/ |
PostShadow.j3md | 22 Blend Modulate
|
/frameworks/base/graphics/java/android/renderscript/ |
ScriptIntrinsicBlend.java | 43 private void blend(int id, Allocation ain, Allocation aout) { method in class:ScriptIntrinsicBlend 60 blend(0, ain, aout); 80 blend(1, ain, aout); 120 blend(3, ain, aout); 139 blend(4, ain, aout); 158 blend(5, ain, aout); 177 blend(6, ain, aout); 196 blend(7, ain, aout); 215 blend(8, ain, aout); 235 blend(9, ain, aout) [all...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
ScriptIntrinsicBlend.java | 48 private void blend(int id, Allocation ain, Allocation aout) { method in class:ScriptIntrinsicBlend 65 blend(0, ain, aout); 85 blend(1, ain, aout); 125 blend(3, ain, aout); 144 blend(4, ain, aout); 163 blend(5, ain, aout); 182 blend(6, ain, aout); 201 blend(7, ain, aout); 220 blend(8, ain, aout); 240 blend(9, ain, aout) [all...] |
/external/jmonkeyengine/engine/src/core-data/Common/MatDefs/Misc/ |
WireColor.j3md | 15 Blend Alpha
32 Blend Alpha
|
Particle.j3md | 31 Blend AlphaAdditive
56 Blend AlphaAdditive
78 Blend AlphaAdditive
89 Blend AlphaAdditive
111 Blend AlphaAdditive
|
/external/chromium_org/third_party/freetype/src/truetype/ |
ttgxvar.c | 286 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 = face->blend local 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/freetype/src/truetype/ |
ttgxvar.c | 286 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 = face->blend local 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/skia/src/animator/ |
SkDisplayRandom.cpp | 21 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);
|
SkOperandInterpolator.h | 30 @param blend A positive scalar specifying how to blend between this and the next key frame. 31 [0...1) is a cubic lag/log/lag blend (slow to change at the beginning and end) 32 1 is a linear blend (default) 33 (1...inf) is a cubic log/lag/log blend (fast to change at the beginning and end) 35 bool setKeyFrame(int index, SkMSec time, const SkOperand values[], SkScalar blend = SK_Scalar1);
|
/external/skia/src/animator/ |
SkDisplayRandom.cpp | 21 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);
|
SkOperandInterpolator.h | 30 @param blend A positive scalar specifying how to blend between this and the next key frame. 31 [0...1) is a cubic lag/log/lag blend (slow to change at the beginning and end) 32 1 is a linear blend (default) 33 (1...inf) is a cubic log/lag/log blend (fast to change at the beginning and end) 35 bool setKeyFrame(int index, SkMSec time, const SkOperand values[], SkScalar blend = SK_Scalar1);
|
/external/chromium_org/third_party/mesa/src/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...] |
/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...] |
/external/chromium_org/cc/output/ |
filter_operations_unittest.cc | 147 FilterOperation blended = FilterOperation::Blend(&from, &to, -0.75); 151 blended = FilterOperation::Blend(&from, &to, 0.75); 155 blended = FilterOperation::Blend(&from, &to, 1.8); 163 FilterOperation blended = FilterOperation::Blend(&filter, NULL, 0.25); 167 blended = FilterOperation::Blend(NULL, &filter, 0.25); 176 FilterOperation blended = FilterOperation::Blend(&from, &to, -0.75); 180 blended = FilterOperation::Blend(&from, &to, 0.75); 184 blended = FilterOperation::Blend(&from, &to, 1.8); 192 FilterOperation blended = FilterOperation::Blend(&filter, NULL, 0.25); 196 blended = FilterOperation::Blend(NULL, &filter, 0.25) [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/transforms/ |
ScaleTransformOperation.cpp | 29 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);
|
TranslateTransformOperation.cpp | 27 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, ValueRangeAll), zeroLength.blend(m_y, progress, ValueRangeAll), zeroLength.blend(m_z, progress, ValueRangeAll), m_type); 40 return TranslateTransformOperation::create(m_x.blend(fromX, progress, ValueRangeAll), m_y.blend(fromY, progress, ValueRangeAll), m_z.blend(fromZ, progress, ValueRangeAll), m_type);
|