Translucent Window/Drawable Support ..

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Translucent Window/Drawable Support ..

Sven Gothel
Administrator
https://jogamp.org/bugzilla/show_bug.cgi?id=517

Translucent windows (or drawables) are a nice to have feature
allowing users to create non rectangular shaped things on the desktop
and a more seamless integration w/ the desktop.

This is possible using compositing window manager like
Windows 7/Vista Aero, X11 XRender/OpenGL KDE, Gnome, etc ..

Initial X11/GLX support is commited:
  dcb0cc571298be90d0db7ad00fef835fe5fdc46d
  2501d93d80468b0c38897e99a8eabac08e70e7b4
  a4dd1cafd84dc0977fa3d558a6af7f8988f1628b
  2f12b219988dd28b1b2c191afc94b7704022a84a

Also the little changes to the 'core' code:
  bbdd6f95687da343bf7a6550c3bc9bb4444116e5

Translucency is triggered just using the Capabilities:
  caps.setBackgroundOpaque(false);

TODO: Windows and OSX .. maybe Android

Cheers, Sven

https://jogamp.org/chuck/job/jogl/449/

PS:

On another not so dramatic note,
almost all(*) regressions and test failures are gone.

*: 32bit on 64bit Windows GLDebugMessageHandler fails .. driver bug
Reply | Threaded
Open this post in threaded view
|

Re: Translucent Window/Drawable Support ..

gouessej
Administrator
It is a good piece of news, I'm gonna give it a try :)
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Translucent Window/Drawable Support ..

Sven Gothel
Administrator
In reply to this post by Sven Gothel
Complete translucency support for Win32  - tested w/ NEWT

https://jogamp.org/chuck/job/jogl/450/
Reply | Threaded
Open this post in threaded view
|

Re: Translucent Window/Drawable Support ..

Wade Walker
Administrator
You've been doing lots of great work lately -- can't wait to try it out
Reply | Threaded
Open this post in threaded view
|

Re: Translucent Window/Drawable Support ..

jouvieje
Just tried on Windows 7 and it works like a charm ! This is a really great feature

One thing I've noticed: the window still receive all input events (mouse/keyboard) where it is fully transparent.
Would it be possible to have the events dispatched on the elements below when pixel is fully transparent (ie on desktop or window below) ?

Jérôme