/external/skia/src/gpu/glsl/ |
D | GrGLSLBlend.cpp | 238 static void emit_advanced_xfermode_code(GrGLSLFragmentBuilder* fsBuilder, const char* srcColor, in emit_advanced_xfermode_code() argument 241 SkASSERT(srcColor); in emit_advanced_xfermode_code() 246 outputColor, srcColor, srcColor, dstColor); in emit_advanced_xfermode_code() 251 hard_light(fsBuilder, outputColor, dstColor, srcColor); in emit_advanced_xfermode_code() 257 srcColor, dstColor, srcColor, in emit_advanced_xfermode_code() 258 dstColor, srcColor, dstColor); in emit_advanced_xfermode_code() 264 srcColor, dstColor, srcColor, in emit_advanced_xfermode_code() 265 dstColor, srcColor, dstColor); in emit_advanced_xfermode_code() 268 color_dodge_component(fsBuilder, outputColor, srcColor, dstColor, 'r'); in emit_advanced_xfermode_code() 269 color_dodge_component(fsBuilder, outputColor, srcColor, dstColor, 'g'); in emit_advanced_xfermode_code() [all …]
|
D | GrGLSLBlend.h | 21 void AppendMode(GrGLSLFragmentBuilder* fsBuilder, const char* srcColor, 24 void AppendRegionOp(GrGLSLFragmentBuilder* fsBuilder, const char* srcColor,
|
D | GrGLSLXferProcessor.h | 99 const char* srcColor, in emitBlendCodeForDstRead() argument
|
/external/deqp/framework/referencerenderer/ |
D | rrFragmentOperations.cpp | 415 const Vec4& srcColor = sample.clampedBlendSrcColor; \ in executeBlend() 424 …case BLENDEQUATION_ADD: SAMPLE_REGISTER_BLENDED_COLOR(blendedRGB, srcColor.swizzle(0,1,2)*samp… in executeBlend() 425 …case BLENDEQUATION_SUBTRACT: SAMPLE_REGISTER_BLENDED_COLOR(blendedRGB, srcColor.swizzle(0,1,2)*s… in executeBlend() 426 …ED_COLOR(blendedRGB, dstColor.swizzle(0,1,2)*sample.blendDstFactorRGB - srcColor.swizzle(0,1,2)*sa… in executeBlend() 427 …case BLENDEQUATION_MIN: SAMPLE_REGISTER_BLENDED_COLOR(blendedRGB, min(srcColor.swizzle(0,1,2),… in executeBlend() 428 …case BLENDEQUATION_MAX: SAMPLE_REGISTER_BLENDED_COLOR(blendedRGB, max(srcColor.swizzle(0,1,2),… in executeBlend() 435 …case BLENDEQUATION_ADD: SAMPLE_REGISTER_BLENDED_COLOR(blendedA, srcColor.w()*sample.blendSrcFa… in executeBlend() 436 …case BLENDEQUATION_SUBTRACT: SAMPLE_REGISTER_BLENDED_COLOR(blendedA, srcColor.w()*sample.blendSr… in executeBlend() 437 …_REGISTER_BLENDED_COLOR(blendedA, dstColor.w()*sample.blendDstFactorA - srcColor.w()*sample.blendS… in executeBlend() 438 …case BLENDEQUATION_MIN: SAMPLE_REGISTER_BLENDED_COLOR(blendedA, min(srcColor.w(), dstColor.w()… in executeBlend() [all …]
|
/external/skia/src/core/ |
D | SkBlitter_RGB16.cpp | 272 uint16_t srcColor = fColor16; in blitH() local 274 SkASSERT(fRawColor16 == srcColor); in blitH() 278 SkTSwap(ditherColor, srcColor); in blitH() 280 sk_dither_memset16(device, srcColor, ditherColor, width); in blitH() 282 sk_memset16(device, srcColor, width); in blitH() 295 uint16_t srcColor = fRawColor16; in blitAntiH() local 301 SkTSwap(ditherColor, srcColor); in blitAntiH() 316 sk_dither_memset16(device, srcColor, in blitAntiH() 319 sk_memset16(device, srcColor, count); in blitAntiH() 339 SkTSwap(ditherColor, srcColor); in blitAntiH() [all …]
|
D | SkBlitter_ARGB32.cpp | 18 const SkIRect& clip, SkPMColor srcColor) { in SkARGB32_Blit32() argument 19 U8CPU alpha = SkGetPackedA32(srcColor); in SkARGB32_Blit32()
|
/external/skia/src/effects/ |
D | SkPixelXorXfermode.cpp | 56 const char* srcColor, in add_pixelxor_code() argument 84 if (srcColor) { in add_pixelxor_code() 85 fragBuilder->codeAppendf("vec3 src = 255.99 * %s.rgb;", srcColor); in add_pixelxor_code() 276 const char* srcColor, in emitBlendCodeForDstRead() argument 287 add_pixelxor_code(fragBuilder, srcColor, dstColor, outColor, kOpColorUni); in emitBlendCodeForDstRead()
|
D | SkArithmeticMode_gpu.cpp | 23 const char* srcColor, in add_arithmetic_code() argument 29 if (nullptr == srcColor) { in add_arithmetic_code() 32 fragBuilder->codeAppendf("vec4 src = %s;", srcColor); in add_arithmetic_code() 199 const char* srcColor, in emitBlendCodeForDstRead() argument 210 add_arithmetic_code(fragBuilder, srcColor, dstColor, outColor, kUni, fEnforcePMColor); in emitBlendCodeForDstRead()
|
D | SkAvoidXfermode.cpp | 408 const char* srcColor, in emitBlendCodeForDstRead() argument 432 fragBuilder->codeAppendf("%s = %s;", outColor, srcColor ? srcColor : "vec4(1.0)"); in emitBlendCodeForDstRead()
|
/external/skia/src/gpu/ |
D | GrBlend.cpp | 111 GrColor srcColor, GrColorComponentFlags srcColorFlags, in GrGetCoeffBlendKnownComponents() argument 115 MaskedColor src(srcColor, srcColorFlags); in GrGetCoeffBlendKnownComponents()
|
/external/skia/src/gpu/effects/ |
D | GrXfermodeFragmentProcessor.cpp | 100 SkString srcColor("src"); in emitCode() local 101 this->emitChild(0, inputColor, &srcColor, args); in emitCode() 110 srcColor.c_str(), in emitCode()
|
D | GrCustomXfermode.cpp | 166 const char* srcColor, in emitBlendCodeForDstRead() argument 175 GrGLSLBlend::AppendMode(fragBuilder, srcColor, dstColor, outColor, xp.mode()); in emitBlendCodeForDstRead()
|
D | GrCoverageSetOpXP.cpp | 205 const char* srcColor, in emitBlendCodeForDstRead() argument
|
D | GrPorterDuffXferProcessor.cpp | 551 const char* srcColor, in emitBlendCodeForDstRead() argument 559 GrGLSLBlend::AppendMode(fragBuilder, srcColor, dstColor, outColor, xp.getXfermode()); in emitBlendCodeForDstRead()
|
/external/pdfium/xfa/src/fwl/src/theme/ |
D | widgettp.cpp | 668 FWLCOLOR CFWL_WidgetTP::BlendColor(FWLCOLOR srcColor, in BlendColor() argument 674 ((FX_WORD)srcColor.a * n + (FX_WORD)renderColor.a * scale) >> 8); in BlendColor() 676 ((FX_WORD)srcColor.r * n + (FX_WORD)renderColor.r * scale) >> 8); in BlendColor() 678 ((FX_WORD)srcColor.g * n + (FX_WORD)renderColor.g * scale) >> 8); in BlendColor() 680 ((FX_WORD)srcColor.b * n + (FX_WORD)renderColor.b * scale) >> 8); in BlendColor()
|
/external/skia/include/gpu/ |
D | GrBlend.h | 83 GrColor srcColor,
|
/external/skia/tools/debugger/ |
D | SkOverdrawMode.cpp | 183 const char* srcColor, in emitBlendCodeForDstRead() argument
|
/external/pdfium/xfa/include/fwl/theme/ |
D | widgettp.h | 130 FWLCOLOR BlendColor(FWLCOLOR srcColor, FWLCOLOR renderColor, uint8_t scale);
|