-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thursday 08 February 2001 22:31, you wrote:
> Hi,
>
> I had a demo running well, using GLAnimCanvas. I can't keep this class
> because it is a heavyweight class and I have to use it with lightweight
> classes, making it appear always on top of them. I replaced GLAnimCanvas
> with GLAnimJPanel and now opengl seems to be not accelerated and uses 100%
> of CPU. What happens ?
>
> Thanks for your help
>
> Nicolas Cadilhac
GLAnimJPanel runs at lightweight either .. but not for the cpu :))
Well, it uses offscreen rendering,
where hardware acceleration is usually not supported
by the graphic cards OpenGL driver !
But my be with jdk1.4 and/or glx-pbuffers (X11, Win32: ??),
a bit more acceleration (if not true hw acceleration) can be done.
The problem is, that there is no true hw display for a lightweight
window. So currently the OpenGL rendering is done offscreen
and copied into the lightweight window, using GLU.
I know .. very bad !
Ideas ?
sven
- --
mailto:sgo...@ja...
www : http://www.jausoft.com ; pgp: http://www.jausoft.com/gpg/
voice : +49-521-2399440, +49-170-2115963; fax: +49-521-2399442
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE6g2WvHdOA30NoFAARAtsaAKC7ICMyRwgcjJc/7a+qIva+MXsXEgCeIE71
Y4Un7MMaT1E07g73hwVzZH0=
=iApD
-----END PGP SIGNATURE-----
|