mirror of
https://github.com/brl/mutter.git
synced 2024-11-30 03:50:47 -05:00
* clutter/pango/pangoclutter-render.c: (tc_get): Provide for blank
rows/columns of pixels between adjecant glyphs in the texture cache to avoid bilinear interpolation spillage at edges of glyphs.
This commit is contained in:
parent
a7fb3a78d2
commit
1a80c688fe
10
ChangeLog
10
ChangeLog
@ -1,7 +1,13 @@
|
||||
2007-10-15 Øyvind Kolås <pippin@o-hand.com>
|
||||
2007-10-16 Øyvind Kolås <pippin@o-hand.com>
|
||||
|
||||
* clutter/pango/pangoclutter-render.c: (tc_get): Provide for blank
|
||||
rows/columns of pixels between adjecant glyphs in the texture cache to
|
||||
avoid bilinear interpolation spillage at edges of glyphs.
|
||||
|
||||
2007-10-16 Øyvind Kolås <pippin@o-hand.com>
|
||||
|
||||
* clutter/clutter-main.c: (clutter_do_event): allow motion events
|
||||
only delivered to stage to be chaugt in the capture phase as well
|
||||
only delivered to stage to be caught in the capture phase as well
|
||||
as the bubbling phase.
|
||||
|
||||
2007-10-16 Emmanuele Bassi <ebassi@openedhand.com>
|
||||
|
@ -86,12 +86,21 @@ tc_clear ()
|
||||
static void
|
||||
tc_get (tc_area *area, int width, int height)
|
||||
{
|
||||
int slice_height = MIN (height + TC_ROUND - 1, TC_HEIGHT) & ~(TC_ROUND - 1);
|
||||
tc_slice *slice = slices + slice_height / TC_ROUND;
|
||||
int slice_height;
|
||||
tc_slice *slice;
|
||||
|
||||
area->w = width;
|
||||
area->h = height;
|
||||
|
||||
/* Provide for blank rows/columns of pixels between adjecant glyphs in the
|
||||
* texture cache to avoid bilinear interpolation spillage at edges of glyphs.
|
||||
*/
|
||||
width += 1;
|
||||
height += 1;
|
||||
|
||||
slice_height = MIN (height + TC_ROUND - 1, TC_HEIGHT) & ~(TC_ROUND - 1);
|
||||
slice = slices + slice_height / TC_ROUND;
|
||||
|
||||
width = MIN (width, TC_WIDTH);
|
||||
|
||||
if (!slice->name || slice->avail < width)
|
||||
|
Loading…
Reference in New Issue
Block a user