![]() |
Qt 6.x
The Qt SDK
|
#include <qandroidplatformoffscreensurface.h>
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 |
![]() | |
QPlatformOffscreenSurface (QOffscreenSurface *offscreenSurface) | |
~QPlatformOffscreenSurface () override | |
QOffscreenSurface * | offscreenSurface () const |
QPlatformScreen * | screen () 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. | |
![]() | |
virtual | ~QPlatformSurface () |
virtual QSurfaceFormat | format () const =0 |
QSurface * | surface () const |
virtual QPlatformScreen * | screen () const =0 |
Additional Inherited Members | |
![]() | |
static bool | isRasterSurface (QSurface *surface) |
![]() | |
QScopedPointer< QPlatformOffscreenSurfacePrivate > | d_ptr |
Definition at line 14 of file qandroidplatformoffscreensurface.h.
QT_BEGIN_NAMESPACE QAndroidPlatformOffscreenSurface::QAndroidPlatformOffscreenSurface | ( | ANativeWindow * | nativeSurface, |
EGLDisplay | display, | ||
QOffscreenSurface * | offscreenSurface | ||
) |
Definition at line 10 of file qandroidplatformoffscreensurface.cpp.
References nativeSurface(), q_configFromGLFormat(), QSurfaceFormat::setAlphaBufferSize(), QSurfaceFormat::setBlueBufferSize(), QSurfaceFormat::setGreenBufferSize(), and QSurfaceFormat::setRedBufferSize().
QAndroidPlatformOffscreenSurface::~QAndroidPlatformOffscreenSurface | ( | ) |
Definition at line 26 of file qandroidplatformoffscreensurface.cpp.
|
inlineoverridevirtual |
Returns the actual surface format of the offscreen surface.
Reimplemented from QPlatformOffscreenSurface.
Definition at line 21 of file qandroidplatformoffscreensurface.h.
|
inlineoverridevirtual |
Returns true
if the platform offscreen surface has been allocated.
Reimplemented from QPlatformOffscreenSurface.
Definition at line 22 of file qandroidplatformoffscreensurface.h.
|
inlineoverride |
Definition at line 26 of file qandroidplatformoffscreensurface.h.
References surface().
Referenced by QAndroidPlatformOffscreenSurface().
|
inline |
Definition at line 24 of file qandroidplatformoffscreensurface.h.
Referenced by nativeSurface().