I did not say bgl is buggy , I only said that I am currently experiencing problems I can't isolate with some really weird behavior. My assumption is that is bugs with my code and not bgl.
The problem I have right now is that the texture does not display the transparency correctly, and that my gui seems to leak on the buttons (menu buttons) of blender spaces/areas/windows . I am now in the process of cleaning up my code to make sure I am not doing anything stupid with bgl. If I find a bug with bgl rest assured I will report it to the bug tracker with an example case attached to it. All I am saying is that using bgl can be rather challenging. For example using image.gl_load() outside a draw function will crash blender, yet there is no such warning in the docs and it looks like a weird behavior image.gl_load() to be contained inside a draw . Doesn't it slow down blender. Attaching a image.gl_free() for example inside the same draw does slow down blender considerably. So all I am saying bgl can be quite tricky to use. ________________________________ From: Campbell Barton <ideasma...@gmail.com> To: bf-blender developers <bf-committers@blender.org> Sent: Friday, 27 July 2012, 9:40 Subject: Re: [Bf-committers] Images in Panels.. @dimitris - I dont think your explanation of `bgl` as buggy is really correct, bgl just wraps OpenGL - there isnt much to it, the issues you have are almost certainly issues dealing with sharing an OpenGL context with blender - which will free images from OpenGL memory to prevent running out of texture memory for unused textures in scenes. Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers _______________________________________________ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers