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

Unified Diff: include/core/SkDevice.h

Issue 163823002: Revert of add peekPixels to SkCanvas and SkSurface (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 6 years, 10 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 | « include/core/SkCanvas.h ('k') | include/core/SkSurface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkDevice.h
diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h
index e3a23be6cab1c648fe98e0ca96db7457da6081a7..016e2babc88d9048255a9f90174e4a159f0bee9c 100644
--- a/include/core/SkDevice.h
+++ b/include/core/SkDevice.h
@@ -75,12 +75,6 @@
//Currently, all the properties are leaky.
return fLeakyProperties;
}
-
- /**
- * Return ImageInfo for this device. If the canvas is not backed by pixels
- * (cpu or gpu), then the info's ColorType will be kUnknown_SkColorType.
- */
- virtual SkImageInfo imageInfo() const;
/**
* Return the bounds of the device in the coordinate space of the root
@@ -375,10 +369,7 @@
protected:
// default impl returns NULL
virtual SkSurface* newSurface(const SkImageInfo&);
-
- // default impl returns NULL
- virtual const void* peekPixels(SkImageInfo*, size_t* rowBytes);
-
+
/**
* Leaky properties are those which the device should be applying but it isn't.
* These properties will be applied by the draw, when and as it can.
« no previous file with comments | « include/core/SkCanvas.h ('k') | include/core/SkSurface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698