diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2008-10-13 23:26:04 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2008-10-13 23:34:51 +0100 |
commit | 3eb4bc37577e905d93a1935e7a9cd33ae8dbda15 (patch) | |
tree | 0deeff69a8392e6ea87f0b43ab19493a06ceb356 /test/.gitignore | |
parent | ceab32e2c3d51c0dd29b105a5a390cdd8aa58f8f (diff) | |
download | cairo-3eb4bc37577e905d93a1935e7a9cd33ae8dbda15.tar.gz |
[pattern] Optimize away fractional translation for NEAREST patterns.
As identified in bug 15479,
Unpredictable performance of cairo-xlib with non-integer translations of a
source surface pattern
(https://bugs.freedesktop.org/show_bug.cgi?id=15479),
source surfaces with a fractional translation hit slow paths for some
drivers, causing seemingly random performance variations. As a work-around
Owen Taylor proposed that cairo could convert non-integer translations on
NEAREST sources patterns to their integer equivalents.
The messy detail involved here is replicating the rounding mode used by
pixman for the sample offset, but otherwise the conversion is fairly
trivial.
Diffstat (limited to 'test/.gitignore')
-rw-r--r-- | test/.gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/.gitignore b/test/.gitignore index edcf41af7..e7ec82b2f 100644 --- a/test/.gitignore +++ b/test/.gitignore @@ -79,6 +79,7 @@ fill-missed-stop fill-rule filter-bilinear-extents filter-nearest-offset +filter-nearest-transformed finer-grained-fallbacks ft-text-antialias-none ft-font-create-for-ft-face |