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

Unified Diff: include/gpu/SkGr.h

Issue 1351533004: share code between SkGr and Cacherator (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 3 months 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 | src/core/SkImageCacherator.cpp » ('j') | src/gpu/SkGpuDevice.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/SkGr.h
diff --git a/include/gpu/SkGr.h b/include/gpu/SkGr.h
index 99a361bca1facb87705f1133d56fd441687a097e..2d1b95df858384c5b9fc0be9764fb76f3d4b583b 100644
--- a/include/gpu/SkGr.h
+++ b/include/gpu/SkGr.h
@@ -78,6 +78,8 @@ static inline GrColor SkPMColorToGrColor(SkPMColor c) {
SkGetPackedA32(c));
}
+GrSurfaceDesc GrImageInfoToSurfaceDesc(const SkImageInfo&);
+
////////////////////////////////////////////////////////////////////////////////
/**
« no previous file with comments | « no previous file | src/core/SkImageCacherator.cpp » ('j') | src/gpu/SkGpuDevice.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698