diff options
Diffstat (limited to 'include/core/SkSurface.h')
-rw-r--r-- | include/core/SkSurface.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/core/SkSurface.h b/include/core/SkSurface.h index 74c5f083f4..2f277b755d 100644 --- a/include/core/SkSurface.h +++ b/include/core/SkSurface.h @@ -151,18 +151,6 @@ public: */ 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&); |