more thoughts on kwin and window thumbnails in plasma shells

Marco Martin notmart at gmail.com
Tue May 15 18:35:01 UTC 2012


On Tuesday 15 May 2012, Martin Gräßlin wrote:
> On Tuesday 15 May 2012 14:13:24 Aaron J. Seigo wrote:
> > how
> > does this resolve the window thumbnail issue? you can share GL textures
> > between processes. this is dependent on the OpenGL stack on the system
> > (it is not something OpenGL itself provides and it is done different on
> > windows than x.org; probably different again in wayland), but it works.
> > in fact, we found an example that does exactly this in zack's graphics
> > dojo repo from when he worked at trolltech (yes, trolltech .. before
> > nokia).
> 
> I am not sure whether that would work at all. What we have here are not
> normal textures but textures from pixmaps. I fear that this makes quite
> some difference especially concerning the damage events.

since kwin can draw thumbnails with the correct update window, i assume it has 
the correct pixmap any given moment? can't that be shared?

> > [1] this goes beyond crashes and extends to busy loops -> consider if the
> > compositing process locks up .. how does the user then go about fixing
> > it? can't see any input or windows -> compositor is still running, just
> > not able to paint ...
> 
> For the last point I don't understand any difference to the situation we
> have right now. We are f*** up when the compositor locks up. Luckily I
> have not heard of it for several years :-) Btw in 4.10 I want to work on

well, is just that when the world goes into the compositor, the probability of 
this happening skyrockets ;)


-- 
Marco Martin


More information about the Plasma-devel mailing list