It is just too complicated to follow the different OpenGL contexts in our current desing. This will at least simplify our handling a bit.
IOpenGLRenderer is an abstract interface that should be implemented by the code using SdrOpenGLObj to paint with OpenGL.
7f6b156 tie lifetime of some objects together
include/svx/svdoopengl.hxx | 12 ++++++++++++
include/svx/unoshape.hxx | 4 ++++
include/vcl/IOpenGLRenderer.hxx | 23 +++++++++++++++++++++++
svx/source/svdraw/svdoopengl.cxx | 15 +++++++++++++++
svx/source/unodraw/unoshap4.cxx | 12 ++++++++++++
5 files changed, 66 insertions(+)
Upstream: cgit.freedesktop.org