Re: empty screenshot
Re: empty screenshot
- Subject: Re: empty screenshot
- From: Jeremy Huddleston <email@hidden>
- Date: Tue, 10 Jun 2008 17:22:41 -0700
It's a bit of both, really. There are some X11 drawing primitives
which we should be using CoreGraphics for (read: we were using them
and now we're actually using some software fallbacks for now. We'll
be going back to using CoreGraphics for these drawing routines using
an EXA driver in the future)... but the individual applications can do
whatever they want to do to come up with a buffer and dump it to an X
window, they can use OpenGL, they can use X11 drawing primitives...
heck, you could use CoreGraphics in the client then dump the data to
the X server.
This starts to make sense when you consider that X11 applications are
clients that can run on another system for all you care. Thus the
answer to your question is really "maybe".
--Jeremy
On Jun 10, 2008, at 13:38, Tom Scogland wrote:
This seems like a good opportunity to ask a question I've wondered
about once or twice. Does XQuartz use apple libraries to render the
content of windows, or simply request a raw window and draw on it
outside those tools, or some combination? If it's the latter, this
would all make sense. The 'capture image of window' item which is
being used must operate at a lower level than the other associated
tools, since it can capture the entire window regardless of wether
it's all on screen or layered under others without having to raise or
clear the window, something one can't do with the fully rendered image
sent to a screen.
I remember wondering about this when I first tried that feature but
never took the time to look into it further, could be interesting to
find the answer, especially to why some work and some don't. Seems
like any part of an xterm which has text in it currently is saved
correctly, but other parts are not, then every single graphical
program I have fails EXCEPT, the small ones that come with X11 (xeyes,
xlogo, etc). Very strange.
In the mean time, selection works just as well, if taking very
slightly more time.
-Tom
On Tue, Jun 10, 2008 at 3:12 PM, Martin Costabel
<email@hidden> wrote:
Jeremy Huddleston wrote:
Ok, thanks for the clarification. So it looks like it's working as
expected for my terminal (urxvt) ... so there must be something
special
about gnuplot... hrm =/
As I said before, it is not only gnuplot. A tektronix window
started from an
xterm menu has the same problem.
- A scilab command window has the same problem. This is a matlab-like
scientific app using gtk widgets.
- A gv window has the same problem. This is a ps/pdf viewer. The
snapshot
shows only the menu bars of the window, not the displayed pdf.
- An xv window has the same problem. This is an image viewer.
- A picture displayed by the "display" command from ImageMagick has
the same
problem.
These are just the first couple of X11 apps I tried out here. From
this
sample, I am pretty sure that there are lots of other X11 apps that
have the
same problem.
--
Martin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
--
-N
AKA:Tom Scogland
I am enough of an artist to draw freely upon my imagination.
Imagination is more important than knowledge. Knowledge is limited.
Imagination encircles the world.
-Albert Einstein
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden