diff options
author | Mike Reed <reed@google.com> | 2017-04-10 23:31:23 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-04-11 15:00:19 +0000 |
commit | 0f3fdfacf32261f943dcac5cdfd14475011f40db (patch) | |
tree | 12b45c03cf92c7208c7c7e68aea7cc9fc817d6ad /include/core/SkBitmap.h | |
parent | d177ae18d7f2d02e872adbfaf2bd060beba48365 (diff) |
remove unused SkBitmap::copyPixelsTo
Needs https://codereview.chromium.org/2812853002/ to land first
Bug: skia:6465
Change-Id: I531e33b2848cd995f20844786ed1a8d34d63fb64
Reviewed-on: https://skia-review.googlesource.com/13171
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'include/core/SkBitmap.h')
-rw-r--r-- | include/core/SkBitmap.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/include/core/SkBitmap.h b/include/core/SkBitmap.h index 34da542edd..0fcfa2b24c 100644 --- a/include/core/SkBitmap.h +++ b/include/core/SkBitmap.h @@ -345,27 +345,6 @@ public: */ void setPixels(void* p, SkColorTable* ctable = NULL); - /** Copies the bitmap's pixels to the location pointed at by dst and returns - true if possible, returns false otherwise. - - In the case when the dstRowBytes matches the bitmap's rowBytes, the copy - may be made faster by copying over the dst's per-row padding (for all - rows but the last). By setting preserveDstPad to true the caller can - disable this optimization and ensure that pixels in the padding are not - overwritten. - - Always returns false for RLE formats. - - @param dst Location of destination buffer. - @param dstSize Size of destination buffer. Must be large enough to hold - pixels using indicated stride. - @param dstRowBytes Width of each line in the buffer. If 0, uses - bitmap's internal stride. - @param preserveDstPad Must we preserve padding in the dst - */ - bool copyPixelsTo(void* const dst, size_t dstSize, size_t dstRowBytes = 0, - bool preserveDstPad = false) const; - /** Use the standard HeapAllocator to create the pixelref that manages the pixel memory. It will be sized based on the current ImageInfo. If this is called multiple times, a new pixelref object will be created |