aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/GrContext.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gpu/GrContext.h')
-rw-r--r--include/gpu/GrContext.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h
index e051c7c76f..2d77a0f449 100644
--- a/include/gpu/GrContext.h
+++ b/include/gpu/GrContext.h
@@ -349,6 +349,10 @@ public:
/** Enumerates all cached GPU resources and dumps their memory to traceMemoryDump. */
void dumpMemoryStatistics(SkTraceMemoryDump* traceMemoryDump) const;
+ /** Draw font cache texture to render target */
+ void drawFontCache(const SkRect& rect, GrMaskFormat format, const SkPaint& paint,
+ GrRenderTarget* target);
+
private:
GrGpu* fGpu;
const GrCaps* fCaps;