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

Unified Diff: include/core/SkCanvas.h

Issue 1845283003: Gamma-correctness pushed into Skia, top-down. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Remove helper function for old pixel-config method of enabling decode Created 4 years, 8 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
Index: include/core/SkCanvas.h
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h
index 91952c3050002d8d4ee35d59546786a8452fe223..f0781069a39ca464a0d96e22c26b280ffbcb93cc 100644
--- a/include/core/SkCanvas.h
+++ b/include/core/SkCanvas.h
@@ -122,6 +122,12 @@ public:
*/
SkImageInfo imageInfo() const;
+ /**
robertphillips 2016/04/05 12:54:34 move these over 1 ' ' ?
Brian Osman 2016/04/05 15:36:41 Acknowledged.
+ * Return SurfaceProps for this canvas. If the canvas is not backed by pixels
+ * (cpu or gpu), then this will return null.
+ */
+ const SkSurfaceProps* props() const;
+
///////////////////////////////////////////////////////////////////////////
/**
« no previous file with comments | « gm/xfermodes3.cpp ('k') | include/core/SkDevice.h » ('j') | include/core/SkDevice.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698