diff options
author | 2014-02-13 15:29:03 +0000 | |
---|---|---|
committer | 2014-02-13 15:29:03 +0000 | |
commit | bda591c739001b41d77048d680f81e05723cbc05 (patch) | |
tree | 80f0326a191c966bc34057e4011bdb3233bc2a50 /include/core/SkSurface.h | |
parent | b2d93a91222dac2edb3c19128fd58fa2e74272aa (diff) |
Revert of add peekPixels to SkCanvas and SkSurface (https://codereview.chromium.org/161733002/)
Reason for revert:
compile issues with gm/xfermodes3
Original issue's description:
> add peekPixels to SkCanvas and SkSurface
>
> clone of https://codereview.chromium.org/159723006/
>
> Committed: https://code.google.com/p/skia/source/detail?r=13427
R=jvanverth@google.com
NOTREECHECKS=true
NOTRY=true
Author: reed@chromium.org
Review URL: https://codereview.chromium.org/163823002
git-svn-id: http://skia.googlecode.com/svn/trunk@13428 2bbb7eff-a529-9590-31e7-b0007b416f81
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&); |