Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qsgtexture.cpp File Reference
#include "qsgtexture_p.h"
#include "qsgtexture_platform.h"
#include <private/qqmlglobal_p.h>
#include <private/qsgmaterialshader_p.h>
#include <private/qsgrenderer_p.h>
#include <private/qquickitem_p.h>
#include <private/qquickwindow_p.h>
#include <QtCore/private/qnativeinterface_p.h>
#include <rhi/qrhi.h>
#include "moc_qsgtexture.cpp"
+ Include dependency graph for qsgtexture.cpp:

Go to the source code of this file.

Functions

QT_BEGIN_NAMESPACE bool operator== (const QSGSamplerDescription &a, const QSGSamplerDescription &b) noexcept
 
bool operator!= (const QSGSamplerDescription &a, const QSGSamplerDescription &b) noexcept
 
size_t qHash (const QSGSamplerDescription &s, size_t seed) noexcept
 
static void qt_debug_print_texture_count ()
 
static void qt_debug_add_texture (QSGTexture *texture)
 
static void qt_debug_remove_texture (QSGTexture *texture)
 

Variables

static int qt_debug_texture_count = 0
 

Function Documentation

◆ operator!=()

bool operator!= ( const QSGSamplerDescription a,
const QSGSamplerDescription b 
)
noexcept

Definition at line 47 of file qsgtexture.cpp.

◆ operator==()

QT_BEGIN_NAMESPACE bool operator== ( const QSGSamplerDescription a,
const QSGSamplerDescription b 
)
noexcept

Definition at line 38 of file qsgtexture.cpp.

◆ qHash()

size_t qHash ( const QSGSamplerDescription s,
size_t  seed 
)
noexcept

Definition at line 52 of file qsgtexture.cpp.

References seed.

◆ qt_debug_add_texture()

static void qt_debug_add_texture ( QSGTexture texture)
inlinestatic

Definition at line 151 of file qsgtexture.cpp.

References QHash< Key, T >::insert(), item, Q_UNUSED, qt_debug_print_texture_count(), and qt_debug_texture_count.

Referenced by QSGTexture::QSGTexture(), and QSGTexture::QSGTexture().

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

◆ qt_debug_print_texture_count()

static void qt_debug_print_texture_count ( )
inlinestatic

Definition at line 118 of file qsgtexture.cpp.

References QHash< Key, T >::begin(), QHash< Key, T >::erase(), i, QHash< Key, T >::isEmpty(), it, item, qDebug, and qt_debug_texture_count.

Referenced by qt_debug_add_texture().

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

◆ qt_debug_remove_texture()

static void qt_debug_remove_texture ( QSGTexture texture)
static

Definition at line 172 of file qsgtexture.cpp.

References item, Q_UNUSED, qDebug, qt_debug_texture_count, QHash< Key, T >::remove(), and QHash< Key, T >::value().

Referenced by QSGTexture::~QSGTexture().

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

Variable Documentation

◆ qt_debug_texture_count

int qt_debug_texture_count = 0
static