Home
last modified time | relevance | path

Searched refs:dstColor (Results 1 – 25 of 34) sorted by relevance

12

/external/skia/src/gpu/glsl/
DGrGLSLBlend.cpp260 const char* dstColor, const char* outputColor, in emit_advanced_xfermode_code() argument
263 SkASSERT(dstColor); 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 …]
DGrGLSLXferProcessor.cpp39 const char* dstColor = fragBuilder->dstColor(); in emitCode() local
80 fragBuilder->codeAppendf("half4 %s = ", dstColor); in emitCode()
99 dstColor, in emitCode()
127 const char* dstColor, in DefaultCoverageModulation() argument
145 dstColor, outColor, srcCoverage); in DefaultCoverageModulation()
147 dstColor, outColor, srcCoverage); in DefaultCoverageModulation()
149 dstColor, outColor, srcCoverage); in DefaultCoverageModulation()
152 outColor, srcCoverage, outColor, srcCoverage, dstColor); in DefaultCoverageModulation()
DGrGLSLBlend.h22 const char* dstColor, const char* outColor, SkBlendMode mode);
25 const char* dstColor, const char* outColor, SkRegion::Op regionOp);
DGrGLSLXferProcessor.h79 const char* dstColor,
103 const char* dstColor, in emitBlendCodeForDstRead() argument
DGrGLSLFragmentShaderBuilder.h98 virtual const char* dstColor() = 0;
131 const char* dstColor() override;
DGrGLSLFragmentShaderBuilder.cpp116 const char* GrGLSLFragmentShaderBuilder::dstColor() { in dstColor() function in GrGLSLFragmentShaderBuilder
/external/skqp/src/gpu/glsl/
DGrGLSLBlend.cpp260 const char* dstColor, const char* outputColor, in emit_advanced_xfermode_code() argument
263 SkASSERT(dstColor); 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 …]
DGrGLSLXferProcessor.cpp39 const char* dstColor = fragBuilder->dstColor(); in emitCode() local
80 fragBuilder->codeAppendf("half4 %s = ", dstColor); in emitCode()
99 dstColor, in emitCode()
127 const char* dstColor, in DefaultCoverageModulation() argument
145 dstColor, outColor, srcCoverage); in DefaultCoverageModulation()
147 dstColor, outColor, srcCoverage); in DefaultCoverageModulation()
149 dstColor, outColor, srcCoverage); in DefaultCoverageModulation()
152 outColor, srcCoverage, outColor, srcCoverage, dstColor); in DefaultCoverageModulation()
DGrGLSLBlend.h22 const char* dstColor, const char* outColor, SkBlendMode mode);
25 const char* dstColor, const char* outColor, SkRegion::Op regionOp);
DGrGLSLXferProcessor.h79 const char* dstColor,
103 const char* dstColor, in emitBlendCodeForDstRead() argument
DGrGLSLFragmentShaderBuilder.h82 virtual const char* dstColor() = 0;
113 const char* dstColor() override;
DGrGLSLFragmentShaderBuilder.cpp95 const char* GrGLSLFragmentShaderBuilder::dstColor() { in dstColor() function in GrGLSLFragmentShaderBuilder
/external/deqp/framework/referencerenderer/
DrrFragmentOperations.cpp470 const Vec4& dstColor = sample.clampedBlendDstColor; \ in executeBlend()
478 …ED_COLOR(blendedRGB, srcColor.swizzle(0,1,2)*sample.blendSrcFactorRGB + dstColor.swizzle(0,1,2)*sa… in executeBlend()
479 …ED_COLOR(blendedRGB, srcColor.swizzle(0,1,2)*sample.blendSrcFactorRGB - dstColor.swizzle(0,1,2)*sa… in executeBlend()
480 …case BLENDEQUATION_REVERSE_SUBTRACT: SAMPLE_REGISTER_BLENDED_COLOR(blendedRGB, dstColor.swizzle(0,… in executeBlend()
481 … SAMPLE_REGISTER_BLENDED_COLOR(blendedRGB, min(srcColor.swizzle(0,1,2), dstColor.swizzle(0,1,2))) … in executeBlend()
482 … SAMPLE_REGISTER_BLENDED_COLOR(blendedRGB, max(srcColor.swizzle(0,1,2), dstColor.swizzle(0,1,2))) … in executeBlend()
489 …_REGISTER_BLENDED_COLOR(blendedA, srcColor.w()*sample.blendSrcFactorA + dstColor.w()*sample.blendD… in executeBlend()
490 …_REGISTER_BLENDED_COLOR(blendedA, srcColor.w()*sample.blendSrcFactorA - dstColor.w()*sample.blendD… in executeBlend()
491 …case BLENDEQUATION_REVERSE_SUBTRACT: SAMPLE_REGISTER_BLENDED_COLOR(blendedA, dstColor.w()*sample.b… 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.cpp1876 Interval dstColor[4]; in calculateBounds() local
1878 convertColor(colorModel, range, conversionFormat, bitDepth, srcColor, dstColor); in calculateBounds()
1881 bounds[compNdx] |= highp.roundOut(dstColor[compNdx], false); in calculateBounds()
1897 Interval dstColor[4]; in calculateBounds() local
1899 convertColor(colorModel, range, conversionFormat, bitDepth, srcColor, dstColor); in calculateBounds()
1902 bounds[compNdx] |= highp.roundOut(dstColor[compNdx], false); in calculateBounds()
1916 Interval dstColor[4]; in calculateBounds() local
1918 convertColor(colorModel, range, conversionFormat, bitDepth, srcColor, dstColor); in calculateBounds()
1921 bounds[compNdx] |= highp.roundOut(dstColor[compNdx], false); in calculateBounds()
1950 Interval dstColor[4]; in calculateBounds() local
[all …]
/external/mesa3d/src/mesa/swrast/
Ds_blit.c405 GLubyte (*dstColor)[4] = (GLubyte (*)[4]) dstBuffer; in resample_linear_row_ub() local
442 dstColor[dstCol][RCOMP] = IFLOOR(red); in resample_linear_row_ub()
443 dstColor[dstCol][GCOMP] = IFLOOR(green); in resample_linear_row_ub()
444 dstColor[dstCol][BCOMP] = IFLOOR(blue); in resample_linear_row_ub()
445 dstColor[dstCol][ACOMP] = IFLOOR(alpha); in resample_linear_row_ub()
460 GLfloat (*dstColor)[4] = (GLfloat (*)[4]) dstBuffer; in resample_linear_row_float() local
497 dstColor[dstCol][RCOMP] = red; in resample_linear_row_float()
498 dstColor[dstCol][GCOMP] = green; in resample_linear_row_float()
499 dstColor[dstCol][BCOMP] = blue; in resample_linear_row_float()
500 dstColor[dstCol][ACOMP] = alpha; in resample_linear_row_float()
/external/skqp/gm/
Dgamma.cpp83 auto nextXferRect = [&](SkColor srcColor, SkBlendMode mode, SkColor dstColor) { in __anonfc7ec5bf0502() argument
84 p.setColor(dstColor); in __anonfc7ec5bf0502()
91 SkString dstText = SkStringPrintf("%08X", dstColor); in __anonfc7ec5bf0502()
/external/skia/gm/
Dgamma.cpp83 auto nextXferRect = [&](SkColor srcColor, SkBlendMode mode, SkColor dstColor) { in __anon697ff7480502() argument
84 p.setColor(dstColor); in __anon697ff7480502()
91 SkString dstText = SkStringPrintf("%08X", dstColor); in __anon697ff7480502()
/external/skqp/src/gpu/effects/
DGrCustomXfermode.cpp155 const char* dstColor, in emitBlendCodeForDstRead() argument
162 GrGLSLBlend::AppendMode(fragBuilder, srcColor, dstColor, outColor, xp.mode()); in emitBlendCodeForDstRead()
165 INHERITED::DefaultCoverageModulation(fragBuilder, srcCoverage, dstColor, outColor, in emitBlendCodeForDstRead()
DGrXfermodeFragmentProcessor.cpp226 SkString dstColor("xfer_dst"); in emitCode() local
227 this->emitChild(1, inputColor, &dstColor, args); in emitCode()
234 dstColor.c_str(), in emitCode()
DGrPorterDuffXferProcessor.cpp549 const char* dstColor, in emitBlendCodeForDstRead() argument
555 GrGLSLBlend::AppendMode(fragBuilder, srcColor, dstColor, outColor, xp.getXfermode()); in emitBlendCodeForDstRead()
558 INHERITED::DefaultCoverageModulation(fragBuilder, srcCoverage, dstColor, outColor, in emitBlendCodeForDstRead()
/external/skia/src/gpu/effects/
DGrCustomXfermode.cpp155 const char* dstColor, in emitBlendCodeForDstRead() argument
162 GrGLSLBlend::AppendMode(fragBuilder, srcColor, dstColor, outColor, xp.mode()); in emitBlendCodeForDstRead()
165 INHERITED::DefaultCoverageModulation(fragBuilder, srcCoverage, dstColor, outColor, in emitBlendCodeForDstRead()
DGrXfermodeFragmentProcessor.cpp226 SkString dstColor("xfer_dst"); in emitCode() local
227 this->emitChild(1, inputColor, &dstColor, args); in emitCode()
234 dstColor.c_str(), in emitCode()
DGrPorterDuffXferProcessor.cpp549 const char* dstColor, in emitBlendCodeForDstRead() argument
555 GrGLSLBlend::AppendMode(fragBuilder, srcColor, dstColor, outColor, xp.getXfermode()); in emitBlendCodeForDstRead()
558 INHERITED::DefaultCoverageModulation(fragBuilder, srcCoverage, dstColor, outColor, in emitBlendCodeForDstRead()
/external/skia/src/opts/
DSkBitmapProcState_opts.h305 SkPMColor* dstColor, in filter_and_scale_by_alpha() argument
334 *dstColor = ((lo >> 8) & mask) | (hi & ~mask); in filter_and_scale_by_alpha()
/external/skqp/src/opts/
DSkBitmapProcState_opts.h305 SkPMColor* dstColor, in filter_and_scale_by_alpha() argument
334 *dstColor = ((lo >> 8) & mask) | (hi & ~mask); in filter_and_scale_by_alpha()

12