libgnomecanvas r1263 - in trunk: . libgnomecanvas
- From: federico svn gnome org
- To: svn-commits-list gnome org
- Subject: libgnomecanvas r1263 - in trunk: . libgnomecanvas
- Date: Thu, 23 Aug 2007 17:45:41 +0100 (BST)
Author: federico
Date: 2007-08-23 17:45:40 +0100 (Thu, 23 Aug 2007)
New Revision: 1263
ViewCVS link: http://svn.gnome.org/viewcvs/libgnomecanvas?rev=1263&view=rev
Modified:
trunk/ChangeLog
trunk/libgnomecanvas/gnome-canvas.c
Log:
2007-08-22 Federico Mena Quintero <federico novell com>
Avoid tearing while repainting.
* libgnomecanvas/gnome-canvas.c (REDRAW_QUANTUM_SIZE): Renamed
from IMAGE_{WIDTH, HEIGHT}; use a single value.
(IMAGE_WIDTH_AA, IMAGE_HEIGHT_AA): Removed.
(paint): Don't use different redraw quantum sizes for the
antialiased and non-antialiased case. Extract big rectangles from
the microtile array, turn them into a GdkRegion, and *then* expose
with that region, so that we can repaint without tearing.
(gnome_canvas_paint_rect): Don't use different redraw quantum
sizes for the antialiased and non-antialiased case.
(gnome_canvas_paint_rect): Don't tile the area to paint; instead, draw
the complete rectangle in one pass. The callers already took care of
generating appropriate rectangles for us.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]