8 #ifndef SkPictureAnalyzer_DEFINED
9 #define SkPictureAnalyzer_DEFINED
17 #include "GrContext.h"
40 void analyzeClipPath(
const SkPath&, SkClipOp,
bool doAntiAlias);
50 bool suitableForGpuRasterization(
const char** whyNot =
nullptr)
const;
59 uint32_t fNumSlowPaths;
61 typedef SkNoncopyable INHERITED;
64 #endif // SK_SUPPORT_GPU
66 #endif // SkPictureAnalyzer_DEFINED
The SkPath class encapsulates compound (multiple contour) geometric paths consisting of straight line...
Definition: SkPath.h:25
An SkPicture records drawing commands made to a canvas to be played back at a later time...
Definition: SkPicture.h:38
uint32_t numSlowGpuCommands()
Returns the number of commands which are slow to draw on the GPU, capped at the predicate max...
Definition: SkPictureAnalyzer.h:56
Gathers GPU-related statistics for one or more SkPictures.
Definition: SkPictureAnalyzer.h:26