Simplify clipping rule
authorSøren Sandmann Pedersen <sandmann@redhat.com>
Wed, 3 Jun 2009 03:17:34 +0000 (23:17 -0400)
committerSøren Sandmann Pedersen <sandmann@redhat.com>
Sat, 13 Jun 2009 14:20:19 +0000 (10:20 -0400)
commit78ca4eea6467dbb6b9da1198b9526750a0a8dca3
treec74f173b498539894ab8ee88f6d72023c5c72f74
parentb9683cb2ae519707e06a0b9302f8a373d336da12
Simplify clipping rule

The new rule is:

- Output is clipped to the destination clip region.

- If a source image has the clip_sources property set, then there
  is an additional step, after repeating and transforming, but before
  compositing, where pixels that are not in the source clip are
  rejected. Rejected means no compositing takes place (not that the
  pixel is treated as 0). By default source clipping is turned off;
  when they are turned on, only client-set clips are honored.

The old rules were unclear and inconsistently implemented.
pixman/pixman-bits-image.c
pixman/pixman-compute-region.c
pixman/pixman-fast-path.c
pixman/pixman-general.c
pixman/pixman-image.c
pixman/pixman-private.h
pixman/pixman-utils.c