aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2015-09-16 10:09:24 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-09-16 10:09:24 -0700
commit3322a8137d12255258a937897389ea90ca1ee6fa (patch)
tree6e8304a13f506af4538acdddeb0c0e1999f7e572 /include
parent5d08d44c68f65c71c9fdbbdda601119d87a7beb6 (diff)
share code between SkGr and Cacherator
Diffstat (limited to 'include')
-rw-r--r--include/gpu/SkGr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/gpu/SkGr.h b/include/gpu/SkGr.h
index 99a361bca1..2d1b95df85 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&);
+
////////////////////////////////////////////////////////////////////////////////
/**