add SkPixmap and external locking to bitmaps
authorreed <reed@google.com>
Fri, 22 May 2015 15:06:21 +0000 (08:06 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 22 May 2015 15:06:22 +0000 (08:06 -0700)
commit92fc2ae58331662ec411a048686cb4801e0a909a
tree8b49c125bd366e77fcdff77788e6965912758dc9
parenteb1cb5c5b50febad115d859faca91d2d6af3fff2
add SkPixmap and external locking to bitmaps

BUG=skia:

Review URL: https://codereview.chromium.org/1074983003
12 files changed:
gyp/core.gypi
include/core/SkBitmap.h
include/core/SkImageInfo.h
include/core/SkPixelRef.h
include/core/SkPixmap.h [new file with mode: 0644]
src/core/SkBitmap.cpp
src/core/SkBitmapScaler.cpp
src/core/SkDraw.cpp
src/core/SkPixelRef.cpp
src/core/SkPixmap.cpp [new file with mode: 0644]
src/core/SkWriteBuffer.cpp
tests/BitmapCopyTest.cpp