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>.
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

- Static Public Member Functions inherited from QPlatformSurface
static bool isRasterSurface (QSurface *surface)
 
- 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.

References nativeSurface(), q_configFromGLFormat(), QSurfaceFormat::setAlphaBufferSize(), QSurfaceFormat::setBlueBufferSize(), QSurfaceFormat::setGreenBufferSize(), and QSurfaceFormat::setRedBufferSize().

+ Here is the call graph for this function:

◆ ~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.

References surface().

Referenced by QAndroidPlatformOffscreenSurface().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ surface()

EGLSurface QAndroidPlatformOffscreenSurface::surface ( ) const
inline

Definition at line 24 of file qandroidplatformoffscreensurface.h.

Referenced by nativeSurface().

+ Here is the caller graph for this function:

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