aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/TraceMemoryDumpTest.cpp
diff options
context:
space:
mode:
authorGravatar Matt Sarett <msarett@google.com>2017-06-07 09:48:21 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-06-07 18:19:29 +0000
commit912e6b883782cd6a53348056012ff7ed38658c79 (patch)
treedf81345058d7e3de7db1f65ec1fd920deaa61379 /tests/TraceMemoryDumpTest.cpp
parent65cfb5ecbc0343fa344e9e3bd99dab4042e0fc8d (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 'tests/TraceMemoryDumpTest.cpp')
0 files changed, 0 insertions, 0 deletions