/** * Sentinel value for SkBlendMode enum. * * Will never be a valid enum value, but will be storable in a byte.
*/
constexpr uint8_t kCustom_SkBlendMode = 0xFF;
enumclass SkBlendFastPath {
kNormal, // draw normally
kSrcOver, //< draw as if in srcover mode
kSkipDrawing //< draw nothing
};
/** * Given a paint, determine whether the paint's blend mode can be * replaced with kSrcOver or not drawn at all. This can inform drawing optimizations.
*/
SkBlendFastPath CheckFastPath(const SkPaint&, bool dstIsOpaque);
#endif
Messung V0.5
¤ Dauer der Verarbeitung: 0.13 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.