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
androidsurfacetexture.cpp File Reference

(c07c261eb311ac4f3a22c03b27d4b0c65cf69917)

#include "androidsurfacetexture_p.h"
#include <QtCore/qmutex.h>
#include <QtCore/qcoreapplication.h>
#include "moc_androidsurfacetexture_p.cpp"
+ Include dependency graph for androidsurfacetexture.cpp:

Go to the source code of this file.

Typedefs

typedef QList< jlong > SurfaceTextures
 

Functions

 Q_GLOBAL_STATIC (SurfaceTextures, g_surfaceTextures)
 
 Q_GLOBAL_STATIC (QMutex, g_textureMutex)
 
static void notifyFrameAvailable (JNIEnv *, jobject, jlong id)
 

Variables

static QT_BEGIN_NAMESPACE const char QtSurfaceTextureListenerClassName [] = "org/qtproject/qt/android/multimedia/QtSurfaceTextureListener"
 
static QAtomicInteger< quint64indexCounter = 0u
 

Typedef Documentation

◆ SurfaceTextures

typedef QList<jlong> SurfaceTextures

Definition at line 11 of file androidsurfacetexture.cpp.

Function Documentation

◆ notifyFrameAvailable()

static void notifyFrameAvailable ( JNIEnv * ,
jobject ,
jlong id )
static

Definition at line 18 of file androidsurfacetexture.cpp.

References lock, and Q_EMIT.

◆ Q_GLOBAL_STATIC() [1/2]

Q_GLOBAL_STATIC ( QMutex ,
g_textureMutex  )

◆ Q_GLOBAL_STATIC() [2/2]

Q_GLOBAL_STATIC ( SurfaceTextures ,
g_surfaceTextures  )

Variable Documentation

◆ indexCounter

QAtomicInteger<quint64> indexCounter = 0u
static

Definition at line 15 of file androidsurfacetexture.cpp.

◆ QtSurfaceTextureListenerClassName

QT_BEGIN_NAMESPACE const char QtSurfaceTextureListenerClassName[] = "org/qtproject/qt/android/multimedia/QtSurfaceTextureListener"
static