Go to file
brianosman 2c4b64e92a New gamut GM, to test gamut conversion in various code-paths
After several different strategies, this one appears to work
well. The basic test:

1) For a variety of drawing techniques, we render fixed size
   rectangles. (Solid colors via paint color, bitmap, etc...)
2) For each method in #1, we render to both an sRGB and
   WideGamutRGB offscreen surface. (AdobeRGB isn't wide enough
   to clearly demonstrate if things are working or not).
3) Use readPixels to fetch the raw (still in wide gamut) pixel
   data, then draw that directly to the final canvas.

So, for each pair of squares, they should look clearly
different. Currently, with the GPU backend, only the bicubic
bitmap paths have that behavior. Adding more test cases (and
fixing the ones that are already incorrect) will be the long
tail of gamut transformation.

Current output (with my other patchset, which fixes all
bitmap draws): https://screenshot.googleplex.com/wsL3x7eCtWE.png

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2293173002

Review-Url: https://codereview.chromium.org/2293173002
2016-09-07 07:04:45 -07:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Add option to skip rects to drawImageLattice() 2016-09-02 11:24:30 -07:00
bin cleanup dead nanomsg and build_overrides 2016-08-27 06:50:11 -07:00
cmake CMake: require libjpeg-turbo, not libjpeg 2016-08-23 11:01:33 -07:00
debugger Remove some ancillary users of SkSurface::MakeRenderTargetDirect 2016-08-01 05:53:23 -07:00
dm Some tests around surface creation and snapshotting with color space 2016-08-30 07:07:59 -07:00
example Get Mac viewer working with SDL 2016-08-04 12:30:31 -07:00
experimental [SVGDom] Don't truncate opacity scalars 2016-08-29 05:54:42 -07:00
fuzz Create gradient fuzzers 2016-08-12 06:26:03 -07:00
gm New gamut GM, to test gamut conversion in various code-paths 2016-09-07 07:04:45 -07:00
gn Move uils and sksl to a common sources GYP file. 2016-09-06 12:43:55 -07:00
gyp Move uils and sksl to a common sources GYP file. 2016-09-06 12:43:55 -07:00
include Add Vulkan docs 2016-09-06 14:18:13 -07:00
infra New gamut GM, to test gamut conversion in various code-paths 2016-09-07 07:04:45 -07:00
platform_tools Cleanup use of legacy SkSurface creation methods a bit 2016-08-23 06:39:35 -07:00
resources BUG=skia:5602 2016-09-02 11:19:34 -07:00
samplecode Optimizations and more documentation of SkShadowShader 2016-08-31 11:15:21 -07:00
site docs: Add instructions on how to download isolated intermediaries. 2016-09-07 06:23:44 -07:00
src Make AALinearizingConvexPathRenderer able to handle stroke and fill 2016-09-07 06:03:48 -07:00
tests Revert of Restructure flushing relationship between GrContext, GrDrawingManager, and GrResourceCache. (patchset #4 id:60001 of https://codereview.chromium.org/2307053002/ ) 2016-09-06 13:49:32 -07:00
third_party BUG=skia:5602 2016-09-02 11:19:34 -07:00
tools interpolation of coincidence must be local to a single span 2016-09-06 05:59:47 -07:00
.gitignore Move Skia recipes from build repo 2016-07-26 11:52:17 -07:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Add contributor to Skia AUTHORS file 2016-09-01 07:55:43 -07:00
BUILD.gn Move Skia GN sources to a separate .gni file. 2016-09-01 14:24:39 -07:00
codereview.settings Automatically add a docs preview link and NOTRY=true when there are only docs changes. 2015-02-26 10:16:13 -08:00
CONTRIBUTING Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
CQ_COMMITTERS Moved committer list to chrome-infra-auth and deleted it from the repo 2015-09-02 13:37:54 -07:00
DEPS Update FreeType dependency from 2.6.1 to 2.6.5. 2016-08-31 12:48:18 -07:00
Doxyfile Documentation: SkCanvas API 2015-05-19 10:21:29 -07:00
gyp_skia Make Win runtime DLLs writeable before overwriting 2016-03-18 08:33:38 -07:00
gyp_skia.py Roll gyp deps from 1765 to 1796. 2013-11-21 18:11:14 +00:00
LICENSE BUG=skia:5602 2016-09-02 11:19:34 -07:00
make.bat Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
make.py GYP: remove stale skia_scalar gyp variable 2015-11-10 13:25:12 -05:00
Makefile Add visualbench as valid target to Makefile 2015-12-18 08:05:06 -08:00
OWNERS add root files from chrome 2013-08-13 19:11:15 +00:00
PRESUBMIT.py Fix PostUploadHook for Gerrit issues 2016-09-01 13:36:31 -07:00
public.bzl Remove SkBitmap::getTexture() 2016-08-30 12:52:49 -07:00
README Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
README.chromium Update README.chromium. 2015-06-11 13:19:24 -07:00
skia.gyp Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
whitespace.txt Blame this for GTX960 diffs. 2016-09-01 05:38:54 -07:00

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

See full details, and build instructions, at https://skia.org.