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
QImagePixmapCleanupHooks Class Reference

#include <qimagepixmapcleanuphooks_p.h>

+ Collaboration diagram for QImagePixmapCleanupHooks:

Public Member Functions

void addPlatformPixmapModificationHook (_qt_pixmap_cleanup_hook_pmd)
 
void addPlatformPixmapDestructionHook (_qt_pixmap_cleanup_hook_pmd)
 
void addImageHook (_qt_image_cleanup_hook_64)
 
void removePlatformPixmapModificationHook (_qt_pixmap_cleanup_hook_pmd)
 
void removePlatformPixmapDestructionHook (_qt_pixmap_cleanup_hook_pmd)
 
void removeImageHook (_qt_image_cleanup_hook_64)
 

Static Public Member Functions

static QImagePixmapCleanupHooksinstance ()
 
static void enableCleanupHooks (const QImage &image)
 
static void enableCleanupHooks (const QPixmap &pixmap)
 
static void enableCleanupHooks (QPlatformPixmap *handle)
 
static bool isImageCached (const QImage &image)
 
static bool isPixmapCached (const QPixmap &pixmap)
 
static void executePlatformPixmapModificationHooks (QPlatformPixmap *)
 
static void executePlatformPixmapDestructionHooks (QPlatformPixmap *)
 
static void executeImageHooks (qint64 key)
 

Detailed Description

Definition at line 29 of file qimagepixmapcleanuphooks_p.h.

Member Function Documentation

◆ addImageHook()

void QImagePixmapCleanupHooks::addImageHook ( _qt_image_cleanup_hook_64 hook)

Definition at line 29 of file qimagepixmapcleanuphooks.cpp.

References QList< T >::append().

+ Here is the call graph for this function:

◆ addPlatformPixmapDestructionHook()

void QImagePixmapCleanupHooks::addPlatformPixmapDestructionHook ( _qt_pixmap_cleanup_hook_pmd hook)

Definition at line 23 of file qimagepixmapcleanuphooks.cpp.

References QList< T >::append().

+ Here is the call graph for this function:

◆ addPlatformPixmapModificationHook()

void QImagePixmapCleanupHooks::addPlatformPixmapModificationHook ( _qt_pixmap_cleanup_hook_pmd hook)

Definition at line 18 of file qimagepixmapcleanuphooks.cpp.

References QList< T >::append().

+ Here is the call graph for this function:

◆ enableCleanupHooks() [1/3]

void QImagePixmapCleanupHooks::enableCleanupHooks ( const QImage & image)
static

Definition at line 96 of file qimagepixmapcleanuphooks.cpp.

References data_ptr().

Referenced by QOpenGLTextureCache::bindTexture(), QOpenGLTextureCache::bindTexture(), and enableCleanupHooks().

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

◆ enableCleanupHooks() [2/3]

void QImagePixmapCleanupHooks::enableCleanupHooks ( const QPixmap & pixmap)
static

Definition at line 91 of file qimagepixmapcleanuphooks.cpp.

References data_ptr(), enableCleanupHooks(), and pixmap.

+ Here is the call graph for this function:

◆ enableCleanupHooks() [3/3]

void QImagePixmapCleanupHooks::enableCleanupHooks ( QPlatformPixmap * handle)
static

Definition at line 86 of file qimagepixmapcleanuphooks.cpp.

◆ executeImageHooks()

void QImagePixmapCleanupHooks::executeImageHooks ( qint64 key)
static

Definition at line 73 of file qimagepixmapcleanuphooks.cpp.

Referenced by QImageData::~QImageData(), QImage::detach(), and QImage::detachMetadata().

+ Here is the caller graph for this function:

◆ executePlatformPixmapDestructionHooks()

void QImagePixmapCleanupHooks::executePlatformPixmapDestructionHooks ( QPlatformPixmap * pmd)
static

Definition at line 61 of file qimagepixmapcleanuphooks.cpp.

Referenced by QPlatformPixmap::~QPlatformPixmap(), and QX11PlatformPixmap::~QX11PlatformPixmap().

+ Here is the caller graph for this function:

◆ executePlatformPixmapModificationHooks()

void QImagePixmapCleanupHooks::executePlatformPixmapModificationHooks ( QPlatformPixmap * pmd)
static

Definition at line 49 of file qimagepixmapcleanuphooks.cpp.

Referenced by QPixmap::detach().

+ Here is the caller graph for this function:

◆ instance()

QT_BEGIN_NAMESPACE QImagePixmapCleanupHooks * QImagePixmapCleanupHooks::instance ( )
static

Definition at line 13 of file qimagepixmapcleanuphooks.cpp.

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

+ Here is the caller graph for this function:

◆ isImageCached()

bool QImagePixmapCleanupHooks::isImageCached ( const QImage & image)
static

Definition at line 101 of file qimagepixmapcleanuphooks.cpp.

References data_ptr().

+ Here is the call graph for this function:

◆ isPixmapCached()

bool QImagePixmapCleanupHooks::isPixmapCached ( const QPixmap & pixmap)
static

Definition at line 106 of file qimagepixmapcleanuphooks.cpp.

References data_ptr(), and pixmap.

+ Here is the call graph for this function:

◆ removeImageHook()

void QImagePixmapCleanupHooks::removeImageHook ( _qt_image_cleanup_hook_64 hook)

Definition at line 44 of file qimagepixmapcleanuphooks.cpp.

References QList< T >::removeAll().

+ Here is the call graph for this function:

◆ removePlatformPixmapDestructionHook()

void QImagePixmapCleanupHooks::removePlatformPixmapDestructionHook ( _qt_pixmap_cleanup_hook_pmd hook)

Definition at line 39 of file qimagepixmapcleanuphooks.cpp.

References QList< T >::removeAll().

+ Here is the call graph for this function:

◆ removePlatformPixmapModificationHook()

void QImagePixmapCleanupHooks::removePlatformPixmapModificationHook ( _qt_pixmap_cleanup_hook_pmd hook)

Definition at line 34 of file qimagepixmapcleanuphooks.cpp.

References QList< T >::removeAll().

+ Here is the call graph for this function:

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