Home
last modified time | relevance | path

Searched refs:AnalysisProperties (Results 1 – 20 of 20) sorted by relevance

/external/skia/src/gpu/
DGrXferProcessor.cpp153 GrXPFactory::AnalysisProperties GrXPFactory::GetAnalysisProperties( in GetAnalysisProperties()
159 AnalysisProperties result; in GetAnalysisProperties()
166 result |= AnalysisProperties::kCompatibleWithCoverageAsAlpha; in GetAnalysisProperties()
168 SkASSERT(!(result & AnalysisProperties::kRequiresDstTexture)); in GetAnalysisProperties()
169 if ((result & AnalysisProperties::kReadsDstInShader) && in GetAnalysisProperties()
171 result |= AnalysisProperties::kRequiresDstTexture | in GetAnalysisProperties()
172 AnalysisProperties::kRequiresNonOverlappingDraws; in GetAnalysisProperties()
DGrProcessorSet.cpp154 GrXPFactory::AnalysisProperties props = GrXPFactory::GetAnalysisProperties( in finalize()
157 SkToBool(props & GrXPFactory::AnalysisProperties::kRequiresDstTexture); in finalize()
159 SkToBool(props & GrXPFactory::AnalysisProperties::kCompatibleWithCoverageAsAlpha); in finalize()
161 SkToBool(props & GrXPFactory::AnalysisProperties::kRequiresNonOverlappingDraws); in finalize()
163 SkToBool(props & GrXPFactory::AnalysisProperties::kUsesNonCoherentHWBlending); in finalize()
165 SkToBool(props & GrXPFactory::AnalysisProperties::kUnaffectedByDstValue); in finalize()
166 if (props & GrXPFactory::AnalysisProperties::kIgnoresInputColor) { in finalize()
DGrXferProcessor.h251 enum class AnalysisProperties : unsigned { enum
284 GR_DECL_BITFIELD_CLASS_OPS_FRIENDS(AnalysisProperties);
292 static AnalysisProperties GetAnalysisProperties(const GrXPFactory*,
311 virtual AnalysisProperties analysisProperties(const GrProcessorAnalysisColor&,
323 GR_MAKE_BITFIELD_CLASS_OPS(GrXPFactory::AnalysisProperties)
/external/skqp/src/gpu/
DGrXferProcessor.cpp165 GrXPFactory::AnalysisProperties GrXPFactory::GetAnalysisProperties( in GetAnalysisProperties()
170 AnalysisProperties result; in GetAnalysisProperties()
176 SkASSERT(!(result & AnalysisProperties::kRequiresDstTexture)); in GetAnalysisProperties()
177 if ((result & AnalysisProperties::kReadsDstInShader) && in GetAnalysisProperties()
179 result |= AnalysisProperties::kRequiresDstTexture | in GetAnalysisProperties()
180 AnalysisProperties::kRequiresNonOverlappingDraws; in GetAnalysisProperties()
DGrXferProcessor.h258 enum class AnalysisProperties : unsigned { enum
283 GR_DECL_BITFIELD_CLASS_OPS_FRIENDS(AnalysisProperties);
291 static AnalysisProperties GetAnalysisProperties(const GrXPFactory*,
309 virtual AnalysisProperties analysisProperties(const GrProcessorAnalysisColor&,
320 GR_MAKE_BITFIELD_CLASS_OPS(GrXPFactory::AnalysisProperties);
DGrProcessorSet.cpp211 GrXPFactory::AnalysisProperties props = GrXPFactory::GetAnalysisProperties( in finalize()
217 SkToBool(props & GrXPFactory::AnalysisProperties::kRequiresDstTexture); in finalize()
219 SkToBool(props & GrXPFactory::AnalysisProperties::kCompatibleWithAlphaAsCoverage); in finalize()
221 props & GrXPFactory::AnalysisProperties::kRequiresNonOverlappingDraws); in finalize()
222 if (props & GrXPFactory::AnalysisProperties::kIgnoresInputColor) { in finalize()
/external/skia/tests/
DAdvancedBlendTest.cpp37 GrXPFactory::AnalysisProperties xpfAnalysis = in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
51 !(xpfAnalysis & GrXPFactory::AnalysisProperties::kReadsDstInShader)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
62 (xpfAnalysis & GrXPFactory::AnalysisProperties::kReadsDstInShader)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
63 if (xpfAnalysis & GrXPFactory::AnalysisProperties::kRequiresDstTexture) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DGrPorterDuffTest.cpp1035 GrXPFactory::AnalysisProperties::kRequiresDstTexture)); in test_lcd_coverage_fallback_case()
1050 GrXPFactory::AnalysisProperties::kRequiresDstTexture)); in test_lcd_coverage_fallback_case()
/external/skqp/tests/
DAdvancedBlendTest.cpp26 GrXPFactory::AnalysisProperties xpfAnalysis = in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
39 !(xpfAnalysis & GrXPFactory::AnalysisProperties::kReadsDstInShader)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
50 (xpfAnalysis & GrXPFactory::AnalysisProperties::kReadsDstInShader)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
51 if (xpfAnalysis & GrXPFactory::AnalysisProperties::kRequiresDstTexture) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DGrPorterDuffTest.cpp947 GrXPFactory::AnalysisProperties::kRequiresDstTexture)); in test_lcd_coverage_fallback_case()
963 GrXPFactory::AnalysisProperties::kRequiresDstTexture)); in test_lcd_coverage_fallback_case()
/external/skia/src/gpu/effects/
DGrCustomXfermode.cpp223 AnalysisProperties analysisProperties(const GrProcessorAnalysisColor&,
254 GrXPFactory::AnalysisProperties CustomXPFactory::analysisProperties( in analysisProperties()
354 return AnalysisProperties::kCompatibleWithCoverageAsAlpha; in analysisProperties()
356 return AnalysisProperties::kCompatibleWithCoverageAsAlpha | in analysisProperties()
357 AnalysisProperties::kRequiresNonOverlappingDraws | in analysisProperties()
358 AnalysisProperties::kUsesNonCoherentHWBlending; in analysisProperties()
361 return AnalysisProperties::kCompatibleWithCoverageAsAlpha | in analysisProperties()
362 AnalysisProperties::kReadsDstInShader; in analysisProperties()
DGrDisableColorXP.h33 AnalysisProperties analysisProperties( in analysisProperties()
36 return AnalysisProperties::kCompatibleWithCoverageAsAlpha | in analysisProperties()
37 AnalysisProperties::kIgnoresInputColor; in analysisProperties()
DGrCoverageSetOpXP.h42 AnalysisProperties analysisProperties(const GrProcessorAnalysisColor& color, in analysisProperties()
46 auto props = AnalysisProperties::kIgnoresInputColor; in analysisProperties()
49 props |= AnalysisProperties::kUnaffectedByDstValue; in analysisProperties()
DGrPorterDuffXferProcessor.cpp762 static inline GrXPFactory::AnalysisProperties analysis_properties( in analysis_properties()
765 using AnalysisProperties = GrXPFactory::AnalysisProperties; in analysis_properties() typedef
766 AnalysisProperties props = AnalysisProperties::kNone; in analysis_properties()
777 props |= AnalysisProperties::kCompatibleWithCoverageAsAlpha; in analysis_properties()
785 props |= AnalysisProperties::kIgnoresInputColor; in analysis_properties()
795 props |= AnalysisProperties::kReadsDstInShader; in analysis_properties()
802 props |= AnalysisProperties::kReadsDstInShader; in analysis_properties()
808 props |= AnalysisProperties::kReadsDstInShader; in analysis_properties()
812 props |= AnalysisProperties::kIgnoresInputColor; in analysis_properties()
816 props |= AnalysisProperties::kUnaffectedByDstValue; in analysis_properties()
[all …]
DGrPorterDuffXferProcessor.h41 static AnalysisProperties SrcOverAnalysisProperties(const GrProcessorAnalysisColor&,
54 AnalysisProperties analysisProperties(const GrProcessorAnalysisColor&,
/external/skqp/src/gpu/effects/
DGrDisableColorXP.h31 AnalysisProperties analysisProperties(const GrProcessorAnalysisColor&, in analysisProperties()
34 return AnalysisProperties::kCompatibleWithAlphaAsCoverage | in analysisProperties()
35 AnalysisProperties::kIgnoresInputColor; in analysisProperties()
DGrCustomXfermode.cpp225 AnalysisProperties analysisProperties(const GrProcessorAnalysisColor&,
255 GrXPFactory::AnalysisProperties CustomXPFactory::analysisProperties( in analysisProperties()
355 return AnalysisProperties::kCompatibleWithAlphaAsCoverage; in analysisProperties()
357 return AnalysisProperties::kCompatibleWithAlphaAsCoverage | in analysisProperties()
358 AnalysisProperties::kRequiresNonOverlappingDraws; in analysisProperties()
361 return AnalysisProperties::kCompatibleWithAlphaAsCoverage | in analysisProperties()
362 AnalysisProperties::kReadsDstInShader; in analysisProperties()
DGrCoverageSetOpXP.h42 AnalysisProperties analysisProperties(const GrProcessorAnalysisColor&, in analysisProperties()
45 return AnalysisProperties::kIgnoresInputColor; in analysisProperties()
DGrPorterDuffXferProcessor.cpp789 static inline GrXPFactory::AnalysisProperties analysis_properties( in analysis_properties()
792 using AnalysisProperties = GrXPFactory::AnalysisProperties; in analysis_properties() typedef
793 AnalysisProperties props = AnalysisProperties::kNone; in analysis_properties()
804 props |= AnalysisProperties::kCompatibleWithAlphaAsCoverage; in analysis_properties()
812 props |= AnalysisProperties::kIgnoresInputColor; in analysis_properties()
822 props |= AnalysisProperties::kReadsDstInShader; in analysis_properties()
833 props |= AnalysisProperties::kReadsDstInShader; in analysis_properties()
839 props |= AnalysisProperties::kIgnoresInputColor; in analysis_properties()
844 GrXPFactory::AnalysisProperties GrPorterDuffXPFactory::analysisProperties( in analysisProperties()
932 GrXPFactory::AnalysisProperties GrPorterDuffXPFactory::SrcOverAnalysisProperties( in SrcOverAnalysisProperties()
DGrPorterDuffXferProcessor.h42 static AnalysisProperties SrcOverAnalysisProperties(const GrProcessorAnalysisColor&,
54 AnalysisProperties analysisProperties(const GrProcessorAnalysisColor&,