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

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: Undo odd change to GrBlurUtils - no longer needed 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;
+ /**
+ * Return SurfaceProps for this canvas. If the canvas is not backed by pixels
+ * (cpu or gpu), then this will return null.
reed1 2016/04/04 21:12:29 1. I think recording canvases have a device, so th
Brian Osman 2016/04/04 21:42:35 My understanding (and Brian's claim) was that the
+ */
+ const SkSurfaceProps* props() const;
+
///////////////////////////////////////////////////////////////////////////
/**
« no previous file with comments | « gm/xfermodes3.cpp ('k') | include/core/SkDevice.h » ('j') | include/core/SkImageInfo.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698