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
QPlatformOffscreenSurface Class Reference

#include <qplatformoffscreensurface.h>

Inheritance diagram for QPlatformOffscreenSurface:
Collaboration diagram for QPlatformOffscreenSurface:

Public Member Functions

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

Protected Attributes

QScopedPointer< QPlatformOffscreenSurfacePrivated_ptr

Friends

class QOffscreenSurfacePrivate

Detailed Description

Definition at line 29 of file qplatformoffscreensurface.h.

Constructor & Destructor Documentation

◆ QPlatformOffscreenSurface()

QPlatformOffscreenSurface::QPlatformOffscreenSurface ( QOffscreenSurface * offscreenSurface)
explicit

Definition at line 16 of file qplatformoffscreensurface.cpp.

◆ ~QPlatformOffscreenSurface()

QPlatformOffscreenSurface::~QPlatformOffscreenSurface ( )
override

Definition at line 22 of file qplatformoffscreensurface.cpp.

Member Function Documentation

◆ format()

QSurfaceFormat QPlatformOffscreenSurface::format ( ) const
overridevirtual

Returns the actual surface format of the offscreen surface.

Implements QPlatformSurface.

Reimplemented in QAndroidPlatformOffscreenSurface, QCocoaOffscreenSurface, QCocoaOffscreenSurface, QEglFSOffscreenWindow, QEGLPbuffer, QGLXPbuffer, QIOSOffscreenSurface, and QIOSOffscreenSurface.

Definition at line 42 of file qplatformoffscreensurface.cpp.

◆ isValid()

bool QPlatformOffscreenSurface::isValid ( ) const
virtual

◆ offscreenSurface()

QOffscreenSurface * QPlatformOffscreenSurface::offscreenSurface ( ) const

Definition at line 26 of file qplatformoffscreensurface.cpp.

◆ screen()

QPlatformScreen * QPlatformOffscreenSurface::screen ( ) const
overridevirtual

Returns the platform screen handle corresponding to this QPlatformOffscreenSurface.

Implements QPlatformSurface.

Definition at line 34 of file qplatformoffscreensurface.cpp.

◆ QOffscreenSurfacePrivate

friend class QOffscreenSurfacePrivate
friend

Definition at line 45 of file qplatformoffscreensurface.h.

Member Data Documentation

◆ d_ptr

QScopedPointer<QPlatformOffscreenSurfacePrivate> QPlatformOffscreenSurface::d_ptr
protected

Definition at line 44 of file qplatformoffscreensurface.h.


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