Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
AndroidSurfaceClient Class Referenceabstract

#include <androidsurfaceclient.h>

+ Inheritance diagram for AndroidSurfaceClient:
+ Collaboration diagram for AndroidSurfaceClient:

Public Member Functions

virtual void surfaceChanged (JNIEnv *jniEnv, jobject surface, int w, int h)=0
 
void lockSurface ()
 
void unlockSurface ()
 

Protected Attributes

QMutex m_surfaceMutex
 

Detailed Description

Definition at line 11 of file androidsurfaceclient.h.

Member Function Documentation

◆ lockSurface()

void AndroidSurfaceClient::lockSurface ( )
inline

Definition at line 15 of file androidsurfaceclient.h.

References QMutex::lock(), and m_surfaceMutex.

Referenced by QAndroidPlatformOpenGLWindow::~QAndroidPlatformOpenGLWindow(), QAndroidPlatformVulkanWindow::~QAndroidPlatformVulkanWindow(), QAndroidPlatformOpenGLWindow::applicationStateChanged(), QAndroidPlatformVulkanWindow::applicationStateChanged(), QAndroidPlatformScreen::surfaceChanged(), QAndroidPlatformOpenGLWindow::surfaceChanged(), and QAndroidPlatformVulkanWindow::surfaceChanged().

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

◆ surfaceChanged()

virtual void AndroidSurfaceClient::surfaceChanged ( JNIEnv *  jniEnv,
jobject  surface,
int  w,
int  h 
)
pure virtual

◆ unlockSurface()

void AndroidSurfaceClient::unlockSurface ( )
inline

Definition at line 16 of file androidsurfaceclient.h.

References m_surfaceMutex, and QMutex::unlock().

Referenced by QAndroidPlatformOpenGLWindow::~QAndroidPlatformOpenGLWindow(), QAndroidPlatformVulkanWindow::~QAndroidPlatformVulkanWindow(), QAndroidPlatformOpenGLWindow::applicationStateChanged(), QAndroidPlatformVulkanWindow::applicationStateChanged(), QAndroidPlatformScreen::surfaceChanged(), QAndroidPlatformOpenGLWindow::surfaceChanged(), and QAndroidPlatformVulkanWindow::surfaceChanged().

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

Member Data Documentation

◆ m_surfaceMutex


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