Home
last modified time | relevance | path

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

/external/skia/src/gpu/glsl/
DGrGLSLBlend.cpp241 const char* dstColor, const char* outputColor, in emit_advanced_xfermode_code() argument
244 SkASSERT(dstColor); in emit_advanced_xfermode_code()
248 outputColor, srcColor, srcColor, dstColor); in emit_advanced_xfermode_code()
253 hard_light(fsBuilder, outputColor, dstColor, srcColor); in emit_advanced_xfermode_code()
259 srcColor, dstColor, srcColor, in emit_advanced_xfermode_code()
260 dstColor, srcColor, dstColor); in emit_advanced_xfermode_code()
266 srcColor, dstColor, srcColor, in emit_advanced_xfermode_code()
267 dstColor, srcColor, dstColor); in emit_advanced_xfermode_code()
270 color_dodge_component(fsBuilder, outputColor, srcColor, dstColor, 'r'); in emit_advanced_xfermode_code()
271 color_dodge_component(fsBuilder, outputColor, srcColor, dstColor, 'g'); in emit_advanced_xfermode_code()
[all …]
DGrGLSLXferProcessor.cpp24 const char* dstColor = fragBuilder->dstColor(); in emitCode() local
61 fragBuilder->codeAppendf("vec4 %s = ", dstColor); in emitCode()
79 dstColor, in emitCode()
107 const char* dstColor, in DefaultCoverageModulation() argument
120 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.h81 const char* dstColor,
105 const char* dstColor, in emitBlendCodeForDstRead() argument
DGrGLSLFragmentShaderBuilder.h142 virtual const char* dstColor() = 0;
177 const char* dstColor() override;
DGrGLSLFragmentShaderBuilder.cpp181 const char* GrGLSLFragmentShaderBuilder::dstColor() { in dstColor() function in GrGLSLFragmentShaderBuilder
/external/skia/src/core/
DSkBitmapProcState_filter.h23 SkPMColor* dstColor) { in Filter_32_opaque() argument
45 *dstColor = ((lo >> 8) & mask) | (hi & ~mask); in Filter_32_opaque()
51 SkPMColor* dstColor, in Filter_32_alpha() argument
78 *dstColor = ((lo >> 8) & mask) | (hi & ~mask); in Filter_32_alpha()
85 SkPMColor* dstColor) { in Filter_32_opaque() argument
98 *dstColor = ((lo >> 8) & mask) | (hi & ~mask); in Filter_32_opaque()
105 SkPMColor* dstColor, in Filter_32_alpha() argument
123 *dstColor = ((lo >> 8) & mask) | (hi & ~mask); in Filter_32_alpha()
/external/deqp/framework/referencerenderer/
DrrFragmentOperations.cpp416 const Vec4& dstColor = sample.clampedBlendDstColor; \ in executeBlend()
424 …ED_COLOR(blendedRGB, srcColor.swizzle(0,1,2)*sample.blendSrcFactorRGB + dstColor.swizzle(0,1,2)*sa… in executeBlend()
425 …ED_COLOR(blendedRGB, srcColor.swizzle(0,1,2)*sample.blendSrcFactorRGB - dstColor.swizzle(0,1,2)*sa… in executeBlend()
426 …case BLENDEQUATION_REVERSE_SUBTRACT: SAMPLE_REGISTER_BLENDED_COLOR(blendedRGB, dstColor.swizzle(0,… in executeBlend()
427 … SAMPLE_REGISTER_BLENDED_COLOR(blendedRGB, min(srcColor.swizzle(0,1,2), dstColor.swizzle(0,1,2))) … in executeBlend()
428 … SAMPLE_REGISTER_BLENDED_COLOR(blendedRGB, max(srcColor.swizzle(0,1,2), dstColor.swizzle(0,1,2))) … in executeBlend()
435 …_REGISTER_BLENDED_COLOR(blendedA, srcColor.w()*sample.blendSrcFactorA + dstColor.w()*sample.blendD… in executeBlend()
436 …_REGISTER_BLENDED_COLOR(blendedA, srcColor.w()*sample.blendSrcFactorA - dstColor.w()*sample.blendD… in executeBlend()
437 …case BLENDEQUATION_REVERSE_SUBTRACT: SAMPLE_REGISTER_BLENDED_COLOR(blendedA, dstColor.w()*sample.b… in executeBlend()
438 …case BLENDEQUATION_MIN: SAMPLE_REGISTER_BLENDED_COLOR(blendedA, min(srcColor.w(), dstColor.w()… in executeBlend()
[all …]
/external/mesa3d/src/mesa/swrast/
Ds_blit.c379 GLubyte (*dstColor)[4] = (GLubyte (*)[4]) dstBuffer; in resample_linear_row_ub() local
418 dstColor[dstCol][RCOMP] = IFLOOR(red); in resample_linear_row_ub()
419 dstColor[dstCol][GCOMP] = IFLOOR(green); in resample_linear_row_ub()
420 dstColor[dstCol][BCOMP] = IFLOOR(blue); in resample_linear_row_ub()
421 dstColor[dstCol][ACOMP] = IFLOOR(alpha); in resample_linear_row_ub()
436 GLfloat (*dstColor)[4] = (GLfloat (*)[4]) dstBuffer; in resample_linear_row_float() local
475 dstColor[dstCol][RCOMP] = red; in resample_linear_row_float()
476 dstColor[dstCol][GCOMP] = green; in resample_linear_row_float()
477 dstColor[dstCol][BCOMP] = blue; in resample_linear_row_float()
478 dstColor[dstCol][ACOMP] = alpha; in resample_linear_row_float()
/external/skia/src/gpu/effects/
DGrXfermodeFragmentProcessor.cpp142 GrColor4f dstColor = ConstantOutputForConstantInput(this->childProcessor(1), input); in constantOutputForConstantInput() local
144 SkPM4f dst = GrColor4fToSkPM4f(dstColor); in constantOutputForConstantInput()
208 SkString dstColor("xfer_dst"); in emitCode() local
209 this->emitChild(1, inputColor, &dstColor, args); in emitCode()
216 dstColor.c_str(), in emitCode()
DGrCustomXfermode.cpp157 const char* dstColor, in emitBlendCodeForDstRead() argument
164 GrGLSLBlend::AppendMode(fragBuilder, srcColor, dstColor, outColor, xp.mode()); in emitBlendCodeForDstRead()
167 INHERITED::DefaultCoverageModulation(fragBuilder, srcCoverage, dstColor, outColor, in emitBlendCodeForDstRead()
DGrPorterDuffXferProcessor.cpp515 const char* dstColor, in emitBlendCodeForDstRead() argument
521 GrGLSLBlend::AppendMode(fragBuilder, srcColor, dstColor, outColor, xp.getXfermode()); in emitBlendCodeForDstRead()
524 INHERITED::DefaultCoverageModulation(fragBuilder, srcCoverage, dstColor, outColor, in emitBlendCodeForDstRead()
/external/skia/src/codec/
DSkCodecPriv.h135 uint64_t dstColor; in get_color_table_fill_value() local
140 SkAssertResult(colorXform->apply(select_xform_format(dstColorType), &dstColor, in get_color_table_fill_value()
142 return dstColor; in get_color_table_fill_value()
/external/skia/gm/
Dgamma.cpp80 auto nextXferRect = [&](SkColor srcColor, SkBlendMode mode, SkColor dstColor) { in __anon25727ebf0402() argument
81 p.setColor(dstColor); in __anon25727ebf0402()
88 SkString dstText = SkStringPrintf("%08X", dstColor); in __anon25727ebf0402()
/external/skia/src/gpu/
DGrBlend.cpp112 GrColor dstColor, GrColorComponentFlags dstColorFlags, in GrGetCoeffBlendKnownComponents() argument
116 MaskedColor dst(dstColor, dstColorFlags); in GrGetCoeffBlendKnownComponents()
/external/skia/src/effects/
DSkArithmeticImageFilter.cpp240 SkString dstColor("dstColor"); in onCreateGLSLInstance() local
241 this->emitChild(0, nullptr, &dstColor, args); in onCreateGLSLInstance()
254 fragBuilder->codeAppendf("vec4 dst = %s;", dstColor.c_str()); in onCreateGLSLInstance()
/external/skia/include/gpu/
DGrBlend.h85 GrColor dstColor,
/external/deqp/modules/gles2/functional/
Des2fDepthStencilTests.cpp481 void renderReference (const vector<ClearCommand>& clears, const tcu::PixelBufferAccess& dstColor, c… in renderReference() argument
488 …tcu::clear(tcu::getSubregion(dstColor, clear.rect.left, clear.rect.bottom, clear.rect.width, clear… in renderReference()
/external/deqp/modules/gles3/functional/
Des3fDepthStencilTests.cpp481 void renderReference (const vector<ClearCommand>& clears, const tcu::PixelBufferAccess& dstColor, c… in renderReference() argument
488 …tcu::clear(tcu::getSubregion(dstColor, clear.rect.left, clear.rect.bottom, clear.rect.width, clear… in renderReference()