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

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: Some fixes 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
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,
bsalomon 2015/11/06 21:23:39 Rob, should this be a GrDrawContext function? Eith
jvanverth1 2015/11/06 22:06:52 It's in the internal testing functions block (note
+ GrRenderTarget* target);
+
private:
GrGpu* fGpu;
const GrCaps* fCaps;

Powered by Google App Engine
This is Rietveld 408576698