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

(655ff8592be71b726f39d3b1a178c3ca57944715)

#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 49 of file qsgtexture.cpp.

◆ operator==()

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

Definition at line 40 of file qsgtexture.cpp.

◆ qHash()

size_t qHash ( const QSGSamplerDescription & s,
size_t seed )
noexcept

Definition at line 54 of file qsgtexture.cpp.

References seed.

◆ qt_debug_add_texture()

static void qt_debug_add_texture ( QSGTexture * texture)
inlinestatic

Definition at line 153 of file qsgtexture.cpp.

References 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 120 of file qsgtexture.cpp.

References QSet< T >::begin(), QSet< T >::erase(), i, it, item, qCDebug, 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 174 of file qsgtexture.cpp.

References item, Q_UNUSED, qDebug, and qt_debug_texture_count.

Referenced by QSGTexture::~QSGTexture().

+ Here is the caller graph for this function:

Variable Documentation

◆ qt_debug_texture_count

int qt_debug_texture_count = 0
static