Go to file
commit-bot@chromium.org 1426c1e9b6 DM: fix -w/-r problems stemming from PM/UPM conversions.
DM will now read and write a custom image format, which begins first with a
normal PNG, but also includes the bitmap's raw pixels.  Most tools (file
browser, Preview, Chrome, Skia image decoder) will read the file as PNG.  DM
skips the encoded PNG and reads the raw pixels instead.

This scheme allows perfect pixel comparisons that never go through PM -> UPM or
UPM -> PM conversions, as long as you compare on a machine with the same native
pixel format as the machine which generated the images.  Since we've only ever
used this to do same-machine comparisons, that's more than good enough for now.
We could convert as needed to a standardized PM pixel format if we find we want
these files to be portable.

DM -w output now does increase to ~1.3G.  If that turns out to be annoyingly
big, I'm sure I can come up with a simple pixelwise RLE instead of writing
uncompressed pixels.

BUG=skia:
R=reed@google.com, bsalomon@google.com, mtklein@google.com

Author: mtklein@chromium.org

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

git-svn-id: http://skia.googlecode.com/svn/trunk@13638 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-03-03 15:43:56 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Add GrSet class built on top of RedBlackTree 2014-02-27 20:23:22 +00:00
debugger Culling API 2014-02-27 17:40:13 +00:00
dm DM: fix -w/-r problems stemming from PM/UPM conversions. 2014-03-03 15:43:56 +00:00
docs Add a sample doc in markdown format. 2014-01-24 19:25:39 +00:00
expectations Fix CTM scaling and clipping of SkRectShaderImageFilter. 2014-03-03 14:58:09 +00:00
experimental Sanitizing source files in Housekeeper-Nightly 2014-03-01 03:02:09 +00:00
forth Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
gm Fix CTM scaling and clipping of SkRectShaderImageFilter. 2014-03-03 14:58:09 +00:00
gyp DM: make GPU tasks multithreaded again. Big refactor. 2014-02-28 20:31:31 +00:00
include Adding code to calculate Underline Thickness from Font Metrics, this will be useful when Skia is used with Blink/Chrome. Blink changes are uploaded with code change in patch https://codereview.chromium.org/147703002/ 2014-03-01 20:12:26 +00:00
platform_tools Updates to the Android.mk writer. 2014-02-28 17:24:32 +00:00
resources Add a simple test ttc for FontHost test. 2014-01-10 20:56:21 +00:00
samplecode DM: also run benches once. 2014-02-26 23:01:57 +00:00
src Fix CTM scaling and clipping of SkRectShaderImageFilter. 2014-03-03 14:58:09 +00:00
tests Sanitizing source files in Housekeeper-Nightly 2014-03-01 03:02:09 +00:00
third_party Roll fontconfig to 2.11.0 and reenable poppler on mac 2014-01-15 17:24:22 +00:00
tools Adding flag to switch bench_record into tilegrid mode 2014-02-28 19:25:11 +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 Ignore out even if it's a symlink. 2014-01-15 16:55:04 +00:00
AUTHORS Adding code to calculate Underline Thickness from Font Metrics, this will be useful when Skia is used with Blink/Chrome. Blink changes are uploaded with code change in patch https://codereview.chromium.org/147703002/ 2014-03-01 20:12:26 +00:00
codereview.settings Add BUG_PREFIX to codereview.settings 2014-01-14 21:19:21 +00:00
CONTRIBUTING Add CONTRIBUTING file 2014-01-13 15:06:26 +00:00
CQ_COMMITTERS Adding list of Skia's CQ committers 2014-02-13 21:02:38 +00:00
DEPS Build Skia for a bare-bones embedded Linux system. 2014-02-24 20:22:34 +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 Fix ninja build on Android 2013-10-01 15:31:54 +00:00
gyp_skia.py Roll gyp deps from 1765 to 1796. 2013-11-21 18:11:14 +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 pathops work in progress 2013-11-01 17:36:03 +00:00
Makefile.old Replace GR_*_BUILD by their SK_BUILD_FOR_* equivalents. 2013-09-25 20:57:51 +00:00
OWNERS add root files from chrome 2013-08-13 19:11:15 +00:00
PRESUBMIT.py Check if the issue owner is in the AUTHORS file in PRESUBMIT.py 2014-02-03 14:18:32 +00:00
README whitespace commit to trigger buildbot 2011-07-15 14:11:58 +00:00
README.chromium add root files from chrome 2013-08-13 19:11:15 +00:00
skia.gyp Remove the comments settings for vim tab width and expansion variables. 2013-12-02 22:23:03 +00:00
whitespace.txt Whitespace change to verify build fix 2014-02-27 15:24:06 +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