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

Unified Diff: include/core/SkSurface.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/SkDevice.h ('k') | samplecode/SampleApp.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkSurface.h
diff --git a/include/core/SkSurface.h b/include/core/SkSurface.h
index 74c5f083f459bb9f48fd195bccef609562fa3859..2f277b755df7a9d385f57e812d6a2e97c2d9af72 100644
--- a/include/core/SkSurface.h
+++ b/include/core/SkSurface.h
@@ -151,18 +151,6 @@
*/
void draw(SkCanvas*, SkScalar x, SkScalar y, const SkPaint*);
- /**
- * If the surface has direct access to its pixels (i.e. they are in local
- * RAM) return the const-address of those pixels, and if not null, return
- * the ImageInfo and rowBytes. The returned address is only valid while
- * the surface object is in scope, and no API call is made on the surface
- * or its canvas.
- *
- * On failure, returns NULL and the info and rowBytes parameters are
- * ignored.
- */
- const void* peekPixels(SkImageInfo* info, size_t* rowBytes);
-
protected:
SkSurface(int width, int height);
SkSurface(const SkImageInfo&);
« no previous file with comments | « include/core/SkDevice.h ('k') | samplecode/SampleApp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698