PixelRef now returns (nearly) everything that is currently in SkBitmap. The goal...
authorreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 11 Dec 2013 18:04:56 +0000 (18:04 +0000)
committerreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 11 Dec 2013 18:04:56 +0000 (18:04 +0000)
commit6965a0a2df9d35cd0a25e1738f0388272d03f399
treec7831828095cbd2ea1efe9b44ab876f1aa374f80
parent3a6143d91f06d01f07b3b0e8adfa703a574d2bec
PixelRef now returns (nearly) everything that is currently in SkBitmap. The goal is to refactor bitmap later to remove redundancy, and more interestingly, remove the chance for a disconnect between the actual (pixelref) rowbytes and config, and the one claimed by the bitmap.""""

BUG=

Review URL: https://codereview.chromium.org/110503003

git-svn-id: http://skia.googlecode.com/svn/trunk@12622 2bbb7eff-a529-9590-31e7-b0007b416f81
36 files changed:
include/core/SkBitmapDevice.h
include/core/SkMallocPixelRef.h
include/core/SkPicture.h
include/core/SkPixelRef.h
include/gpu/GrSurface.h
include/gpu/SkGr.h
include/gpu/SkGrPixelRef.h
include/images/SkImageRef.h
include/images/SkImageRef_GlobalPool.h
samplecode/SamplePicture.cpp
src/core/SkBitmap.cpp
src/core/SkBitmapDevice.cpp
src/core/SkImageFilterUtils.cpp
src/core/SkMallocPixelRef.cpp
src/core/SkMaskFilter.cpp
src/core/SkPixelRef.cpp
src/effects/gradients/SkGradientShader.cpp
src/gpu/GrSurface.cpp
src/gpu/SkGpuDevice.cpp
src/gpu/SkGr.cpp
src/gpu/SkGrPixelRef.cpp
src/image/SkDataPixelRef.cpp
src/image/SkDataPixelRef.h
src/image/SkImage_Raster.cpp
src/image/SkSurface_Raster.cpp
src/images/SkImageRef.cpp
src/images/SkImageRef_GlobalPool.cpp
src/images/SkImageRef_ashmem.cpp
src/images/SkImageRef_ashmem.h
src/lazy/SkCachingPixelRef.cpp
src/lazy/SkCachingPixelRef.h
src/lazy/SkDiscardablePixelRef.cpp
src/lazy/SkDiscardablePixelRef.h
tests/PictureTest.cpp
tests/PixelRefTest.cpp
tests/SerializationTest.cpp