Revert of DM: lazy decoding on SKP playback (patchset #4 id:60001 of https://codereview.chromium.org/943383002/)
Revert of DM: lazy decoding on SKP playback (patchset #4 id:60001 of https://codereview.chromium.org/943383002/)

Reason for revert:
crashing dm

Test-Mac10.9-MacMini6.2-HD4000-x86_64-Debug

u gm addarc
(1431MB   932) 169ms	gpu gm aarectmodes
(1431MB   931) 38.6ms	gpu gm aaclip
(1431MB   930) 474ms	gpu skp desk_amazon.skp
(1431MB   929) 615ms	gpu skp desk_baidu.skp
(1431MB   928) 600ms	gpu skp desk_blogger.skp
Signal 11:
_sigtramp (+0x1a)
compute_yuv_size(jpeg_decompress_struct const&, int, SizeType) (+0x30)
update_components_sizes(jpeg_decompress_struct const&, SkTSize<int>*, SizeType) (+0x46)
SkJPEGImageDecoder::onDecodeYUV8Planes(SkStream*, SkTSize<int>*, void**, unsigned long*, SkYUVColorSpace*) (+0x239)
SkImageDecoder::decodeYUV8Planes(SkStream*, SkTSize<int>*, void**, unsigned long*, SkYUVColorSpace*) (+0x64)
SkImageDecoderGenerator::onGetYUV8Planes(SkTSize<int>*, void**, unsigned long*, SkYUVColorSpace*) (+0x9f)
SkImageGenerator::getYUV8Planes(SkTSize<int>*, void**, unsigned long*, SkYUVColorSpace*) (+0x3b7)
SkDiscardablePixelRef::onGetYUV8Planes(SkTSize<int>*, void**, unsigned long*, SkYUVColorSpace*) (+0x3c)
SkPixelRef::getYUV8Planes(SkTSize<int>*, void**, unsigned long*, SkYUVColorSpace*) (+0x55)
load_yuv_texture(GrContext*, GrUniqueKey const&, SkBitmap const&, GrSurfaceDesc const&) (+0x24b)
create_unstretched_bitmap_texture(GrContext*, SkBitmap const&, GrUniqueKey const&) (+0x3df)
create_bitmap_texture(GrContext*, SkBitmap const&, Stretch, GrUniqueKey const&, GrUniqueKey const&) (+0x1ca)
GrRefCachedBitmapTexture(GrContext*, SkBitmap const&, GrTextureParams const*) (+0x368)
AutoBitmapTexture::set(GrContext*, SkBitmap const&, GrTextureParams const*) (+0x87)
AutoBitmapTexture::AutoBitmapTexture(GrContext*, SkBitmap const&, GrTextureParams const*, GrTexture**) (+0xe0)
AutoBitmapTexture::AutoBitmapTexture(GrContext*, SkBitmap const&, GrTextureParams const*, GrTexture**) (+0x35)
SkGpuDevice::internalDrawBitmap(SkBitmap const&, SkMatrix const&, SkRect const&, GrTextureParams const&, SkPaint const&, SkCanvas::DrawBitmapRectFlags, bool, bool) (+0x118)
SkGpuDevice::drawBitmapCommon(SkDraw const&, SkBitmap const&, SkRect const*, SkSize const*, SkPaint const&, SkCanvas::DrawBitmapRectFlags) (+0xa84)
SkGpuDevice::drawBitmapRect(SkDraw const&, SkBitmap const&, SkRect const*, SkRect const&, SkPaint const&, SkCanvas::DrawBitmapRectFlags) (+0x2bb)
SkCanvas::internalDrawBitmapRect(SkBitmap const&, SkRect const*, SkRect const&, SkPaint const*, SkCanvas::DrawBitmapRectFlags) (+0x2a9)
SkCanvas::onDrawBitmapRect(SkBitmap const&, SkRect const*, SkRect const&, SkPaint const*, SkCanvas::DrawBitmapRectFlags) (+0x118)
SkCanvas::drawBitmapRectToRect(SkBitmap const&, SkRect const*, SkRect const&, SkPaint const*, SkCanvas::DrawBitmapRectFlags) (+0x60)
void SkRecords::Draw::draw<SkRecords::DrawBitmapRectToRect>(SkRecords::DrawBitmapRectToRect const&) (+0x8a)
void SkRecords::Draw::operator()<SkRecords::DrawBitmapRectToRect>(SkRecords::DrawBitmapRectToRect const&) (+0x1d)
void SkRecord::Record::visit<void, SkRecords::Draw>(SkRecord::Type8, SkRecords::Draw&) const (+0x298)
void SkRecord::visit<void, SkRecords::Draw>(unsigned int, SkRecords::Draw&) const (+0xbc)
SkRecordDraw(SkRecord const&, SkCanvas*, SkPicture const* const*, SkDrawable* const*, int, SkBBoxHierarchy const*, SkPicture::AbortCallback*) (+0x2eb)
SkPicture::playback(SkCanvas*, SkPicture::AbortCallback*) const (+0x186)
SkCanvas::onDrawPicture(SkPicture const*, SkMatrix const*, SkPaint const*) (+0xe0)
SkCanvas::drawPicture(SkPicture const*) (+0x11b)
DM::SKPSrc::draw(SkCanvas*) const (+0x25b)
DM::GPUSink::draw(DM::Src const&, SkBitmap*, SkWStream*, SkString*) const (+0x21d)
Task::Run(Task*) (+0x1de)
run_enclave(SkTArray<Task, false>*) (+0x49)
run_enclave_and_gpu_tests(SkTArray<Task, false>*) (+0x15)
(anonymous namespace)::ThreadPool::Wait(int*) (+0x14b)
SkTaskGroup::wait() (+0x15)
dm_main() (+0x624)
main (+0x27)

Original issue's description:
> DM: lazy decoding on SKP playback
>
> Command `out/Release/dm --config pdf --src gm skp`, uses 27% less RAM.
>
> Committed: https://skia.googlesource.com/skia/+/77d366d72a6ae83fb0abcb2ec7e2d692fef2e923

TBR=mtklein@google.com
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

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

shahrzadmn/skia,Igalia/skia,aosp-mirror/platform_external_skia,aosp-mirror/platform_external_skia,OneRom/external_skia,w3nd1go/android_external_skia,qrealka/skia-hc,w3nd1go/android_external_skia,pcwalton/skia,HalCanary/skia-hc,todotodoo/skia,noselhq/skia,MonkeyZZZZ/platform_external_skia,rubenvb/skia,BrokenROM/external_skia,AOSP-YU/platform_external_skia,nvoron23/skia,Hikari-no-Tenshi/android_external_skia,PAC-ROM/android_external_skia,google/skia,google/skia,MinimalOS-AOSP/platform_external_skia,MarshedOut/android_external_skia,UBERMALLOW/external_skia,UBERMALLOW/external_skia,spezi77/android_external_skia,VRToxin-AOSP/android_external_skia,invisiblek/android_external_skia,Hikari-no-Tenshi/android_external_skia,AOSPB/external_skia,shahrzadmn/skia,todotodoo/skia,pcwalton/skia,qrealka/skia-hc,shahrzadmn/skia,Infinitive-OS/platform_external_skia,YUPlayGodDev/platform_external_skia,MarshedOut/android_external_skia,MinimalOS-AOSP/platform_external_skia,geekboxzone/mmallow_external_skia,geekboxzone/mmallow_external_skia,noselhq/skia,aosp-mirror/platform_external_skia,MarshedOut/android_external_skia,shahrzadmn/skia,spezi77/android_external_skia,AOSP-YU/platform_external_skia,Hikari-no-Tenshi/android_external_skia,VRToxin-AOSP/android_external_skia,qrealka/skia-hc,Infinitive-OS/platform_external_skia,AOSP-YU/platform_external_skia,pcwalton/skia,Jichao/skia,shahrzadmn/skia,MonkeyZZZZ/platform_external_skia,BrokenROM/external_skia,google/skia,nfxosp/platform_external_skia,todotodoo/skia,rubenvb/skia,boulzordev/android_external_skia,nvoron23/skia,boulzordev/android_external_skia,VRToxin-AOSP/android_external_skia,MonkeyZZZZ/platform_external_skia,pcwalton/skia,boulzordev/android_external_skia,pcwalton/skia,ominux/skia,Jichao/skia,tmpvar/skia.cc,MarshedOut/android_external_skia,pcwalton/skia,w3nd1go/android_external_skia,HalCanary/skia-hc,AOSP-YU/platform_external_skia,samuelig/skia,rubenvb/skia,noselhq/skia,PAC-ROM/android_external_skia,tmpvar/skia.cc,aosp-mirror/platform_external_skia,shahrzadmn/skia,amyvmiwei/skia,tmpvar/skia.cc,Infinitive-OS/platform_external_skia,geekboxzone/mmallow_external_skia,MonkeyZZZZ/platform_external_skia,nfxosp/platform_external_skia,tmpvar/skia.cc,AOSP-YU/platform_external_skia,Infinitive-OS/platform_external_skia,OneRom/external_skia,ominux/skia,nvoron23/skia,VRToxin-AOSP/android_external_skia,HalCanary/skia-hc,spezi77/android_external_skia,TeamExodus/external_skia,Igalia/skia,HalCanary/skia-hc,Infinitive-OS/platform_external_skia,PAC-ROM/android_external_skia,qrealka/skia-hc,nfxosp/platform_external_skia,samuelig/skia,vanish87/skia,AOSP-YU/platform_external_skia,vanish87/skia,AOSP-YU/platform_external_skia,MarshedOut/android_external_skia,noselhq/skia,boulzordev/android_external_skia,AOSPB/external_skia,nfxosp/platform_external_skia,VRToxin-AOSP/android_external_skia,aosp-mirror/platform_external_skia,boulzordev/android_external_skia,qrealka/skia-hc,rubenvb/skia,timduru/platform-external-skia,TeamExodus/external_skia,google/skia,OneRom/external_skia,TeamExodus/external_skia,UBERMALLOW/external_skia,w3nd1go/android_external_skia,samuelig/skia,nvoron23/skia,aosp-mirror/platform_external_skia,TeamTwisted/external_skia,MarshedOut/android_external_skia,TeamTwisted/external_skia,samuelig/skia,MonkeyZZZZ/platform_external_skia,nvoron23/skia,TeamExodus/external_skia,w3nd1go/android_external_skia,VRToxin-AOSP/android_external_skia,qrealka/skia-hc,BrokenROM/external_skia,ominux/skia,invisiblek/android_external_skia,Hikari-no-Tenshi/android_external_skia,Igalia/skia,pcwalton/skia,w3nd1go/android_external_skia,ominux/skia,tmpvar/skia.cc,todotodoo/skia,noselhq/skia,YUPlayGodDev/platform_external_skia,spezi77/android_external_skia,google/skia,UBERMALLOW/external_skia,AOSPB/external_skia,MinimalOS-AOSP/platform_external_skia,tmpvar/skia.cc,boulzordev/android_external_skia,google/skia,MinimalOS-AOSP/platform_external_skia,Infinitive-OS/platform_external_skia,BrokenROM/external_skia,HalCanary/skia-hc,AOSPB/external_skia,shahrzadmn/skia,Jichao/skia,VRToxin-AOSP/android_external_skia,samuelig/skia,YUPlayGodDev/platform_external_skia,todotodoo/skia,ominux/skia,vanish87/skia,amyvmiwei/skia,UBERMALLOW/external_skia,OneRom/external_skia,BrokenROM/external_skia,PAC-ROM/android_external_skia,aosp-mirror/platform_external_skia,Igalia/skia,noselhq/skia,geekboxzone/mmallow_external_skia,pcwalton/skia,nfxosp/platform_external_skia,OneRom/external_skia,timduru/platform-external-skia,vanish87/skia,MonkeyZZZZ/platform_external_skia,amyvmiwei/skia,geekboxzone/mmallow_external_skia,Jichao/skia,TeamExodus/external_skia,geekboxzone/mmallow_external_skia,Hikari-no-Tenshi/android_external_skia,AOSP-YU/platform_external_skia,VRToxin-AOSP/android_external_skia,MonkeyZZZZ/platform_external_skia,todotodoo/skia,pcwalton/skia,OneRom/external_skia,TeamTwisted/external_skia,invisiblek/android_external_skia,HalCanary/skia-hc,OneRom/external_skia,nvoron23/skia,Hikari-no-Tenshi/android_external_skia,Jichao/skia,google/skia,TeamExodus/external_skia,invisiblek/android_external_skia,nvoron23/skia,nfxosp/platform_external_skia,noselhq/skia,tmpvar/skia.cc,TeamExodus/external_skia,vanish87/skia,todotodoo/skia,YUPlayGodDev/platform_external_skia,PAC-ROM/android_external_skia,aosp-mirror/platform_external_skia,rubenvb/skia,AOSPB/external_skia,invisiblek/android_external_skia,TeamTwisted/external_skia,TeamExodus/external_skia,noselhq/skia,YUPlayGodDev/platform_external_skia,amyvmiwei/skia,Jichao/skia,amyvmiwei/skia,YUPlayGodDev/platform_external_skia,Hikari-no-Tenshi/android_external_skia,PAC-ROM/android_external_skia,Igalia/skia,OneRom/external_skia,HalCanary/skia-hc,timduru/platform-external-skia,MarshedOut/android_external_skia,ominux/skia,TeamTwisted/external_skia,rubenvb/skia,MarshedOut/android_external_skia,ominux/skia,AOSPB/external_skia,rubenvb/skia,vanish87/skia,aosp-mirror/platform_external_skia,TeamTwisted/external_skia,timduru/platform-external-skia,HalCanary/skia-hc,MonkeyZZZZ/platform_external_skia,AOSPB/external_skia,boulzordev/android_external_skia,google/skia,PAC-ROM/android_external_skia,amyvmiwei/skia,tmpvar/skia.cc,Igalia/skia,PAC-ROM/android_external_skia,ominux/skia,tmpvar/skia.cc,MinimalOS-AOSP/platform_external_skia,timduru/platform-external-skia,vanish87/skia,MonkeyZZZZ/platform_external_skia,Jichao/skia,google/skia,TeamTwisted/external_skia,Infinitive-OS/platform_external_skia,rubenvb/skia,MinimalOS-AOSP/platform_external_skia,invisiblek/android_external_skia,MarshedOut/android_external_skia,shahrzadmn/skia,todotodoo/skia,UBERMALLOW/external_skia,amyvmiwei/skia,w3nd1go/android_external_skia,nfxosp/platform_external_skia,nfxosp/platform_external_skia,HalCanary/skia-hc,UBERMALLOW/external_skia,YUPlayGodDev/platform_external_skia,samuelig/skia,MinimalOS-AOSP/platform_external_skia,boulzordev/android_external_skia,spezi77/android_external_skia,TeamTwisted/external_skia,BrokenROM/external_skia,amyvmiwei/skia,timduru/platform-external-skia,VRToxin-AOSP/android_external_skia,geekboxzone/mmallow_external_skia,YUPlayGodDev/platform_external_skia,ominux/skia,spezi77/android_external_skia,AOSPB/external_skia,Igalia/skia,TeamTwisted/external_skia,qrealka/skia-hc,vanish87/skia,UBERMALLOW/external_skia,Igalia/skia,timduru/platform-external-skia,AOSPB/external_skia,OneRom/external_skia,Infinitive-OS/platform_external_skia,Infinitive-OS/platform_external_skia,invisiblek/android_external_skia,BrokenROM/external_skia,boulzordev/android_external_skia,TeamExodus/external_skia,Hikari-no-Tenshi/android_external_skia,aosp-mirror/platform_external_skia,geekboxzone/mmallow_external_skia,shahrzadmn/skia,invisiblek/android_external_skia,google/skia,rubenvb/skia,vanish87/skia,samuelig/skia,Jichao/skia,geekboxzone/mmallow_external_skia,nvoron23/skia,PAC-ROM/android_external_skia,YUPlayGodDev/platform_external_skia,w3nd1go/android_external_skia,Jichao/skia,HalCanary/skia-hc,MinimalOS-AOSP/platform_external_skia,MinimalOS-AOSP/platform_external_skia,UBERMALLOW/external_skia,nfxosp/platform_external_skia,todotodoo/skia,AOSP-YU/platform_external_skia,w3nd1go/android_external_skia,samuelig/skia,rubenvb/skia,noselhq/skia,qrealka/skia-hc,BrokenROM/external_skia,nvoron23/skia