Re: Hardware accelerated 2D graphics (with gtk-osx)




On 1 Aug 2010, at 21:49, Kristian Rietveld wrote:


GTK+ OSX does all drawing using CoreGraphics, this should be hardware-accelerated whenever possible.


From what I've been able to tell, CoreGraphics eventually ends up using QuartzGL for 2D imaging and 
acceleration.  QuartzGL however seems to be buggy, unfinished and badly written.  On my system (and I suspect 
most other Macs) enabling hardware acceleration for QuartzGL actually worsens 2D graphics performance rather 
than enhancing it.

So another option might be to use gtk-x11 in the Mac build, instead of gtk-osx.  Obviously this would require 
an X server to be installed but I don't think that's too difficult on a Mac.  The question is whether or not 
X (under OS-X) also uses QuartzGL or whether it interfaces with Quartz Compositor directly (or via some 
alternative technology, such as OpenGL).  I'm assuming there must be an interface to Quartz Compositor at 
some stage.

Anyone know where I could find out some more information about X server for OS-X?

John


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]