[xlib] howto create screenshots?
Joel Dice
dicej at mailsnare.net
Mon Sep 12 06:09:08 PDT 2005
On Mon, 12 Sep 2005, Clemens Eisserer wrote:
> Hi there,
>
> Currently I am using java's Robot class to generate snapshots of my
> desktop, however for a single 1024x768 snapshot it takes 1.5s on my
> Athlon 800.
> Do you think this could be speed up by writing my own, x-lib based
> implementation and which way do you think is the most efficient?
>
You'll gain a little speed by using JNI and Xlib, especially when using
the shared memory extension, but it's primarily a driver issue. See this
thread:
http://lists.freedesktop.org/pipermail/xorg/2005-April/007266.html
- Joel
More information about the xorg
mailing list