Home
last modified time | relevance | path

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

12

/external/skia/src/gpu/glsl/
DGrGLSLBlend.cpp259 static void emit_advanced_xfermode_code(GrGLSLFragmentBuilder* fsBuilder, const char* srcColor, in emit_advanced_xfermode_code() argument
262 SkASSERT(srcColor); in emit_advanced_xfermode_code()
267 outputColor, srcColor, srcColor, dstColor); in emit_advanced_xfermode_code()
272 hard_light(fsBuilder, outputColor, dstColor, srcColor); in emit_advanced_xfermode_code()
278 srcColor, dstColor, srcColor, in emit_advanced_xfermode_code()
279 dstColor, srcColor, dstColor); in emit_advanced_xfermode_code()
285 srcColor, dstColor, srcColor, in emit_advanced_xfermode_code()
286 dstColor, srcColor, dstColor); in emit_advanced_xfermode_code()
289 color_dodge_component(fsBuilder, outputColor, srcColor, dstColor, 'r'); in emit_advanced_xfermode_code()
290 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,
DGrGLSLShaderBuilder.cpp103 const char* srcColor, in appendColorGamutXform() argument
106 *out = srcColor; in appendColorGamutXform()
186 out->appendf("%s(%s)", colorXformFuncName.c_str(), srcColor); in appendColorGamutXform()
190 void GrGLSLShaderBuilder::appendColorGamutXform(const char* srcColor, in appendColorGamutXform() argument
193 this->appendColorGamutXform(&xform, srcColor, colorXformHelper); in appendColorGamutXform()
DGrGLSLShaderBuilder.h61 void appendColorGamutXform(SkString* out, const char* srcColor,
65 void appendColorGamutXform(const char* srcColor, GrGLSLColorSpaceXformHelper* colorXformHelper);
DGrGLSLXferProcessor.h101 const char* srcColor, in emitBlendCodeForDstRead() argument
/external/skqp/src/gpu/glsl/
DGrGLSLBlend.cpp259 static void emit_advanced_xfermode_code(GrGLSLFragmentBuilder* fsBuilder, const char* srcColor, in emit_advanced_xfermode_code() argument
262 SkASSERT(srcColor); in emit_advanced_xfermode_code()
267 outputColor, srcColor, srcColor, dstColor); in emit_advanced_xfermode_code()
272 hard_light(fsBuilder, outputColor, dstColor, srcColor); in emit_advanced_xfermode_code()
278 srcColor, dstColor, srcColor, in emit_advanced_xfermode_code()
279 dstColor, srcColor, dstColor); in emit_advanced_xfermode_code()
285 srcColor, dstColor, srcColor, in emit_advanced_xfermode_code()
286 dstColor, srcColor, dstColor); in emit_advanced_xfermode_code()
289 color_dodge_component(fsBuilder, outputColor, srcColor, dstColor, 'r'); in emit_advanced_xfermode_code()
290 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,
DGrGLSLShaderBuilder.cpp103 const char* srcColor, in appendColorGamutXform() argument
106 *out = srcColor; in appendColorGamutXform()
186 out->appendf("%s(%s)", colorXformFuncName.c_str(), srcColor); in appendColorGamutXform()
190 void GrGLSLShaderBuilder::appendColorGamutXform(const char* srcColor, in appendColorGamutXform() argument
193 this->appendColorGamutXform(&xform, srcColor, colorXformHelper); in appendColorGamutXform()
DGrGLSLShaderBuilder.h61 void appendColorGamutXform(SkString* out, const char* srcColor,
65 void appendColorGamutXform(const char* srcColor, GrGLSLColorSpaceXformHelper* colorXformHelper);
DGrGLSLXferProcessor.h101 const char* srcColor, in emitBlendCodeForDstRead() argument
/external/deqp/framework/referencerenderer/
DrrFragmentOperations.cpp469 const Vec4& srcColor = sample.clampedBlendSrcColor; \ in executeBlend()
478 …case BLENDEQUATION_ADD: SAMPLE_REGISTER_BLENDED_COLOR(blendedRGB, srcColor.swizzle(0,1,2)*samp… in executeBlend()
479 …case BLENDEQUATION_SUBTRACT: SAMPLE_REGISTER_BLENDED_COLOR(blendedRGB, srcColor.swizzle(0,1,2)*s… in executeBlend()
480 …ED_COLOR(blendedRGB, dstColor.swizzle(0,1,2)*sample.blendDstFactorRGB - srcColor.swizzle(0,1,2)*sa… in executeBlend()
481 …case BLENDEQUATION_MIN: SAMPLE_REGISTER_BLENDED_COLOR(blendedRGB, min(srcColor.swizzle(0,1,2),… in executeBlend()
482 …case BLENDEQUATION_MAX: SAMPLE_REGISTER_BLENDED_COLOR(blendedRGB, max(srcColor.swizzle(0,1,2),… in executeBlend()
489 …case BLENDEQUATION_ADD: SAMPLE_REGISTER_BLENDED_COLOR(blendedA, srcColor.w()*sample.blendSrcFa… in executeBlend()
490 …case BLENDEQUATION_SUBTRACT: SAMPLE_REGISTER_BLENDED_COLOR(blendedA, srcColor.w()*sample.blendSr… in executeBlend()
491 …_REGISTER_BLENDED_COLOR(blendedA, dstColor.w()*sample.blendDstFactorA - srcColor.w()*sample.blendS… in executeBlend()
492 …case BLENDEQUATION_MIN: SAMPLE_REGISTER_BLENDED_COLOR(blendedA, min(srcColor.w(), dstColor.w()… in executeBlend()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrUtil.cpp1869 const Interval srcColor[] = in calculateBounds() local
1878 convertColor(colorModel, range, conversionFormat, bitDepth, srcColor, dstColor); in calculateBounds()
1890 const Interval srcColor[] = in calculateBounds() local
1899 convertColor(colorModel, range, conversionFormat, bitDepth, srcColor, dstColor); in calculateBounds()
1909 const Interval srcColor[] = in calculateBounds() local
1918 convertColor(colorModel, range, conversionFormat, bitDepth, srcColor, dstColor); in calculateBounds()
1943 const Interval srcColor[] = in calculateBounds() local
1952 convertColor(colorModel, range, conversionFormat, bitDepth, srcColor, dstColor); in calculateBounds()
1970 const Interval srcColor[] = in calculateBounds() local
1979 convertColor(colorModel, range, conversionFormat, bitDepth, srcColor, dstColor); in calculateBounds()
[all …]
/external/skqp/gm/
Dgamma.cpp83 auto nextXferRect = [&](SkColor srcColor, SkBlendMode mode, SkColor dstColor) { in __anonfc7ec5bf0502() argument
86 p.setColor(srcColor); in __anonfc7ec5bf0502()
90 SkString srcText = SkStringPrintf("%08X", srcColor); in __anonfc7ec5bf0502()
/external/skia/gm/
Dgamma.cpp83 auto nextXferRect = [&](SkColor srcColor, SkBlendMode mode, SkColor dstColor) { in __anon697ff7480502() argument
86 p.setColor(srcColor); in __anon697ff7480502()
90 SkString srcText = SkStringPrintf("%08X", srcColor); in __anon697ff7480502()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/memory/
DConvert.h397 uint32_t srcColor[4]; // typeless bits in ConvertPixelToFloat() local
413 srcColor[3] = pPixel->a; in ConvertPixelToFloat()
415 srcColor[2] = pPixel->b; in ConvertPixelToFloat()
417 srcColor[1] = pPixel->g; in ConvertPixelToFloat()
419 srcColor[0] = pPixel->r; in ConvertPixelToFloat()
430 uint32_t src = srcColor[comp]; in ConvertPixelToFloat()
DLoadTile.h66 const float srcColor[4], in SetSwizzledDstColor()
83 pSimdTile->SetSwizzledColor(simdOffset, srcColor); in SetSwizzledDstColor()
97 pSimdTile->SetSwizzledColor(simdOffset, srcColor); in SetSwizzledDstColor()
126 float srcColor[4]; in Load() local
127 ConvertPixelToFloat<SrcFormat>(srcColor, pSrc); in Load()
130 SetSwizzledDstColor(srcColor, rx, ry, pDst); in Load()
DClearTile.cpp126 float srcColor[4]; in StoreClear() local
130 srcColor[comp] = pColor[FormatTraits<DstFormat>::swizzle(comp)]; in StoreClear()
134 ConvertPixelFromFloat<DstFormat>(dstFormattedColor, srcColor); in StoreClear()
/external/skqp/src/gpu/
DGrColorSpaceXform.cpp50 SkColor4f GrColorSpaceXform::apply(const SkColor4f& srcColor) { in apply() argument
51 SkColor4f result = srcColor; in apply()
DGrColorSpaceXform.h40 SkColor4f apply(const SkColor4f& srcColor);
/external/skia/src/gpu/
DGrColorSpaceXform.cpp50 SkColor4f GrColorSpaceXform::apply(const SkColor4f& srcColor) { in apply() argument
51 SkColor4f result = srcColor; in apply()
DGrColorSpaceXform.h40 SkColor4f apply(const SkColor4f& srcColor);
/external/skqp/src/effects/
DSkLayerDrawLooper.cpp70 SkColor4f srcColor = src.getColor4f(); in ApplyInfo() local
75 srcColor.fA = dst->getColor4f().fA; in ApplyInfo()
78 dst->setColor4f(xferColor(srcColor, dst->getColor4f(), (SkBlendMode)info.fColorMode), in ApplyInfo()
/external/skia/src/effects/
DSkLayerDrawLooper.cpp70 SkColor4f srcColor = src.getColor4f(); in ApplyInfo() local
75 srcColor.fA = dst->getColor4f().fA; in ApplyInfo()
78 dst->setColor4f(xferColor(srcColor, dst->getColor4f(), (SkBlendMode)info.fColorMode), in ApplyInfo()
/external/skqp/src/gpu/effects/
DGrXfermodeFragmentProcessor.cpp223 SkString srcColor("xfer_src"); in emitCode() local
224 this->emitChild(0, inputColor, &srcColor, args); in emitCode()
233 srcColor.c_str(), in emitCode()
/external/skia/src/gpu/effects/
DGrXfermodeFragmentProcessor.cpp223 SkString srcColor("xfer_src"); in emitCode() local
224 this->emitChild(0, inputColor, &srcColor, args); in emitCode()
233 srcColor.c_str(), in emitCode()

12