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

#include <qandroidplatformoffscreensurface.h>

Inheritance diagram for QAndroidPlatformOffscreenSurface:
Collaboration diagram for QAndroidPlatformOffscreenSurface:

Public Member Functions

 QAndroidPlatformOffscreenSurface (ANativeWindow *nativeSurface, EGLDisplay display, QOffscreenSurface *offscreenSurface)
 ~QAndroidPlatformOffscreenSurface ()
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.
EGLSurface surface () const
ANativeWindow * nativeSurface () const override
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 14 of file qandroidplatformoffscreensurface.h.

Constructor & Destructor Documentation

◆ QAndroidPlatformOffscreenSurface()

QT_BEGIN_NAMESPACE QAndroidPlatformOffscreenSurface::QAndroidPlatformOffscreenSurface ( ANativeWindow * nativeSurface,
EGLDisplay display,
QOffscreenSurface * offscreenSurface )

Definition at line 10 of file qandroidplatformoffscreensurface.cpp.

◆ ~QAndroidPlatformOffscreenSurface()

QAndroidPlatformOffscreenSurface::~QAndroidPlatformOffscreenSurface ( )

Definition at line 26 of file qandroidplatformoffscreensurface.cpp.

Member Function Documentation

◆ format()

QSurfaceFormat QAndroidPlatformOffscreenSurface::format ( ) const
inlineoverridevirtual

Returns the actual surface format of the offscreen surface.

Reimplemented from QPlatformOffscreenSurface.

Definition at line 21 of file qandroidplatformoffscreensurface.h.

◆ isValid()

bool QAndroidPlatformOffscreenSurface::isValid ( ) const
inlineoverridevirtual

Returns true if the platform offscreen surface has been allocated.

Reimplemented from QPlatformOffscreenSurface.

Definition at line 22 of file qandroidplatformoffscreensurface.h.

◆ nativeSurface()

ANativeWindow * QAndroidPlatformOffscreenSurface::nativeSurface ( ) const
inlineoverride

Definition at line 26 of file qandroidplatformoffscreensurface.h.

◆ surface()

EGLSurface QAndroidPlatformOffscreenSurface::surface ( ) const
inline

Definition at line 24 of file qandroidplatformoffscreensurface.h.


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