gtk2/gdk/quartz
Richard Hult d7a33adeda Update for the new quartz cairo surface API (#410442). Don't lock focus
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
2007-03-10 21:58:49 +00:00
..
.cvsignore Shutup CVS 2006-08-08 22:47:57 +00:00
gdkcolor-quartz.c Implement lots of value setters for GdkGC, based on a heavily modified 2006-09-21 17:05:33 +00:00
gdkcursor-quartz.c Splitted out the GdkPixbuf to NSImage routine so that it can be used from 2006-12-19 15:53:44 +00:00
gdkdisplay-quartz.c Plug a leak. 2007-03-10 21:04:05 +00:00
gdkdnd-quartz.c Add more stubs. 2006-03-27 10:47:29 +00:00
gdkdrawable-quartz.c Update for the new quartz cairo surface API (#410442). Don't lock focus 2007-03-10 21:58:49 +00:00
gdkdrawable-quartz.h Update for the new quartz cairo surface API (#410442). Don't lock focus 2007-03-10 21:58:49 +00:00
gdkeventloop-quartz.c Import AppKit.h instead of Quartz.h. Don't use userSpaceScaleFactor for 2007-02-18 10:26:49 +00:00
gdkevents-quartz.c Don't set the font name here, leave that to themes, fixes #387508. 2007-03-10 20:50:58 +00:00
gdkfont-quartz.c Add more stubs. 2006-03-27 10:47:29 +00:00
gdkgc-quartz.c Remove unnecessary NULL checks before g_free(). (#369666, Morten Welinder, 2007-03-09 21:57:37 +00:00
gdkgeometry-quartz.c Implement some more stubs for pygtk, bug #346713. 2006-07-09 18:09:09 +00:00
gdkglobals-quartz.c Add quartz backend. 2005-11-22 10:03:32 +00:00
gdkim-quartz.c Add quartz backend. 2005-11-22 10:03:32 +00:00
gdkimage-quartz.c Add quartz backend. 2005-11-22 10:03:32 +00:00
gdkinput-old.c Add quartz backend. 2005-11-22 10:03:32 +00:00
gdkinput.c Add quartz backend. 2005-11-22 10:03:32 +00:00
gdkinputprivate.h Add quartz backend. 2005-11-22 10:03:32 +00:00
gdkkeys-quartz.c Special-case shift-tab and map it to GDK_ISO_Left_Tab, fixes bug #350806. 2006-09-06 17:29:28 +00:00
gdkmain-quartz.c Always set success to TRUE. (gdk_color_change): Implement. 2006-07-29 11:05:15 +00:00
gdkpixmap-quartz.c Update for the new quartz cairo surface API (#410442). Don't lock focus 2007-03-10 21:58:49 +00:00
gdkpixmap-quartz.h Add quartz backend. 2005-11-22 10:03:32 +00:00
gdkprivate-quartz.h Update for the new quartz cairo surface API (#410442). Don't lock focus 2007-03-10 21:58:49 +00:00
gdkproperty-quartz.c Add missing CLIPBOARD atom. 2006-03-29 20:34:33 +00:00
gdkquartz.h Import AppKit.h instead of Quartz.h. Don't use userSpaceScaleFactor for 2007-02-18 10:26:49 +00:00
GdkQuartzView.c Remove unneccesary exposure mask check. 2007-03-10 20:57:13 +00:00
GdkQuartzView.h Import AppKit.h instead of Quartz.h. Don't use userSpaceScaleFactor for 2007-02-18 10:26:49 +00:00
GdkQuartzWindow.c Always set success to TRUE. (gdk_color_change): Implement. 2006-07-29 11:05:15 +00:00
GdkQuartzWindow.h Import AppKit.h instead of Quartz.h. Don't use userSpaceScaleFactor for 2007-02-18 10:26:49 +00:00
gdkscreen-quartz.c Import AppKit.h instead of Quartz.h. Don't use userSpaceScaleFactor for 2007-02-18 10:26:49 +00:00
gdkselection-quartz.c Set the window level depending on the type hint. 2006-07-24 10:46:21 +00:00
gdkspawn-quartz.c Add spawn functions, copied from the win32 backend. 2006-06-03 17:51:34 +00:00
gdkvisual-quartz.c Add quartz backend. 2005-11-22 10:03:32 +00:00
gdkwindow-quartz.c Update for the new quartz cairo surface API (#410442). Don't lock focus 2007-03-10 21:58:49 +00:00
gdkwindow-quartz.h Implement type hints and use them to determine which windows should be 2006-07-19 09:13:24 +00:00
Makefile.am Factored out the event loop integration into gdkeventloop-quartz.c. 2006-12-28 09:04:48 +00:00