/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/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/deqp/android/cts/master/src/ |
gles3-pixelformat-issues.txt | 2 dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer.rgb_func_alpha_func.src.dst_color_one_minus_dst_alpha 3 dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer.rgb_func_alpha_func.src.dst_color_constant_alpha 4 dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer.rgb_func_alpha_func.src.dst_color_src_alpha_saturate 5 dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer.rgb_func_alpha_func.dst.one_zero 6 dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer.rgb_func_alpha_func.dst.one_one_minus_src_color 7 dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer.rgb_func_alpha_func.dst.one_one_minus_dst_color 8 dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer.rgb_func_alpha_func.dst.one_one_minus_dst_alpha 9 dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer.rgb_func_alpha_func.dst.one_constant_color 10 dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer.rgb_func_alpha_func.dst.one_constant_alpha 11 dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer.rgb_func_alpha_func.dst.one_src_alpha_saturat [all...] |
/external/deqp/android/cts/master/ |
gles3-multisample.txt | [all...] |
gles3-565-no-depth-no-stencil.txt | [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...] |
/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/jmonkeyengine/engine/src/core-data/Common/MatDefs/Shadow/ |
PostShadow.j3md | 22 Blend Modulate
|
PostShadowPSSM.j3md | 39 Blend Modulate
59 Blend Modulate
|
/frameworks/support/v8/renderscript/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/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/pdfium/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/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/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/skia/include/gpu/effects/ |
GrCustomXfermode.h | 17 * Custom Xfer modes are used for blending when the blend mode cannot be represented using blend 19 * blend mode there should be a matching fragment processor (used when blending with a background
|
/external/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 992 GX_Blend blend; local 1153 GX_Blend blend; local 1299 GX_Blend blend = face->blend; local 1768 GX_Blend blend = face->blend; local [all...] |
/frameworks/base/libs/hwui/renderstate/ |
Blend.cpp | 16 #include <renderstate/Blend.h> 74 Blend::Blend() 81 void Blend::enable(SkXfermode::Mode mode, ModeOrderSwap modeUsage) { 88 void Blend::disable() { 95 void Blend::invalidate() { 100 void Blend::syncEnabled() { 108 void Blend::getFactors(SkXfermode::Mode mode, ModeOrderSwap modeUsage, GLenum* outSrc, GLenum* outDst) { 113 void Blend::setFactors(GLenum srcMode, GLenum dstMode) { 130 void Blend::dump() [all...] |
/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/gallium/docs/source/cso/ |
blend.rst | 3 Blend 9 Blend Factors 12 The blend factors largely follow the same pattern as their counterparts 15 Dual source blend factors are supported for up to 1 MRT, although 26 blend state is ignored, including per-render-target state, so logicops are 85 If enabled, blend state is different for each render target, and 87 If disabled, blend state is the same for all render targets, and only 90 Contains the per-rendertarget blend state. 96 If blending is enabled, perform a blend calculation according to blend [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
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...] |
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...] |
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
BlendFilter.java | 25 * the multiplication of parameter "blend" and the alpha value in "right" frame. 34 "uniform float blend;\n" + 39 " float weight = colorR.a * blend;\n" + 44 super(name, new String[] { "left", "right" }, "blended", "blend"); 49 throw new RuntimeException("TODO: Write native implementation for Blend!");
|