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

(7cf6c57648c67bea42a54c561dc3c1616a305756)

#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  )