Re: /* STUPID QUESTION */
Re: /* STUPID QUESTION */
- Subject: Re: /* STUPID QUESTION */
- From: John Davidorff Pell <email@hidden>
- Date: Fri, 16 May 2003 12:53:25 -0700
On Friday, May 16, 2003, at 11:45 am, Sean Ahern wrote:
>
> Actually, I think it would *cause* more problems that it's worth.
This is what i'm trying to understand, pls forgive my silly questions.
:-)
> If I brought over an application from another X11 system that
> attempted to
> query information about windows, you'd have to support EVERY X11 CALL
> on
> all Quartz windows. Event translation, pixmap drawing, icon
> specification,
> font management, everything. Yes, they're doing this with X11.app, but
> only for windows that are created by that app. What if I asked for the
> "visual" of an already-created Quartz window? Does that even mean
> anything
> for a window that wasn't created through an X11 call? What if I did an
> XSelectInput to register for VisibilityNotify events on an extant
> Quartz
> window? I'm not sure that has meaning in an environment where all
> windows
> can have a native alpha channel (something that X11 does not support).
i realize that it would create alot of over head to have an X server
integrated into the quartz windowserver, 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.
>
> So I think that Apple is doing the right thing - containing all of X11
> within its own "space", as it were. All interaction with X11 windows
> has
> to happen through it. And it doesn't "take control" of windows that
> were
> created outside of the X11 environment.
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.
>
> -Sean
If I'm wrong please tell me, I'm trying to learn.
thanx lots, JP
--
God is dead, now the war shall never end.
_______________________________________________
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.