When doing several test with Java2D I came across some questions 
concerning the performance of an X-Server.

For example I do a drawImage of a RGB image on a Graphics object in 
Java2D. In my opinion that should be a simple blit operation.
The drawImage takes on a Linux 2.4 with XFree86 4.1.0 about 15 ms.
On Windows 2000 the same Java code takes about 4 ms.

If I do a x11perf -putimage500 I get about 87/sec.
And a x11perf -shmput500 gives me 369/sec.

The sizes of the images are almost the same and my question is whether 
the putimage500 and shmputimage500 can be compared to a blit operation?

If yes, could I say that the Java VM is lame?
Or is this a problem of the X-Server?


Another question concerns OpenGL (*not* Java):
Which memory uses glDrawPixels() on the video card?
For example the driver for my Voodoo3 reserves 11.4 MByte for textures.
Will this memory be used for glDrawPixels() or will the image be put 
into the remaing 4.6 MByte of the total 16 MByte?

O.K. I could look this up in the source code, but I don't have a clue 
where to look at in the source code ;-)



Detlef





_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to