Skip to main content

Does X-Server on Solaris 8 leverage hardware acceleration?

1 reply [Last post]
Anonymous

Hi,

Does anybody know whether the default X-Server on Solaris 8 will do any
hardware acceleration for operations such as polyline and rectangle
draws and rectangle fills?
I've noticed with our Java application while monitoring X requests using
the xmon proxy that most of the operations are the above (along with
clipping and putImages) and wondered if a 2D capable card (like the
GFX-450) would render these in hardware. Does anybody know if Solaris
10's X-Server does any better in terms of rendering performance?
(Currently, we don't have an OpenGl capable card available so we can't
leverage the OpenGL pipeline.)

Also, it appears that when you draw to an offscreen image (even if it is
shared) that the draw requests still go through the X-Server, is that
how it is supposed to be working? (I've tried creating images from the
JPanel using createImage() and just creating BufferedImage().)

Thanks,

Rob

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Phil Race

This is the role of the device dependent code, so the answer
will depend on the card. SFAIK Techsource wrote and provided
the drivers for the GFX-450, as well as the hardware, so
I'm not sure where to go to get a definitive answer for that card.
But I'd hope the answer is yes.
As for the performance of the Xserver, I know its been tuned
for many years so I wouldn't bank on big performance gains
in the latest Xsun. S10 itself may be a good bit faster so that might help.

-phil.

Rob Ratcliff wrote:
> Hi,
>
> Does anybody know whether the default X-Server on Solaris 8 will do any
> hardware acceleration for operations such as polyline and rectangle
> draws and rectangle fills?
> I've noticed with our Java application while monitoring X requests using
> the xmon proxy that most of the operations are the above (along with
> clipping and putImages) and wondered if a 2D capable card (like the
> GFX-450) would render these in hardware. Does anybody know if Solaris
> 10's X-Server does any better in terms of rendering performance?
> (Currently, we don't have an OpenGl capable card available so we can't
> leverage the OpenGL pipeline.)
>
> Also, it appears that when you draw to an offscreen image (even if it is
> shared) that the draw requests still go through the X-Server, is that
> how it is supposed to be working? (I've tried creating images from the
> JPanel using createImage() and just creating BufferedImage().)
>
> Thanks,
>
> Rob
>
> ===========================================================================
> To unsubscribe, send email to listserv@java.sun.com and include in the body
> of the message "signoff JAVA2D-INTEREST". For general help, send email to
> listserv@java.sun.com and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".