skia2/gyp
scroggo@google.com d4c3565aac Fixes for JPEG subset decoding.
Ensure that the stream passed to JPEG for subset decoding is
neither deleted before it is no longer needed nor deleted an
extra time.

src/images/SkJpegUtility.h:
src/images/SkJpegUtility.cpp:
Always ref and unref the stream provided to skjpeg_source_mgr.
Add some comments explaining how skjpeg_source_mgr's members
handle ownership.
Fix a warning comparing signed and unsigned numbers, converting
to size_t which is more appropriate for measuring bytes.
Remove dead code referring to fMemoryBase and fMemoryBaseSize,
which are never used.

src/images/SkImageDecoder_libjpeg.cpp:
Call the new constructor for skjpeg_source_mgr, which no longer
takes a boolean to determine ownership.

include/images/SkBitmapRegionDecoder.h
src/images/SkBitmapRegionDecoder.cpp:
This small shim has been removed, since it is not needed to use
Skia's image decoders. Its functionality will be folded into
Android.

Required for the merge to Android.

R=djsollen@google.com

Review URL: https://codereview.chromium.org/21561002

git-svn-id: http://skia.googlecode.com/svn/trunk@10483 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-01 15:03:42 +00:00
..
android_deps.gyp Update DEPS and GYP to use the copy of Android in platform_tools. 2013-05-02 12:27:21 +00:00
android_system.gyp Update DEPS and GYP to use the copy of Android in platform_tools. 2013-05-02 12:27:21 +00:00
angle.gyp Refactor skia_warnings_as_errors 2013-03-22 13:16:06 +00:00
animator.gyp Update obvious deps. 2013-07-22 14:39:45 +00:00
apptype_console.gypi Improve NaCl support 2012-11-01 17:43:44 +00:00
bench.gyp refactor duplication (shouldSkip and skip_name) into a utility function 2013-07-24 17:24:23 +00:00
bench.gypi Remove SkBlendImageFilter, and all tests. Its functionality has been subsumed by SkXfermodeImageFilter. 2013-08-01 14:59:05 +00:00
chromeos_deps.gyp GYP Changes and Scripts for Compiling Skia for ChromeOS 2013-06-11 15:52:19 +00:00
cityhash.gyp Re-land r9059 with empty cityhash.gyp, instead of deleted cityhash.gyp 2013-05-08 16:04:02 +00:00
common_conditions.gypi update gyp for ARM builds to be more well defined. 2013-07-31 12:57:27 +00:00
common_variables.gypi update gyp for ARM builds to be more well defined. 2013-07-31 12:57:27 +00:00
common.gypi Use a single cros_toolchain tarball for ChromeOS build 2013-06-24 19:31:58 +00:00
core.gyp update gyp for ARM builds to be more well defined. 2013-07-31 12:57:27 +00:00
core.gypi add scaledimagecache 2013-07-23 19:13:54 +00:00
debugger.gyp Build fix after r9598. 2013-06-13 21:25:45 +00:00
effects.gyp Update obvious deps. 2013-07-22 14:39:45 +00:00
effects.gypi Remove SkBlendImageFilter, and all tests. Its functionality has been subsumed by SkXfermodeImageFilter. 2013-08-01 14:59:05 +00:00
everything.gyp Gyp changes for NaCl debugger 2013-03-07 15:33:28 +00:00
experimental.gyp SkiaExamples improvements. 2013-07-24 17:48:03 +00:00
FileReaderApp.gyp Prepare skia for shared library build on android 2013-06-03 12:10:19 +00:00
flags.gyp Prepare skia for shared library build on android 2013-06-03 12:10:19 +00:00
freetype.gyp Update freetype to version 2.5.0.1 when building it from source. 2013-07-23 15:51:12 +00:00
gm.gyp Update obvious deps. 2013-07-22 14:39:45 +00:00
gmslides.gypi Remove SkBlendImageFilter, and all tests. Its functionality has been subsumed by SkXfermodeImageFilter. 2013-08-01 14:59:05 +00:00
gpu.gyp Update obvious deps. 2013-07-22 14:39:45 +00:00
gpu.gypi Make GrPaint have a variable sized array of color and coverage stages rather than a fixed size. 2013-07-13 17:24:24 +00:00
images.gyp Fixes for JPEG subset decoding. 2013-08-01 15:03:42 +00:00
jsoncpp.gyp Refactor skia_warnings_as_errors 2013-03-22 13:16:06 +00:00
libjpeg.gyp Sanitizing source files in Housekeeper-Nightly 2013-06-11 07:01:17 +00:00
libwebp.gyp update gyp for ARM builds to be more well defined. 2013-07-31 12:57:27 +00:00
lua.gyp use define to work-around localeconf() missingness in android 2013-05-15 20:55:49 +00:00
most.gyp Compile pdf viewer manaully only, disable on build bots. 2013-06-10 21:10:50 +00:00
nacl.gyp Prepare skia for shared library build on android 2013-06-03 12:10:19 +00:00
opts.gyp Enable runtime checks for SSSE3 on x86 on Android. 2013-07-31 20:09:25 +00:00
pathops_unittest.gyp Prepare skia for shared library build on android 2013-06-03 12:10:19 +00:00
pathops_unittest.gypi path ops -- fix skp bugs 2013-05-07 18:51:31 +00:00
pathops.gypi remove deleted file from gyp 2013-04-22 20:09:23 +00:00
pdf.gyp Fix Clang build on SkPDFResourceDict (CL 18977002) 2013-07-23 21:49:29 +00:00
pdfviewer.gyp pdfviewer: more plumming for soft masks, blend modes and transparency groups 2013-07-29 19:10:58 +00:00
pixman_test.gyp GYP Changes and Scripts for Compiling Skia for ChromeOS 2013-06-11 15:52:19 +00:00
ports.gyp adapt FontConfig to use SK_FONTHOST_USES_FONTMGR 2013-07-31 17:37:31 +00:00
SampleApp.gyp remove dead SampleDecode.cpp 2013-07-23 16:20:28 +00:00
sfnt.gyp Update obvious deps. 2013-07-22 14:39:45 +00:00
shapeops_demo.gyp GYP Changes and Scripts for Compiling Skia for ChromeOS 2013-06-11 15:52:19 +00:00
shapeops_edge.gyp Prepare skia for shared library build on android 2013-06-03 12:10:19 +00:00
shapeops_tool.gyp Prepare skia for shared library build on android 2013-06-03 12:10:19 +00:00
SimpleCocoaApp.gyp Prepare skia for shared library build on android 2013-06-03 12:10:19 +00:00
SimpleiOSApp.gyp Prepare skia for shared library build on android 2013-06-03 12:10:19 +00:00
skia_lib.gyp refactor gyp to isolate freetype usage 2013-07-22 14:12:56 +00:00
svg.gyp Update obvious deps. 2013-07-22 14:39:45 +00:00
tests.gyp This patch implements a crop rect for SkImageFilter. It has been implemented for SkColorFilterImageFilter and SkBlurImageFilter as examples. 2013-07-24 22:19:24 +00:00
tools.gyp Add lua_pictures target to tools.gyp 2013-07-25 14:55:18 +00:00
utils.gyp Update obvious deps. 2013-07-22 14:39:45 +00:00
views_animated.gyp Update obvious deps. 2013-07-22 14:39:45 +00:00
views.gyp Update obvious deps. 2013-07-22 14:39:45 +00:00
xml.gyp Update obvious deps. 2013-07-22 14:39:45 +00:00
xps.gyp Prepare skia for shared library build on android 2013-06-03 12:10:19 +00:00
zlib.gyp Update obvious deps. 2013-07-22 14:39:45 +00:00