|
enum | ClassID {
kNull_ClassID
, kAttributeTestProcessor_ClassID
, kBigKeyProcessor_ClassID
, kBlendFragmentProcessor_ClassID
,
kBlockInputFragmentProcessor_ClassID
, kButtCapStrokedCircleGeometryProcessor_ClassID
, kCircleGeometryProcessor_ClassID
, kCircularRRectEffect_ClassID
,
kClockwiseTestProcessor_ClassID
, kColorTableEffect_ClassID
, kCoverageSetOpXP_ClassID
, kCustomXP_ClassID
,
kDashingCircleEffect_ClassID
, kDashingLineEffect_ClassID
, kDefaultGeoProc_ClassID
, kDeviceSpace_ClassID
,
kDIEllipseGeometryProcessor_ClassID
, kDisableColorXP_ClassID
, kDrawAtlasPathShader_ClassID
, kEllipseGeometryProcessor_ClassID
,
kEllipticalRRectEffect_ClassID
, kFwidthSquircleTestProcessor_ClassID
, kGP_ClassID
, kGrBicubicEffect_ClassID
,
kGrBitmapTextGeoProc_ClassID
, kGrColorSpaceXformEffect_ClassID
, kGrConicEffect_ClassID
, kGrConvexPolyEffect_ClassID
,
kGrDiffuseLightingEffect_ClassID
, kGrDisplacementMapEffect_ClassID
, kGrDistanceFieldA8TextGeoProc_ClassID
, kGrDistanceFieldLCDTextGeoProc_ClassID
,
kGrDistanceFieldPathGeoProc_ClassID
, kGrFillRRectOp_Processor_ClassID
, kGrGaussianConvolutionFragmentProcessor_ClassID
, kGrMatrixConvolutionEffect_ClassID
,
kGrMatrixEffect_ClassID
, kGrMeshTestProcessor_ClassID
, kGrMorphologyEffect_ClassID
, kGrPerlinNoise2Effect_ClassID
,
kGrPipelineDynamicStateTestProcessor_ClassID
, kGrQuadEffect_ClassID
, kGrRRectShadowGeoProc_ClassID
, kGrSkSLFP_ClassID
,
kGrSpecularLightingEffect_ClassID
, kGrTextureEffect_ClassID
, kGrUnrolledBinaryGradientColorizer_ClassID
, kGrYUVtoRGBEffect_ClassID
,
kHighPrecisionFragmentProcessor_ClassID
, kLatticeGP_ClassID
, kPDLCDXferProcessor_ClassID
, kPorterDuffXferProcessor_ClassID
,
kPremulFragmentProcessor_ClassID
, kQuadEdgeEffect_ClassID
, kQuadPerEdgeAAGeometryProcessor_ClassID
, kSeriesFragmentProcessor_ClassID
,
kShaderPDXferProcessor_ClassID
, kSurfaceColorProcessor_ClassID
, kSwizzleFragmentProcessor_ClassID
, kTessellate_BoundingBoxShader_ClassID
,
kTessellate_GrModulateAtlasCoverageEffect_ClassID
, kTessellate_GrStrokeTessellationShader_ClassID
, kTessellate_HullShader_ClassID
, kTessellate_MiddleOutShader_ClassID
,
kTessellate_SimpleTriangleShader_ClassID
, kTessellationTestTriShader_ClassID
, kTestFP_ClassID
, kTestRectOp_ClassID
,
kVertexColorSpaceBenchGP_ClassID
, kVerticesGP_ClassID
} |
|
| GrXferProcessor (ClassID classID) |
|
| GrXferProcessor (ClassID classID, bool willReadDstColor, GrProcessorAnalysisCoverage) |
|
| GrProcessor (ClassID classID) |
|
| GrProcessor (const GrProcessor &)=delete |
|
GrProcessor & | operator= (const GrProcessor &)=delete |
|
const ClassID | fClassID |
|
◆ Make()
Definition at line 253 of file GrPorterDuffXferProcessor.cpp.
254 {
256 return nullptr;
257 }
259 if (!
color.isConstant(&blendConstantPM)) {
260 return nullptr;
261 }
263 float alpha = blendConstantUPM.fA;
264 blendConstantPM = { blendConstantUPM.fR, blendConstantUPM.fG, blendConstantUPM.fB, 1 };
266}
@ kSrcOver
r = s + (1-sa)*d
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive mode
SkRGBA4f< kUnpremul_SkAlphaType > unpremul() const
◆ makeProgramImpl()
Returns a new instance of the appropriate GL implementation class for the given GrXferProcessor; caller is responsible for deleting the object.
Implements GrXferProcessor.
Definition at line 268 of file GrPorterDuffXferProcessor.cpp.
268 {
270 private:
271 void emitOutputsForBlendState(
const EmitArgs&
args)
override {
272 const char* alpha;
273 fAlphaUniform =
args.fUniformHandler->addUniform(
nullptr,
276 "alpha",
277 &alpha);
279
280
281
282
286 alpha,
args.fInputCoverage);
287 }
288
291 if (fLastAlpha != alpha) {
292 pdm.
set1f(fAlphaUniform, alpha);
293 fLastAlpha = alpha;
294 }
295 }
296
299 };
300
301 return std::make_unique<Impl>();
302}
constexpr float SK_FloatNaN
virtual void set1f(UniformHandle, float v0) const =0
void codeAppendf(const char format[],...) SK_PRINTF_LIKE(2
G_BEGIN_DECLS G_MODULE_EXPORT FlValue * args
◆ name()
const char * PDLCDXferProcessor::name |
( |
| ) |
const |
|
inlineoverridevirtual |
Human-meaningful string to identify this processor; may be embedded in generated shader code and must be a legal SkSL identifier prefix.
Implements GrProcessor.
Definition at line 217 of file GrPorterDuffXferProcessor.cpp.
217{ return "Porter Duff LCD"; }
The documentation for this class was generated from the following file: