-
Leon Scroggins III authored
Two Skia changes required for https://googleplex-android-review.git.corp.google.com/#/c/357301/: https://codereview.chromium.org/23464068/: Use the default resync_to_restart in jpeg. Our version requires rewinding the stream, which is not always supported. Instead, depend on jpeg's default version. This is required because the new framework code assumes that an image stream will never be rewound unless it's at the beginning. https://codereview.chromium.org/23717055/: Add a buffered SkStream class. This is used by Android to buffer an input stream which may not otherwise be able to rewind. Add a test for the new class. This change allows us to buffer natively, and to only buffer the beginning of the stream, which is all that is needed by the image decoders. BUG:8432093 BUG:6493544 BUG:10725383 Change-Id: I39fb1346866066693e14b6bcab1c398b9befa296
cc7508b2