sna: Only use the simple stipple upload path if wholly contained
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 4 Nov 2013 11:48:04 +0000 (11:48 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 4 Nov 2013 11:48:04 +0000 (11:48 +0000)
commit82b646a42f5a6271c8518ad454f1603714276caf
treef91586ebcdc960b0718965c8f5ddfae4b5b1cc07
parente678cead11b53699694f5b5cf52ff3ea0e08f637
sna: Only use the simple stipple upload path if wholly contained

If the stipple box is outside of the stipple pixmap, we need to
carefully upload the stipple using the modulus operation.

Buzilla: https://bugs.launchpad.net/bugs/1247785
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/sna/sna_accel.c