Home
last modified time | relevance | path

Searched refs:outColor (Results 1 – 17 of 17) sorted by relevance

/external/skia/tests/
DGrGetCoeffBlendKnownComponentsTest.cpp40 GrColor outColor; in DEF_TEST() local
46 &outColor, &outFlags); in DEF_TEST()
48 if (SkAbs32(GrColorUnpackA(baselineColor) - GrColorUnpackA(outColor)) > 1 || in DEF_TEST()
49 SkAbs32(GrColorUnpackR(baselineColor) - GrColorUnpackR(outColor)) > 1 || in DEF_TEST()
50 SkAbs32(GrColorUnpackG(baselineColor) - GrColorUnpackG(outColor)) > 1 || in DEF_TEST()
51 SkAbs32(GrColorUnpackB(baselineColor) - GrColorUnpackB(outColor)) > 1) { in DEF_TEST()
52 ERRORF(reporter, "Blended color is 0x%08x, expected 0x%08x", outColor, in DEF_TEST()
55 GrColorIsPMAssert(outColor); in DEF_TEST()
58 GrColor outColor; in DEF_TEST() local
63 &outColor, &outFlags); in DEF_TEST()
[all …]
/external/skia/src/gpu/glsl/
DGrGLSLXferProcessor.cpp94 const char* outColor, in DefaultCoverageModulation() argument
99 fragBuilder->codeAppendf("%s *= %s;", outColor, srcCoverage); in DefaultCoverageModulation()
106 outColor, srcCoverage, outColor, srcCoverage, dstColor); in DefaultCoverageModulation()
DGrGLSLBlend.h22 const char* dstColor, const char* outColor, SkXfermode::Mode mode);
25 const char* dstColor, const char* outColor, SkRegion::Op regionOp);
DGrGLSLXferProcessor.h78 const char* outColor,
102 const char* outColor, in emitBlendCodeForDstRead() argument
DGrGLSLBlend.cpp418 const char* dstColor, const char* outColor, in AppendMode() argument
423 fsBuilder->codeAppendf("%s = ", outColor); in AppendMode()
433 emit_advanced_xfermode_code(fsBuilder, srcColor, dstColor, outColor, mode); in AppendMode()
438 const char* dstColor, const char* outColor, in AppendRegionOp() argument
472 fsBuilder->codeAppendf("%s = ", outColor); in AppendRegionOp()
/external/skia/src/gpu/effects/
DGrTextureDomain.cpp50 const char* outColor, in sampleTexture() argument
71 builder->codeAppendf("%s = ", outColor); in sampleTexture()
82 builder->codeAppendf("%s = ", outColor); in sampleTexture()
118 builder->codeAppendf("%s = mix(inside, outside, blend);", outColor); in sampleTexture()
126 outColor); in sampleTexture()
139 builder->codeAppendf("%s = ", outColor); in sampleTexture()
DGrCoverageSetOpXP.cpp208 const char* outColor, in emitBlendCodeForDstRead() argument
214 fragBuilder->codeAppendf("%s = 1.0 - %s;", outColor, srcCoverage); in emitBlendCodeForDstRead()
216 fragBuilder->codeAppendf("%s = %s;", outColor, srcCoverage); in emitBlendCodeForDstRead()
219 GrGLSLBlend::AppendRegionOp(fragBuilder, outColor, dstColor, outColor, xp.regionOp()); in emitBlendCodeForDstRead()
DGrCustomXfermode.cpp169 const char* outColor, in emitBlendCodeForDstRead() argument
175 GrGLSLBlend::AppendMode(fragBuilder, srcColor, dstColor, outColor, xp.mode()); in emitBlendCodeForDstRead()
178 INHERITED::DefaultCoverageModulation(fragBuilder, srcCoverage, dstColor, outColor, in emitBlendCodeForDstRead()
DGrTextureDomain.h121 const char* outColor,
DGrPorterDuffXferProcessor.cpp554 const char* outColor, in emitBlendCodeForDstRead() argument
559 GrGLSLBlend::AppendMode(fragBuilder, srcColor, dstColor, outColor, xp.getXfermode()); in emitBlendCodeForDstRead()
562 INHERITED::DefaultCoverageModulation(fragBuilder, srcCoverage, dstColor, outColor, in emitBlendCodeForDstRead()
/external/skia/tools/debugger/
DSkOverdrawMode.cpp186 const char* outColor, in emitBlendCodeForDstRead() argument
189 add_overdraw_code(fragBuilder, dstColor, outColor); in emitBlendCodeForDstRead()
192 INHERITED::DefaultCoverageModulation(fragBuilder, srcCoverage, dstColor, outColor, in emitBlendCodeForDstRead()
/external/skia/src/gpu/
DGrBlend.cpp113 GrColor* outColor, in GrGetCoeffBlendKnownComponents() argument
122 *outColor = output.color(); in GrGetCoeffBlendKnownComponents()
/external/skia/src/effects/
DSkArithmeticMode_gpu.cpp202 const char* outColor, in emitBlendCodeForDstRead() argument
210 add_arithmetic_code(fragBuilder, srcColor, dstColor, outColor, kUni, fEnforcePMColor); in emitBlendCodeForDstRead()
213 INHERITED::DefaultCoverageModulation(fragBuilder, srcCoverage, dstColor, outColor, in emitBlendCodeForDstRead()
DSkPixelXorXfermode.cpp279 const char* outColor, in emitBlendCodeForDstRead() argument
287 add_pixelxor_code(fragBuilder, srcColor, dstColor, outColor, kOpColorUni); in emitBlendCodeForDstRead()
290 INHERITED::DefaultCoverageModulation(fragBuilder, srcCoverage, dstColor, outColor, in emitBlendCodeForDstRead()
DSkAvoidXfermode.cpp411 const char* outColor, in emitBlendCodeForDstRead() argument
431 kCoverageName, outColor, dstColor); in emitBlendCodeForDstRead()
432 fragBuilder->codeAppendf("%s = %s;", outColor, srcColor ? srcColor : "vec4(1.0)"); in emitBlendCodeForDstRead()
433 INHERITED::DefaultCoverageModulation(fragBuilder, kCoverageName, dstColor, outColor, in emitBlendCodeForDstRead()
/external/skia/include/gpu/
DGrBlend.h87 GrColor* outColor,
/external/deqp/modules/gles31/functional/
Des31fGeometryShaderTests.cpp1571 rr::GenericVec4 outColor; in shadePrimitives() local
1572 outColor = color; in shadePrimitives()
1578 …Cos(subAngle) * 0.1f, deFloatSin(subAngle) * 0.1f, 0.0f, 0.0f), 0.0f, &outColor, packets[packetNd… in shadePrimitives()
1579 …Cos(subAngle) * 0.1f, deFloatSin(subAngle) * -0.1f, 0.0f, 0.0f), 0.0f, &outColor, packets[packetNd… in shadePrimitives()
1583 …output.EmitVertex(basePosition + tcu::Vec4(-0.1f, 0.0f, 0.0f, 0.0f), 0.0f, &outColor, packets[pack… in shadePrimitives()