Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Unified Diff: include/gpu/GrContext.h

Issue 1410663005: Add text animation sample; tweak DrawShip sample (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Correct fix for CrOS Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gyp/SampleApp.gyp ('k') | samplecode/SampleAnimatedText.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrContext.h
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h
index e051c7c76f830c71401eef91252826c9a1f79a0c..2d77a0f449fb5305592c6b44d1c05aad9b26075f 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;
« no previous file with comments | « gyp/SampleApp.gyp ('k') | samplecode/SampleAnimatedText.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698