[cairo-bugs] [Bug 4846] Performance problems for GTK+/Cairo on MacOS X

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Oct 25 05:37:23 PDT 2005


Please do not reply to this email: if you want to comment on the bug, go to    
       
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=4846          
     




------- Additional Comments From bogdanni at hotmail.com  2005-10-25 05:37 -------

The code of 'gdk_window_clear_backing_rect' (in GTK+ 2.8.6 lines 1768-1793, in gdk/gdkwindow.c) 
calls Cairo, e.g. cairo_clip, cairo_fill. It's task is simply to clear the area to the window background.

This function is called from gdk_window_begin_paint_region which in turn gets called before 
'expose_event' signals for double-buffered windows.

As you can see in the attached profile document, cairo_clip ultimately calls fbCombineInU if Render is 
disabled in Cairo or invokes the similar code on the X server through the Render extension.

The former implementation was different, it used gdk_gc_set_clip_region and gdk_draw_rectangle.
          
     
     
--           
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email         
     
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the cairo-bugs mailing list