Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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()

quint64 cacheSize ( )
static

Definition at line 64 of file qopengltexturecache.cpp.

◆ freeTexture()

void freeTexture ( QOpenGLFunctions * funcs,
GLuint id )
static

Definition at line 176 of file qopengltexturecache.cpp.

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