aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu
diff options
context:
space:
mode:
authorGravatar jvanverth <jvanverth@google.com>2015-11-06 14:20:03 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-11-06 14:20:04 -0800
commit3b484a40b3be7f0262afadeaf6b741ba5cedcfe1 (patch)
tree85f5a9e4ea16172ba3147d0c27cfd035a65ffaf4 /include/gpu
parente8e17cf23d2a036f9b3050bedeb9d3a544221f4c (diff)
Add text animation sample; tweak DrawShip sample
Diffstat (limited to 'include/gpu')
-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;