| KWin
    | 
OpenGL Backend using GLX over an X overlay window. More...
#include <x11_standalone_glx_backend.h>
 
  
| Public Member Functions | |
| GlxBackend (::Display *display, X11StandaloneBackend *backend) | |
| ~GlxBackend () override | |
| std::unique_ptr< SurfaceTexture > | createSurfaceTextureX11 (SurfacePixmapX11 *pixmap) override | 
| OutputLayerBeginFrameInfo | beginFrame () | 
| void | endFrame (const QRegion &renderedRegion, const QRegion &damagedRegion) | 
| std::chrono::nanoseconds | queryRenderTime () | 
| void | present (Output *output, const std::shared_ptr< OutputFrame > &frame) override | 
| bool | makeCurrent () override | 
| void | doneCurrent () override | 
| OverlayWindow * | overlayWindow () const override | 
| void | init () override | 
| OutputLayer * | primaryLayer (Output *output) override | 
| ::Display * | display () const | 
|  Public Member Functions inherited from KWin::OpenGLBackend | |
| OpenGLBackend () | |
| virtual | ~OpenGLBackend () | 
| CompositingType | compositingType () const override final | 
| bool | checkGraphicsReset () override final | 
| bool | isFailed () const | 
| Whether the creation of the Backend failed. | |
| bool | supportsBufferAge () const | 
| bool | supportsNativeFence () const | 
| QList< QByteArray > | extensions () const | 
| bool | hasExtension (const QByteArray &extension) const | 
| void | copyPixels (const QRegion ®ion, const QSize &screenSize) | 
| virtual std::pair< std::shared_ptr< GLTexture >, ColorDescription > | textureForOutput (Output *output) const | 
|  Public Member Functions inherited from KWin::RenderBackend | |
| RenderBackend (QObject *parent=nullptr) | |
| virtual OutputLayer * | cursorLayer (Output *output) | 
| virtual GraphicsBufferAllocator * | graphicsBufferAllocator () const | 
| virtual bool | testImportBuffer (GraphicsBuffer *buffer) | 
| virtual QHash< uint32_t, QList< uint64_t > > | supportedFormats () const | 
| virtual std::unique_ptr< SurfaceTexture > | createSurfaceTextureWayland (SurfacePixmap *pixmap) | 
| Friends | |
| class | GlxPixmapTexture | 
| Additional Inherited Members | |
|  Protected Member Functions inherited from KWin::OpenGLBackend | |
| void | setFailed (const QString &reason) | 
| Sets the backend initialization to failed. | |
| void | setSupportsBufferAge (bool value) | 
| void | setSupportsNativeFence (bool value) | 
| void | setExtensions (const QList< QByteArray > &extensions) | 
OpenGL Backend using GLX over an X overlay window.
Definition at line 80 of file x11_standalone_glx_backend.h.
| KWin::GlxBackend::GlxBackend | ( | ::Display * | display, | 
| X11StandaloneBackend * | backend ) | 
Definition at line 123 of file x11_standalone_glx_backend.cpp.
| 
 | override | 
Definition at line 144 of file x11_standalone_glx_backend.cpp.
| OutputLayerBeginFrameInfo KWin::GlxBackend::beginFrame | ( | ) | 
Definition at line 689 of file x11_standalone_glx_backend.cpp.
| 
 | overridevirtual | 
Reimplemented from KWin::RenderBackend.
Definition at line 684 of file x11_standalone_glx_backend.cpp.
| 
 | inline | 
Definition at line 98 of file x11_standalone_glx_backend.h.
| 
 | overridevirtual | 
Implements KWin::OpenGLBackend.
Definition at line 766 of file x11_standalone_glx_backend.cpp.
| void KWin::GlxBackend::endFrame | ( | const QRegion & | renderedRegion, | 
| const QRegion & | damagedRegion ) | 
Definition at line 713 of file x11_standalone_glx_backend.cpp.
| 
 | overridevirtual | 
Implements KWin::OpenGLBackend.
Definition at line 192 of file x11_standalone_glx_backend.cpp.
| 
 | overridevirtual | 
Implements KWin::OpenGLBackend.
Definition at line 761 of file x11_standalone_glx_backend.cpp.
| 
 | overridevirtual | 
Reimplemented from KWin::RenderBackend.
Definition at line 771 of file x11_standalone_glx_backend.cpp.
| 
 | overridevirtual | 
Implements KWin::RenderBackend.
Definition at line 729 of file x11_standalone_glx_backend.cpp.
| 
 | overridevirtual | 
Implements KWin::RenderBackend.
Definition at line 776 of file x11_standalone_glx_backend.cpp.
| std::chrono::nanoseconds KWin::GlxBackend::queryRenderTime | ( | ) | 
Definition at line 723 of file x11_standalone_glx_backend.cpp.
| 
 | friend | 
Definition at line 143 of file x11_standalone_glx_backend.h.