Hi Sebastian,
It is true that some operations may become slower.
Mostly it is when software and hardware rendering
are mixed togeter. In your case it is likely that you are
causing reading from video memory to system memory,
which is very slow.
But to verify this and may be suggest a workaround
it would be great if you can come up with a simple
test which reproduces the issue.
Thanks,
Dmitri
[EMAIL PROTECTED] wrote:
Hi Dmitri,
I was really excited to get my hands on the 6uN EA. But the performance boost
of the DX9 rendering I expected didn't come. In fact, it became horribly slow :(
Here is what the trace output says:
[I] CheckAdaptersInfo
[I] ------------------
[I] Adapter Ordinal : 0
[I] Description : NVIDIA Quadro FX 3450/4000 SDI
[I] GDI Name, Driver : \\.\DISPLAY1, nv4_disp.dll
[I] Vendor Id : 0x10de
[I] Version : 6.14.10.7718
[I] ------------------
[I] InitD3D: successfully created Direct3D9 object
[I] D3DGD_getDeviceCapsNative
[I] D3DPPLM::CheckDeviceCaps: device 0: Passed
[I] D3DContext::InitContext device 0
[I] D3DContext::ConfigureContext device 0
[I] D3DContext::ConfigureContext: successfully created device: 0
[I] D3DContext::InitDevice: device 0
[I] D3DContext::InitDefice: successfully initialized device 0
[V] | CAPS_DEVICE_OK
[V] | CAPS_ALPHA_RT_PLAIN
[V] | CAPS_ALPHA_RTT
[V] | CAPS_OPAQUE_RTT
[V] | CAPS_LCD_SHADER | CAPS_BIOP_SHADER
[V] | CAPS_MULTITEXTURE
[V] | CAPS_TEXNONPOW2
[V] | CAPS_TEXNONSQUARE
My application uses some techniques Romain Guy describes in his blog to blur
out the application contents and then display a dialog in the foreground via
the LayeredPane. I create a BufferedImage and paint the content on it. It is
then resized to half its size and then the blur filter from the SwingLabs
project is applied to it. The original content pane is then replaced by this
picture, while the foreground draws a rounded-corner wait-dialog.
Launching with -Dsun.java2d.d3d=false takes 273ms to setup this effect. With DX
rendering it takes 2038ms. The front dialog displays a small animated
GIF-picture. The old rendering was totally smooth, the DX version has around
1fps.
If you need more information, please let me know.
Regards,
Sebastian Kopsan
[Message sent by forum member 'fenriswulf' (fenriswulf)]
http://forums.java.net/jive/thread.jspa?messageID=238510
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".