Go to file
senorblanco 06d54ad09a Fix SkXfermodeImageFilter GPU fast path for differing sizes.
The GPU fast path was not doing the correct thing for input bitmaps of
differing sizes. This change brings the fast path in line with the
slow path: use the union of foreground and background bounds as bounds,
offset the draw context by the bounds translation, and translate the
foreground and background independently by their respective offsets.

Finally, we add a texture domain for the background fragment
processor, since we may access texels outside its domain.

Note: this adds two new test cases to the xfermodeimagefilter GM, so
those will need to be rebaselined.

BUG=568196
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1588633002

Review URL: https://codereview.chromium.org/1588633002
2016-01-13 13:48:54 -08:00
animations
bench Have nanobench report bench median sample time too. 2016-01-11 11:28:26 -08:00
bin bin/sync-and-gyp: sh->py (make more cross-platform) 2015-11-09 08:28:13 -08:00
cmake cmake: set SK_RELEASE to 0 if not a Release build 2016-01-07 06:56:12 -08:00
debugger default SkPixelSerializer 2015-12-10 12:40:23 -08:00
dm Add CodecZeroInit test to DMSrcSink 2016-01-13 09:31:39 -08:00
example Create a standalone example for using Skia with SDL 2015-11-13 11:22:19 -08:00
experimental SampleApp: remove Picture_DeviceType 2016-01-05 00:04:33 -08:00
fuzz Add new fuzz binary. 2016-01-13 12:57:58 -08:00
gm Fix SkXfermodeImageFilter GPU fast path for differing sizes. 2016-01-13 13:48:54 -08:00
gyp Add new fuzz binary. 2016-01-13 12:57:58 -08:00
include Move some program building utils from GL to GLSL 2016-01-13 12:19:30 -08:00
infra Add Test-Ubuntu-GCC-ShuttleA-GPU-GTX660-x86_64-Release to the CQ 2016-01-06 10:54:50 -08:00
platform_tools Android bots: set battery threshold to 80% 2016-01-04 12:33:26 -08:00
resources demo tweaks, scale up perlin, add call to flush for fps 2015-11-09 13:10:30 -08:00
samplecode SkTCopyOnFirstWrite-based SkPaintFilterCanvas API 2016-01-12 07:21:11 -08:00
site docs: Fix link to 'How to submit a patch'. 2016-01-11 07:42:33 -08:00
src Fix SkXfermodeImageFilter GPU fast path for differing sizes. 2016-01-13 13:48:54 -08:00
tests Make A8 readback work in more cases and improve testing. 2016-01-13 12:19:15 -08:00
third_party Disable ES2 on Linux SDL 2015-12-28 08:44:27 -08:00
tools Remove size check from SkCodec 2016-01-13 10:54:20 -08:00
.gitignore android/apps: Add CanvasProof App; 2015-09-23 12:40:34 -07:00
AUTHORS use malloc/calloc/free instead of moz_malloc/moz_calloc/moz_free in ports/SkMemory_mozalloc.cpp 2015-11-23 10:30:14 -08: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 our version of jsoncpp to fix a memory alignment bug in the library. 2016-01-11 11:36:33 -08:00
Doxyfile Documentation: SkCanvas API 2015-05-19 10:21:29 -07:00
gyp_skia Support SKIA_OUT on Mac and ChromeOS 2015-05-04 08:04:28 -07:00
gyp_skia.py
LICENSE Include resources directory in google3 sync. 2015-10-20 13:00:48 -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
PRESUBMIT.py Add link to Gold trybot runs in every uploaded Skia CL 2015-12-15 06:23:33 -08:00
public.bzl Reland of Move BUILD.public to public.bzl. (patchset #1 id:1 of https://codereview.chromium.org/1580923002/ ) 2016-01-13 10:45:19 -08: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
SKP_VERSION Update SKP version 2016-01-10 00:35:26 -08:00
whitespace.txt Whitespace change to trigger bots after gsutil change 2015-11-24 11:36:09 -08:00

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

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