diff options
Diffstat (limited to 'src/gpu/GrGpu.h')
-rw-r--r-- | src/gpu/GrGpu.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpu/GrGpu.h b/src/gpu/GrGpu.h index 353ec33437..e495de9afa 100644 --- a/src/gpu/GrGpu.h +++ b/src/gpu/GrGpu.h @@ -336,6 +336,10 @@ public: kDrawPaths_DrawType, }; + static bool IsPathRenderingDrawType(DrawType type) { + return kDrawPath_DrawType == type || kDrawPaths_DrawType == type; + } + protected: DrawType PrimTypeToDrawType(GrPrimitiveType type) { switch (type) { |