sna: Apply drawable offset to glyph bbox prior to checking for clipping
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 12 Nov 2013 00:05:11 +0000 (00:05 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 12 Nov 2013 08:41:49 +0000 (08:41 +0000)
commit4493fb8d21fa013a074f7de66387e92ef23d191a
treeb98f5069e96c9eff6e63104ea1bd51cfcdbe32ae
parentc489934ed732ed3d5a906939381c62a6bc1c38d5
sna: Apply drawable offset to glyph bbox prior to checking for clipping

This is a correction to

commit ec0866e86d365ae3fd9790b1b263d49fc4981220
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Wed Oct 16 22:39:54 2013 +0100

    sna/glyphs: Fix computation of extents for long strings

in order for us to correctly detect when we need to clip.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=71191
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/sna/sna_glyphs.c