Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QGLXPbuffer Class Reference

#include <qglxintegration.h>

+ Inheritance diagram for QGLXPbuffer:
+ Collaboration diagram for QGLXPbuffer:

Public Member Functions

 QGLXPbuffer (QOffscreenSurface *offscreenSurface)
 
 ~QGLXPbuffer ()
 
QSurfaceFormat format () const override
 Returns the actual surface format of the offscreen surface.
 
bool isValid () const override
 Returns true if the platform offscreen surface has been allocated.
 
GLXPbuffer pbuffer () const
 
- Public Member Functions inherited from QPlatformOffscreenSurface
 QPlatformOffscreenSurface (QOffscreenSurface *offscreenSurface)
 
 ~QPlatformOffscreenSurface () override
 
QOffscreenSurfaceoffscreenSurface () const
 
QPlatformScreenscreen () const override
 Returns the platform screen handle corresponding to this QPlatformOffscreenSurface.
 
- Public Member Functions inherited from QPlatformSurface
virtual ~QPlatformSurface ()
 
QSurfacesurface () const
 

Additional Inherited Members

- Static Public Member Functions inherited from QPlatformSurface
static bool isRasterSurface (QSurface *surface)
 
- Protected Attributes inherited from QPlatformOffscreenSurface
QScopedPointer< QPlatformOffscreenSurfacePrivated_ptr
 

Detailed Description

Definition at line 60 of file qglxintegration.h.

Constructor & Destructor Documentation

◆ QGLXPbuffer()

QGLXPbuffer::QGLXPbuffer ( QOffscreenSurface * offscreenSurface)
explicit

Definition at line 720 of file qglxintegration.cpp.

References False, QSize::height(), None, QPlatformOffscreenSurface::offscreenSurface(), qglx_findConfig(), qglx_surfaceFormatFromGLXFBConfig(), QXcbScreen::screenNumber(), QOffscreenSurface::size(), and QSize::width().

+ Here is the call graph for this function:

◆ ~QGLXPbuffer()

QGLXPbuffer::~QGLXPbuffer ( )

Definition at line 745 of file qglxintegration.cpp.

Member Function Documentation

◆ format()

QSurfaceFormat QGLXPbuffer::format ( ) const
inlineoverridevirtual

Returns the actual surface format of the offscreen surface.

Reimplemented from QPlatformOffscreenSurface.

Definition at line 66 of file qglxintegration.h.

◆ isValid()

bool QGLXPbuffer::isValid ( ) const
inlineoverridevirtual

Returns true if the platform offscreen surface has been allocated.

Reimplemented from QPlatformOffscreenSurface.

Definition at line 67 of file qglxintegration.h.

◆ pbuffer()

GLXPbuffer QGLXPbuffer::pbuffer ( ) const
inline

Definition at line 69 of file qglxintegration.h.

Referenced by QGLXContext::makeCurrent().

+ Here is the caller graph for this function:

The documentation for this class was generated from the following files: