Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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

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 721 of file qglxintegration.cpp.

◆ ~QGLXPbuffer()

QGLXPbuffer::~QGLXPbuffer ( )

Definition at line 746 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(), and QGLXContext::swapBuffers().

Here is the caller graph for this function:

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