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

A way to get to the actual backend used by the compositing scene.
icc-effect-5.14.5
Martin Gräßlin 2015-08-17 11:40:01 +02:00
parent a9e5343eb6
commit f76c18bfb8
1 changed files with 4 additions and 0 deletions

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