Go to file
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
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Remove SkBlendImageFilter, and all tests. Its functionality has been subsumed by SkXfermodeImageFilter. 2013-08-01 14:59:05 +00:00
debugger fix swapped bitmap channels on Mac for debugger 2013-07-10 15:53:36 +00:00
expectations New baselines for imagefilterscropped. 2013-07-31 20:21:50 +00:00
experimental pdfviewer: remove simple implementation for non-isolated groups. will be implemented in skia most probably. also it is not generated by SkPDFDevice 2013-08-01 13:24:00 +00:00
forth Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
gm Remove SkBlendImageFilter, and all tests. Its functionality has been subsumed by SkXfermodeImageFilter. 2013-08-01 14:59:05 +00:00
gyp Fixes for JPEG subset decoding. 2013-08-01 15:03:42 +00:00
include Fixes for JPEG subset decoding. 2013-08-01 15:03:42 +00:00
platform_tools update gyp for ARM builds to be more well defined. 2013-07-31 12:57:27 +00:00
resources More general GM for testing bitmap filtering, including checkerboards, images, and text. 2013-05-31 12:50:39 +00:00
samplecode Sanitizing source files in Housekeeper-Nightly 2013-07-25 07:01:00 +00:00
src Fixes for JPEG subset decoding. 2013-08-01 15:03:42 +00:00
tests Make SkImage_Gpu share it's pixelref with the surface to prevent premature return to scratch pool. 2013-07-25 23:29:40 +00:00
third_party Update freetype to version 2.5.0.1 when building it from source. 2013-07-23 15:51:12 +00:00
tools Committed: http://code.google.com/p/skia/source/detail?r=10372 2013-07-31 20:00:56 +00:00
trybots_to_run/chrome Deleting the hardcoded list of compile bots in trybots_to_run. 2013-04-09 11:59:42 +00:00
.gitignore leading slash confuses non-git tools that read .gitignore, like ag 2013-07-30 17:23:01 +00:00
codereview.settings Removing blank lines from codereview.settings. 2013-02-26 16:01:21 +00:00
DEPS Update freetype to version 2.5.0.1 when building it from source. 2013-07-23 15:51:12 +00:00
Doxyfile Pointing to http://skia-autogen.googlecode.com/svn/docs/html/index.html in Doxyfile 2012-07-03 11:35:07 +00:00
gyp_skia Allow use of SKIA_OUT on Windows 2013-07-10 19:07:56 +00:00
LICENSE Manually update copyright notices in files that defied the automated process 2011-07-28 14:24:55 +00:00
make.bat Make make.bat and gyp_skia work with VS 2012. 2013-05-07 19:31:20 +00:00
make.py Use SKIA_OUT variable in make.py 2013-07-23 15:45:50 +00:00
Makefile SkHello for NaCl 2013-06-17 15:39:43 +00:00
Makefile.old Higher resolution timers for bench. 2011-06-07 19:16:02 +00:00
PRESUBMIT.py If the tree is closed then print information about contacting the sheriff. 2013-04-12 19:45:46 +00:00
README whitespace commit to trigger buildbot 2011-07-15 14:11:58 +00:00
skia.gyp gyp: generate "everything" and "most" targets instead of "all" 2012-10-25 16:32:07 +00:00
whitespace.txt Accidentally skipped buildbot runs on r10257 2013-07-23 12:20:28 +00:00

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at http://code.google.com/p/skia/wiki/DocRoot