skia2/src
Nigel Tao 977715763d Have SkWuffsCodec use one Wuffs decoder
This mostly undoes commit 2777cd37 "Have SkWuffsCodec use two Wuffs
decoders", also known as
https://skia-review.googlesource.com/c/skia/+/250937

Using two Wuffs decoders is more complicated, but was necessary to allow
getFrameCount() to update when part-way through an incremental decode
while more data comes in. Updating that count matches an existing
Chromium test (TestResumePartialDecodeAfterClearFrameBufferCache).

On further discussion (crbug.com/1132828), that behavior is unnecessary
(and that Chromium test will be removed), so having Skia use two Wuffs
decoders is unnecessary complexity.

Removing the now-redundant WhichDecoder enum (an enum with only one
possible value), a mechanical change, will be a follow-up commit.

Bug: chromium:1132828
Bug: skia:8235
Change-Id: I892e4790c7265597be1eee10e6364e76b6402cb5
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/342836
Commit-Queue: Leon Scroggins <scroggo@google.com>
Reviewed-by: Chris Blume <cblume@chromium.org>
Reviewed-by: Leon Scroggins <scroggo@google.com>
2020-12-15 17:42:32 +00:00
..
android Reland "SkAnimatedImage: Use fSampleSize" 2020-11-17 14:07:03 +00:00
c fix typo 2020-10-29 16:19:43 +00:00
codec Have SkWuffsCodec use one Wuffs decoder 2020-12-15 17:42:32 +00:00
core more paint cleaning helpers 2020-12-15 16:15:42 +00:00
effects Simplify Displacement fragment processor. 2020-12-15 15:20:44 +00:00
fonts Make SkFontMgr::onMakeFromStreamArgs pure virtual. 2020-06-28 01:16:34 +00:00
gpu Remove EmitArgs::fOutputColor. 2020-12-15 17:23:22 +00:00
image whole-word replace renderTargetContext with surfaceDrawContext 2020-12-11 23:24:40 +00:00
images Add platform image encoder for using NDK APIs 2020-08-13 15:21:41 +00:00
lazy Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
opts Revert "restore murmur3 for older iOS devices" 2020-12-02 22:39:01 +00:00
pathops move SkTPin to include/private 2020-10-16 19:45:11 +00:00
pdf Add flag to hide non-sampling imageshader factories 2020-12-08 20:33:23 +00:00
ports Improve CanvasState cross-library tests 2020-12-04 22:03:25 +00:00
sfnt Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
shaders Replace more instances of sk_OutColor with explicit returns. 2020-12-15 15:14:09 +00:00
sksl Remove sk_OutColor built-in variable. 2020-12-15 17:03:12 +00:00
svg move SkTPin to include/private 2020-10-16 19:45:11 +00:00
utils Remove dead code (from old flags) 2020-12-11 02:35:49 +00:00
xml Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
xps Reland "SkDevice::drawSpecial accepts arbitrary matrix v2" 2020-10-13 17:56:10 +00:00