Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QOpenGLTextureCacheWrapper Class Reference
+ Collaboration diagram for QOpenGLTextureCacheWrapper:

Public Member Functions

 QOpenGLTextureCacheWrapper ()
 
 ~QOpenGLTextureCacheWrapper ()
 
QOpenGLTextureCachecacheForContext (QOpenGLContext *context)
 

Static Public Member Functions

static void cleanupTexturesForCacheKey (qint64 key)
 
static void cleanupTexturesForPixmapData (QPlatformPixmap *pmd)
 

Detailed Description

Definition at line 15 of file qopengltexturecache.cpp.

Constructor & Destructor Documentation

◆ QOpenGLTextureCacheWrapper()

QOpenGLTextureCacheWrapper::QOpenGLTextureCacheWrapper ( )
inline

Definition at line 18 of file qopengltexturecache.cpp.

References QImagePixmapCleanupHooks::addImageHook(), QImagePixmapCleanupHooks::addPlatformPixmapDestructionHook(), QImagePixmapCleanupHooks::addPlatformPixmapModificationHook(), cleanupTexturesForCacheKey(), cleanupTexturesForPixmapData(), and QImagePixmapCleanupHooks::instance().

+ Here is the call graph for this function:

◆ ~QOpenGLTextureCacheWrapper()

QOpenGLTextureCacheWrapper::~QOpenGLTextureCacheWrapper ( )
inline

Definition at line 25 of file qopengltexturecache.cpp.

References cleanupTexturesForCacheKey(), cleanupTexturesForPixmapData(), QImagePixmapCleanupHooks::instance(), QImagePixmapCleanupHooks::removeImageHook(), QImagePixmapCleanupHooks::removePlatformPixmapDestructionHook(), and QImagePixmapCleanupHooks::removePlatformPixmapModificationHook().

+ Here is the call graph for this function:

Member Function Documentation

◆ cacheForContext()

QOpenGLTextureCache * QOpenGLTextureCacheWrapper::cacheForContext ( QOpenGLContext context)
inline

Definition at line 32 of file qopengltexturecache.cpp.

References context, lock, and QOpenGLMultiGroupSharedResource::value().

+ Here is the call graph for this function:

◆ cleanupTexturesForCacheKey()

void QOpenGLTextureCacheWrapper::cleanupTexturesForCacheKey ( qint64  key)
static

Definition at line 52 of file qopengltexturecache.cpp.

References QList< T >::begin(), QList< T >::end(), QOpenGLTextureCache::invalidate(), and it.

Referenced by QOpenGLTextureCacheWrapper(), ~QOpenGLTextureCacheWrapper(), and cleanupTexturesForPixmapData().

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

◆ cleanupTexturesForPixmapData()

void QOpenGLTextureCacheWrapper::cleanupTexturesForPixmapData ( QPlatformPixmap pmd)
static

Definition at line 59 of file qopengltexturecache.cpp.

References QPlatformPixmap::cacheKey(), and cleanupTexturesForCacheKey().

Referenced by QOpenGLTextureCacheWrapper(), and ~QOpenGLTextureCacheWrapper().

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

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