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

Unified Diff: include/gpu/GrContext.h

Issue 1506203002: Move texture drawing utility method to SkGpuDevice (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix comment Created 5 years 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 | « no previous file | 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 70e7b9f2441ce424aeb9cbf8ee904f5af47a1cc1..fdc6167b14f346358966e455292c2ffe37cc89e2 100644
--- a/include/gpu/GrContext.h
+++ b/include/gpu/GrContext.h
@@ -354,9 +354,8 @@ 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);
+ /** Get pointer to atlas texture for given mask format */
+ GrTexture* getFontAtlasTexture(GrMaskFormat format);
private:
GrGpu* fGpu;
« no previous file with comments | « no previous file | samplecode/SampleAnimatedText.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698