Home
last modified time | relevance | path

Searched refs:CustomFeatures (Results 1 – 7 of 7) sorted by relevance

/external/skia/src/gpu/glsl/
DGrGLSLFragmentShaderBuilder.h135 using CustomFeatures = GrProcessor::CustomFeatures;
148 CustomFeatures fUsedProcessorFeaturesThisStage_DebugOnly = CustomFeatures::kNone;
149 CustomFeatures fUsedProcessorFeaturesAllStages_DebugOnly = CustomFeatures::kNone;
153 fUsedProcessorFeaturesThisStage_DebugOnly = CustomFeatures::kNone; in debugOnly_resetPerStageVerification()
DGrGLSLFragmentShaderBuilder.cpp88 SkASSERT(CustomFeatures::kSampleLocations & fProgramBuilder->header().processorFeatures()); in sampleOffsets()
89 SkDEBUGCODE(fUsedProcessorFeaturesThisStage_DebugOnly |= CustomFeatures::kSampleLocations); in sampleOffsets()
90 SkDEBUGCODE(fUsedProcessorFeaturesAllStages_DebugOnly |= CustomFeatures::kSampleLocations); in sampleOffsets()
219 if (CustomFeatures::kSampleLocations & fProgramBuilder->header().processorFeatures()) { in onFinalize()
DGrGLSLProgramBuilder.h44 SkASSERT(GrProcessor::CustomFeatures::kSampleLocations & header().processorFeatures()); in effectiveSampleCnt()
/external/skia/src/gpu/
DGrProcessor.h197 enum class CustomFeatures { enum
202 GR_DECL_BITFIELD_CLASS_OPS_FRIENDS(CustomFeatures);
204 CustomFeatures requestedFeatures() const { return fRequestedFeatures; } in requestedFeatures()
226 void setWillUseCustomFeature(CustomFeatures feature) { fRequestedFeatures |= feature; } in setWillUseCustomFeature()
229 CustomFeatures fRequestedFeatures = CustomFeatures::kNone;
232 GR_MAKE_BITFIELD_CLASS_OPS(GrProcessor::CustomFeatures);
DGrProgramDesc.h93 GrProcessor::CustomFeatures processorFeatures() const { in processorFeatures()
94 return (GrProcessor::CustomFeatures)fProcessorFeatures; in processorFeatures()
DGrProgramDesc.cpp207 GrProcessor::CustomFeatures processorFeatures = primProc.requestedFeatures(); in Build()
232 if (processorFeatures & GrProcessor::CustomFeatures::kSampleLocations) { in Build()
/external/skia/gm/
Dsamplelocations.cpp62 this->setWillUseCustomFeature(CustomFeatures::kSampleLocations); in SampleLocationsTestProcessor()