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
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 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(), and QImagePixmapCleanupHooks::instance().

+ 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 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 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: