• Richard Hult's avatar
    Update for the new quartz cairo surface API (#410442). Don't lock focus · d7a33ade
    Richard Hult authored
    2007-03-10  Richard Hult  <richard@imendio.com>
    
    	* gdk/quartz/gdkdrawable-quartz.c:
    	(gdk_quartz_drawable_get_context): Update for the new quartz cairo 
    	surface API (#410442). Don't lock focus unless called outside of an 
    	expose event.
    	(gdk_quartz_drawable_release_context): Only flush the CG context and 
    	unlock focus if called outside of expose.
    	(gdk_quartz_ref_cairo_surface): Reuse the surface during its lifetime.
    	(_gdk_quartz_drawable_finish): New function, used to free the cached
    	cairo surface.
    
    	* gdk/quartz/gdkwindow-quartz.c:
    	(gdk_window_impl_quartz_begin_paint_region): A few small style changes.
    	(gdk_window_quartz_process_all_updates): Move the autorelease pool
    	allocation and freeing outside the loop.
    	(_gdk_windowing_window_destroy): Finish the drawable.
    	(move_resize_window_internal): Small cleanup and remove comment.
    	(_gdk_window_impl_quartz_get_type): No need to make the type info
    	static.
    
    	* gdk/quartz/gdkpixmap-quartz.c: Finish the drawable.
    
    svn path=/trunk/; revision=17463
    d7a33ade
Name
Last commit
Last update
..
.cvsignore Loading commit data...
GdkQuartzView.c Loading commit data...
GdkQuartzView.h Loading commit data...
GdkQuartzWindow.c Loading commit data...
GdkQuartzWindow.h Loading commit data...
Makefile.am Loading commit data...
gdkcolor-quartz.c Loading commit data...
gdkcursor-quartz.c Loading commit data...
gdkdisplay-quartz.c Loading commit data...
gdkdnd-quartz.c Loading commit data...
gdkdrawable-quartz.c Loading commit data...
gdkdrawable-quartz.h Loading commit data...
gdkeventloop-quartz.c Loading commit data...
gdkevents-quartz.c Loading commit data...
gdkfont-quartz.c Loading commit data...
gdkgc-quartz.c Loading commit data...
gdkgeometry-quartz.c Loading commit data...
gdkglobals-quartz.c Loading commit data...
gdkim-quartz.c Loading commit data...
gdkimage-quartz.c Loading commit data...
gdkinput-old.c Loading commit data...
gdkinput.c Loading commit data...
gdkinputprivate.h Loading commit data...
gdkkeys-quartz.c Loading commit data...
gdkmain-quartz.c Loading commit data...
gdkpixmap-quartz.c Loading commit data...
gdkpixmap-quartz.h Loading commit data...
gdkprivate-quartz.h Loading commit data...
gdkproperty-quartz.c Loading commit data...
gdkquartz.h Loading commit data...
gdkscreen-quartz.c Loading commit data...
gdkselection-quartz.c Loading commit data...
gdkspawn-quartz.c Loading commit data...
gdkvisual-quartz.c Loading commit data...
gdkwindow-quartz.c Loading commit data...
gdkwindow-quartz.h Loading commit data...