Reland SkWriter32 growth change with build fixes.
authorcommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 11 Feb 2014 18:22:04 +0000 (18:22 +0000)
committercommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 11 Feb 2014 18:22:04 +0000 (18:22 +0000)
commita87b21cd0041bac0d96b6836ac6e71a2dbcd4e10
tree53a9f7cdbbe208f897d7aa9cfe0dc5515b3bade1
parent61e96cd44624c9faceb625519c1b29775b161f45
Reland SkWriter32 growth change with build fixes.

  - SkSWriter32 resets itself with its stack block;
  - Track the full capacity of fInternal (which may be >size after a reset).

BUG=skia:2125
R=reed@google.com, iancottrell@chromium.org, iancottrell@google.com, mtklein@google.com

Author: mtklein@chromium.org

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

git-svn-id: http://skia.googlecode.com/svn/trunk@13412 2bbb7eff-a529-9590-31e7-b0007b416f81
include/core/SkTDArray.h
include/core/SkWriter32.h
src/core/SkWriter32.cpp