Go to file
fmalita a2bd24fd15 Tweak SkPictureShader's tile semantics.
Currently, the tile offset is added when drawing the picture. This might
have made a tiny bit of sense when the picture was always positioned at
origin, but with a picture cull rect offset things looks really strange.

For example, to specify a tile == the picture cull rect we have to pass
in [-cullrect.x, -cullrect.y, cullrect.width, cullrect.height]. Yikes.

(there's also a bug when not passing a tile, as we use a default tile
== cullrect but don't compensate for the above oddity)

This changes the semantics of the tile offset: it is now subtracted when
drawing the picture tile. As a consequence, one can pass in a tile equal
to the cull rect and get the expected behavior (same when not passing
a tile).

This will require a minor Blink change with the roll, as one client
works around the current behavior:
https://codereview.chromium.org/789503003

R=reed@google.com,robertphillips@google.com
BUG=440046

Review URL: https://codereview.chromium.org/733203005
2014-12-08 11:13:27 -08:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Don't upload metrics we don't want to track. 2014-12-05 07:25:16 -08:00
bin Don't count a leading 1 as a signficant digit in the ratio. 2014-11-24 17:44:23 -05:00
debugger More SkPicture cleanup 2014-11-17 06:45:18 -08:00
dm Store DM failures in an array, not a single string. 2014-11-19 13:36:19 -08:00
docs Remove references to out/Debug/tests executable. 2014-10-09 08:56:55 -07:00
expectations Massive N10 Rebaseline Part 2 2014-12-08 13:57:30 -05:00
experimental quick fix to land clear() change 2014-12-04 08:39:09 -08:00
forth Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
gm Tweak SkPictureShader's tile semantics. 2014-12-08 11:13:27 -08:00
gyp Add new GM (filterfastbounds) 2014-12-08 09:18:58 -08:00
include Constify CreatePictureShader's picture arg. 2014-12-08 09:04:05 -08:00
platform_tools Simplfy DEPS: always pull all deps, remove unused barelinux platform. 2014-11-21 11:41:35 -08:00
resources Remove PDF JPEG shortcut, since it fails on grayscale JPEGs. 2014-12-02 06:37:21 -08:00
samplecode Remove SK_SUPPORT_LEGACY_DEEPFLATTENING. 2014-12-01 11:47:08 -08:00
src Tweak SkPictureShader's tile semantics. 2014-12-08 11:13:27 -08:00
tests add convexity logic and tests for scalar max, Inf, and NaN 2014-12-08 04:57:38 -08:00
third_party "NULL !=" = NULL 2014-09-05 13:34:00 -07:00
tools Make debugger not fail with webpages_playback script and multiple skp files 2014-12-03 06:18:12 -08: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 Cleanup: Remove bug_chomper entry from .gitignore. 2014-11-24 17:53:55 -08:00
AUTHORS Revert of Revert of Add gpu support for Apple specific 'Vertex Arrays' functions (patchset #1 id:1 of https://codereview.chromium.org/750973003/) 2014-11-24 11:22:37 -08:00
codereview.settings Add Project to skia 2014-06-20 09:39:15 -07:00
CONTRIBUTING Add CONTRIBUTING file 2014-01-13 15:06:26 +00:00
CQ_COMMITTERS Adding myself to comitters 2014-09-16 11:03:39 -07:00
DEPS Simplfy DEPS: always pull all deps, remove unused barelinux platform. 2014-11-21 11:41:35 -08:00
Doxyfile Fix links to skia-buildbot code in preparation for deletion 2014-10-14 04:44:44 -07:00
gyp_skia allow caller to override the default output directory for gyp 2014-09-29 11:42:25 -07: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 Link to skiadocs site, since that is the canonical location for documentation. 2014-10-13 17:56:30 -03:00
make.py Fix reference to non-existant 'tests' target. 2014-10-13 17:51:57 -03:00
Makefile Update LSAN suppressions. 2014-08-29 07:55:35 -07:00
OWNERS add root files from chrome 2013-08-13 19:11:15 +00:00
PRESUBMIT.py PRESUBMIT should only check owners for the top level include directory 2014-08-26 14:00:55 -07:00
README Point to skiadocs in our README. 2014-05-09 04:30:09 +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
SKP_VERSION Update SKP version 2014-12-04 23:03:33 -08:00
whitespace.txt Whitespace change to see how the Android bots behave 2014-10-30 05:52:17 -07:00

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

See full details, and build instructions, at https://sites.google.com/site/skiadocs/home