commit | a1cc9f6b84e7597d233ca9e107a7cc25b097cdbe | [log] [tgz] |
---|---|---|
author | Nigel Tao <nigeltao@google.com> | Thu Oct 24 15:02:05 2019 +1100 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Tue Oct 29 20:15:36 2019 +0000 |
tree | 3e5c05195905e6a3994d30d7f2356bfca42c8ece | |
parent | 352f4f7800a53cc0e88dc3be90708b6cdcf3a793 [diff] |
Test Codec::getFrameCount updates with more data This mimics Chromium's TestResumePartialDecodeAfterClearFrameBufferCache, which expects the frame count to increase as more data comes in, even if the decoder is in the middle of an incremental decode: https://cs.chromium.org/chromium/src/third_party/blink/renderer/platform/image-decoders/image_decoder_test_helpers.cc?l=365&rcl=23787ba147959ebf4ad168c595d5ec87919fdbd2 Bug: skia:8235 Change-Id: Icc19ebea6d77f6b6fb62e3b2ff0c2ffb1ef0950d Reviewed-on: https://skia-review.googlesource.com/c/skia/+/250476 Reviewed-by: Leon Scroggins <scroggo@google.com> Commit-Queue: Leon Scroggins <scroggo@google.com>