Re: /* STUPID QUESTION */
Re: /* STUPID QUESTION */
- Subject: Re: /* STUPID QUESTION */
- From: Sean Ahern <email@hidden>
- Date: Fri, 16 May 2003 13:06:15 -0700
John Davidorff Pell wrote:
> but what i mean ( I'm sorry i'm not making myself clear, i'm not too sure
> what i mean myself. ;-) ) is that many (most?) X server calls could be
> *translated*, for lack of a better word, into native calls thus making
> those calls _much_ faster. for the remaining calls, some that are
> meaning less could be send to /dev/null (you know what i mean) and the
> rest would create unnecessary overhead. If i understand what we're
> talking about (and i prob don't) then those few calls would not be
> detrimental to performance at all since they'd only take up a few extra
> lines of code.
Sure. And for a lot of calls, it would work.
But what about the calls where you can't actually do the translation of the
resulting data? I tried to come up with examples where data translation
has no meaning. And returning a NULL value (or some equivalent) isn't
really a good answer, because that has other meanings that aren't intended.
Mostly, it means that a given window no longer exists in X11.
So you'd probably get a system where the quartz windows appear not to exist
to an X11 app - which is exactly the system we have now with X11.app.
> I agree that it is usually a good idea to have this as a separate system,
> but what i'm thinking about it things like screen-capture from X11.app
> and translucency in X11 windows. Things like that cannot work with out
> a) difficult, easily broken, time and resource consuming work-arounds, or
> b) integration with quartz.
It's a fair question to ask, and it's brought about an interesting thread
here on the x11-users list.
-Sean
__
email@hidden
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.