Home
last modified time | relevance | path

Searched refs:srcColor (Results 1 – 18 of 18) sorted by relevance

/external/skia/src/gpu/glsl/
DGrGLSLBlend.cpp238 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 …]
DGrGLSLBlend.h21 void AppendMode(GrGLSLFragmentBuilder* fsBuilder, const char* srcColor,
24 void AppendRegionOp(GrGLSLFragmentBuilder* fsBuilder, const char* srcColor,
DGrGLSLXferProcessor.h99 const char* srcColor, in emitBlendCodeForDstRead() argument
/external/deqp/framework/referencerenderer/
DrrFragmentOperations.cpp415 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/
DSkBlitter_RGB16.cpp272 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 …]
DSkBlitter_ARGB32.cpp18 const SkIRect& clip, SkPMColor srcColor) { in SkARGB32_Blit32() argument
19 U8CPU alpha = SkGetPackedA32(srcColor); in SkARGB32_Blit32()
/external/skia/src/effects/
DSkPixelXorXfermode.cpp56 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()
DSkArithmeticMode_gpu.cpp23 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()
DSkAvoidXfermode.cpp408 const char* srcColor, in emitBlendCodeForDstRead() argument
432 fragBuilder->codeAppendf("%s = %s;", outColor, srcColor ? srcColor : "vec4(1.0)"); in emitBlendCodeForDstRead()
/external/skia/src/gpu/
DGrBlend.cpp111 GrColor srcColor, GrColorComponentFlags srcColorFlags, in GrGetCoeffBlendKnownComponents() argument
115 MaskedColor src(srcColor, srcColorFlags); in GrGetCoeffBlendKnownComponents()
/external/skia/src/gpu/effects/
DGrXfermodeFragmentProcessor.cpp100 SkString srcColor("src"); in emitCode() local
101 this->emitChild(0, inputColor, &srcColor, args); in emitCode()
110 srcColor.c_str(), in emitCode()
DGrCustomXfermode.cpp166 const char* srcColor, in emitBlendCodeForDstRead() argument
175 GrGLSLBlend::AppendMode(fragBuilder, srcColor, dstColor, outColor, xp.mode()); in emitBlendCodeForDstRead()
DGrCoverageSetOpXP.cpp205 const char* srcColor, in emitBlendCodeForDstRead() argument
DGrPorterDuffXferProcessor.cpp551 const char* srcColor, in emitBlendCodeForDstRead() argument
559 GrGLSLBlend::AppendMode(fragBuilder, srcColor, dstColor, outColor, xp.getXfermode()); in emitBlendCodeForDstRead()
/external/pdfium/xfa/src/fwl/src/theme/
Dwidgettp.cpp668 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/
DGrBlend.h83 GrColor srcColor,
/external/skia/tools/debugger/
DSkOverdrawMode.cpp183 const char* srcColor, in emitBlendCodeForDstRead() argument
/external/pdfium/xfa/include/fwl/theme/
Dwidgettp.h130 FWLCOLOR BlendColor(FWLCOLOR srcColor, FWLCOLOR renderColor, uint8_t scale);