Add SceneOpenGL::backend() const -> OpenGLBackend*

A way to get to the actual backend used by the compositing scene.
This commit is contained in:
Martin Gräßlin 2015-08-17 11:40:01 +02:00
parent a9e5343eb6
commit f76c18bfb8

View file

@ -77,6 +77,10 @@ public:
**/
Texture *createTexture();
OpenGLBackend *backend() const {
return m_backend;
}
#ifndef KWIN_HAVE_OPENGLES
/**
* Copy a region of pixels from the current read to the current draw buffer