diff options
author | 2015-11-06 14:20:03 -0800 | |
---|---|---|
committer | 2015-11-06 14:20:04 -0800 | |
commit | 3b484a40b3be7f0262afadeaf6b741ba5cedcfe1 (patch) | |
tree | 85f5a9e4ea16172ba3147d0c27cfd035a65ffaf4 /include/gpu | |
parent | e8e17cf23d2a036f9b3050bedeb9d3a544221f4c (diff) |
Add text animation sample; tweak DrawShip sample
Review URL: https://codereview.chromium.org/1410663005
Diffstat (limited to 'include/gpu')
-rw-r--r-- | include/gpu/GrContext.h | 4 |
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; |