Home
last modified time | relevance | path

Searched refs:hasConstantOutputForConstantInput (Results 1 – 12 of 12) sorted by relevance

/external/skia/src/gpu/
DGrFragmentProcessor.h230 bool hasConstantOutputForConstantInput(SkPMColor4f inputColor, SkPMColor4f* outputColor) const { in hasConstantOutputForConstantInput() function
237 bool hasConstantOutputForConstantInput() const { in hasConstantOutputForConstantInput() function
357 SkASSERT(fp->hasConstantOutputForConstantInput()); in ConstantOutputForConstantInput()
DGrProcessorAnalysis.cpp28 fp->hasConstantOutputForConstantInput(fLastKnownOutputColor, &fLastKnownOutputColor)) { in GrColorFragmentProcessorAnalysis()
DGrFragmentProcessor.cpp369 if (inner->hasConstantOutputForConstantInput()) { in MakeInputPremulAndMulByOutput()
/external/skia/src/core/
DSkModeColorFilter.cpp100 SkDEBUGCODE(const bool fpHasConstIO = !inputFP || inputFP->hasConstantOutputForConstantInput();) in asFragmentProcessor()
119 xferFP->hasConstantOutputForConstantInput() >= fpHasConstIO); in asFragmentProcessor()
/external/skqp/src/gpu/
DGrFragmentProcessor.h159 bool hasConstantOutputForConstantInput(SkPMColor4f inputColor, SkPMColor4f* outputColor) const { in hasConstantOutputForConstantInput() function
166 bool hasConstantOutputForConstantInput() const { in hasConstantOutputForConstantInput() function
303 SkASSERT(fp.hasConstantOutputForConstantInput()); in ConstantOutputForConstantInput()
DGrProcessorAnalysis.cpp28 fp->hasConstantOutputForConstantInput(fLastKnownOutputColor, &fLastKnownOutputColor)) { in GrColorFragmentProcessorAnalysis()
DGrFragmentProcessor.cpp260 if (inner->hasConstantOutputForConstantInput()) { in MakeInputPremulAndMulByOutput()
/external/skqp/src/gpu/effects/
DGrXfermodeFragmentProcessor.cpp135 if (does_cpu_blend_impl_match_gpu(mode) && src->hasConstantOutputForConstantInput() && in OptFlags()
136 dst->hasConstantOutputForConstantInput()) { in OptFlags()
392 if (does_cpu_blend_impl_match_gpu(mode) && fp->hasConstantOutputForConstantInput()) { in OptFlags()
/external/skia/tests/
DProcessorTest.cpp622 if (!fp->hasConstantOutputForConstantInput() && !fp->preservesOpaqueInput() && in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
641 if (fp->hasConstantOutputForConstantInput()) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
702 if (fp->hasConstantOutputForConstantInput(input4f, &expected4f)) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
815 REPORTER_ASSERT(reporter, fp.hasConstantOutputForConstantInput() == in assert_processor_equality()
816 clone.hasConstantOutputForConstantInput(), in assert_processor_equality()
/external/skia/src/gpu/effects/
DGrBlendFragmentProcessor.cpp159 (src ? src->hasConstantOutputForConstantInput() : true) && in OptFlags()
160 (dst ? dst->hasConstantOutputForConstantInput() : true)) { in OptFlags()
/external/skqp/src/core/
DSkModeColorFilter.cpp108 SkASSERT(fp->hasConstantOutputForConstantInput()); in asFragmentProcessor()
/external/skqp/tests/
DProcessorTest.cpp490 if (!fp->hasConstantOutputForConstantInput() && !fp->preservesOpaqueInput() && in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
567 if (fp->hasConstantOutputForConstantInput(input4f, &expected4f)) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
715 REPORTER_ASSERT(reporter, fp->hasConstantOutputForConstantInput() == in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
716 clone->hasConstantOutputForConstantInput()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()