diff options
author | Matt Sarett <msarett@google.com> | 2017-06-07 09:48:21 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-06-07 18:19:29 +0000 |
commit | 912e6b883782cd6a53348056012ff7ed38658c79 (patch) | |
tree | df81345058d7e3de7db1f65ec1fd920deaa61379 /src/gpu | |
parent | 65cfb5ecbc0343fa344e9e3bd99dab4042e0fc8d (diff) |
Reland "Handle different types of streams in different jpeg source managers"
For streams that are memory backed (stream->getMemoryBase() returns
a non-null ptr and hasLength() returns true), handle the stream
with skjpeg_mem_source_mgr, which directly assigns memory base to
the source manager. For other non memory backed streams, handle the
stream with skjpeg_buffered_source_mgr, which is renamed from
the old skjpeg_source_mgr with no implementation change.
Original Author: cjbao <cathy.bao@intel.com>
https://skia-review.googlesource.com/c/17296/
Bug: skia:
Change-Id: I0885c5114083f976a9c08afe5954434196762e39
Reviewed-on: https://skia-review.googlesource.com/18933
Reviewed-by: Mike Klein <mtklein@chromium.org>
Reviewed-by: Leon Scroggins <scroggo@google.com>
Commit-Queue: Matt Sarett <msarett@google.com>
Diffstat (limited to 'src/gpu')
0 files changed, 0 insertions, 0 deletions