Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qopengltexturecache.cpp File Reference
#include "qopengltexturecache_p.h"
#include <private/qopengltextureuploader_p.h>
#include <qmath.h>
#include <qopenglfunctions.h>
#include <private/qimagepixmapcleanuphooks_p.h>
#include <qpa/qplatformpixmap.h>
#include <qtopengl_tracepoints_p.h>
+ Include dependency graph for qopengltexturecache.cpp:

Go to the source code of this file.

Classes

class  QOpenGLTextureCacheWrapper
 

Functions

static quint64 cacheSize ()
 
 Q_TRACE_POINT (qtopengl, QOpenGLTextureCache_bindTexture_entry, QOpenGLContext *context, qint64 key, const unsigned char *image, int options)
 
 Q_TRACE_POINT (qtopengl, QOpenGLTextureCache_bindTexture_exit)
 
static void freeTexture (QOpenGLFunctions *funcs, GLuint id)
 

Function Documentation

◆ cacheSize()

static quint64 cacheSize ( )
static

Definition at line 64 of file qopengltexturecache.cpp.

References ok, and qEnvironmentVariableIntValue().

Referenced by GeoTiledMappingManagerEngineEsri::GeoTiledMappingManagerEngineEsri(), QGeoMappingManagerEngineMapboxGL::QGeoMappingManagerEngineMapboxGL(), QGeoTiledMappingManagerEngineMapbox::QGeoTiledMappingManagerEngineMapbox(), QGeoTiledMappingManagerEngineNokia::QGeoTiledMappingManagerEngineNokia(), QGeoTiledMappingManagerEngineOsm::QGeoTiledMappingManagerEngineOsm(), QSQLiteDriver::open(), and QQuickImageSelector::updateSource().

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

◆ freeTexture()

static void freeTexture ( QOpenGLFunctions funcs,
GLuint  id 
)
static

Definition at line 176 of file qopengltexturecache.cpp.

References funcs.

Referenced by QOpenGLCachedTexture::QOpenGLCachedTexture().

+ Here is the caller graph for this function:

◆ Q_TRACE_POINT() [1/2]

Q_TRACE_POINT ( qtopengl  ,
QOpenGLTextureCache_bindTexture_entry  ,
QOpenGLContext context,
qint64  key,
const unsigned char *  image,
int  options 
)

◆ Q_TRACE_POINT() [2/2]

Q_TRACE_POINT ( qtopengl  ,
QOpenGLTextureCache_bindTexture_exit   
)