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>.
|
#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 |
Public Member Functions inherited from QPlatformOffscreenSurface | |
QPlatformOffscreenSurface (QOffscreenSurface *offscreenSurface) | |
~QPlatformOffscreenSurface () override | |
QOffscreenSurface * | offscreenSurface () const |
QPlatformScreen * | screen () const override |
Returns the platform screen handle corresponding to this QPlatformOffscreenSurface. | |
Public Member Functions inherited from QPlatformSurface | |
virtual | ~QPlatformSurface () |
QSurface * | surface () const |
Additional Inherited Members | |
Static Public Member Functions inherited from QPlatformSurface | |
static bool | isRasterSurface (QSurface *surface) |
Protected Attributes inherited from QPlatformOffscreenSurface | |
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().