Refactor Bitmap Storage for SkPicture using SkPipe's design.
authordjsollen@google.com <djsollen@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 7 Aug 2012 19:49:41 +0000 (19:49 +0000)
committerdjsollen@google.com <djsollen@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 7 Aug 2012 19:49:41 +0000 (19:49 +0000)
commit21830d90096d2dccc4168d99a427e78035ce942a
tree4dd555cade377ea06a9f4f826755ff6384b71699
parent44b67b2ed16ecb6fe001b785498e20b13fa42d0c
Refactor Bitmap Storage for SkPicture using SkPipe's design.

Refactor Picture and Pipe bitmap storage into common data structure

Update SkFlattenable buffers to be more modular.

This CL is an effort to stage the conversion to named
parameters for all SkFlattenable commands. This particular
stage only does the following two things...

1. Move flattenable buffers from SkFlattenable.h into
   their own header.
2. Update and Add new read write methods for better clarity
   and convenience.

BUG=

Review URL: https://codereview.appspot.com/6445079

git-svn-id: http://skia.googlecode.com/svn/trunk@4994 2bbb7eff-a529-9590-31e7-b0007b416f81
19 files changed:
gyp/core.gyp
gyp/effects.gyp
include/core/SkBitmap.h
include/core/SkFlattenableBuffers.h
include/core/SkOrderedReadBuffer.h
include/core/SkOrderedWriteBuffer.h
src/core/SkBitmap.cpp
src/core/SkBitmapHeap.cpp [new file with mode: 0644]
src/core/SkBitmapHeap.h [new file with mode: 0644]
src/core/SkFlattenableBuffers.cpp
src/core/SkOrderedReadBuffer.cpp
src/core/SkOrderedWriteBuffer.cpp
src/core/SkPictureFlat.cpp
src/core/SkPictureFlat.h
src/core/SkPicturePlayback.cpp
src/core/SkPicturePlayback.h
src/core/SkPictureRecord.cpp
src/core/SkPictureRecord.h
tests/CanvasTest.cpp