I am having some trouble getting my Compiz plugin to work. The immediate
goal of this plugin is to display a grey rectangle onscreen.

It seems like there is simply something that Compiz just doesn't like about
glDrawElements(). No matter what I do, I still get the same problem: all
open windows fail to repaint (one exception: the Unity panel repaints when I
move the mouse over it). The grey rectangle does show up... however, you can
see the screen rapidly switching between the back buffers and since nothing
repaints, it's impossible to interact with any open windows (and I am forced
to restart Compiz / Unity).

The latest code is here:
http://bazaar.launchpad.net/~george-edison55/stackfusion/trunk/files/head:/plugins/stackfusion/?start_revid=14

As you can see, I have a lot of stuff commented out to focus exclusively on
the issue at hand. The code at stackfusion.cpp:68-77 works flawlessly and
the equivalent glDrawElements code should work in exactly the same way. I've
tried enabling / disabling a host of options - all to no avail.

Any help would be greatly appreciated. If nothing can be done, I will gladly
file a bug report where applicable.

- Nathan
_______________________________________________
dev mailing list
[email protected]
http://lists.compiz.org/mailman/listinfo/dev

Reply via email to