Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qsgdefaultglyphnode_p.cpp File Reference
#include "qsgdefaultglyphnode_p_p.h"
#include <private/qsgmaterialshader_p.h>
#include <QtGui/private/qguiapplication_p.h>
#include <qpa/qplatformintegration.h>
#include <private/qfontengine_p.h>
#include <QtQuick/qquickwindow.h>
#include <QtQuick/private/qsgtexture_p.h>
#include <QtQuick/private/qsgdefaultrendercontext_p.h>
#include <private/qrawfont_p.h>
#include <QtCore/qmath.h>
+ Include dependency graph for qsgdefaultglyphnode_p.cpp:

Go to the source code of this file.

Classes

class  QSGTextMaskRhiShader
 
class  QSG8BitTextMaskRhiShader
 
class  QSG24BitTextMaskRhiShader
 
class  QSG32BitColorTextRhiShader
 
class  QSGStyledTextRhiShader
 
class  QSGOutlinedTextRhiShader
 

Enumerations

enum  UbufOffset {
  ModelViewMatrixOffset = 0 , ProjectionMatrixOffset = ModelViewMatrixOffset + 64 , ColorOffset = ProjectionMatrixOffset + 64 , TextureScaleOffset = ColorOffset + 16 ,
  DprOffset = TextureScaleOffset + 8 , StyleColorOffset = DprOffset + 4 + 4 , ShiftOffset = StyleColorOffset + 16
}
 

Functions

static QT_BEGIN_NAMESPACE QVector4D qsg_premultiply (const QVector4D &c, float globalOpacity)
 
static int qsg_colorDiff (const QVector4D &a, const QVector4D &b)
 

Enumeration Type Documentation

◆ UbufOffset

enum UbufOffset
Enumerator
ModelViewMatrixOffset 
ProjectionMatrixOffset 
ColorOffset 
TextureScaleOffset 
DprOffset 
StyleColorOffset 
ShiftOffset 

Definition at line 49 of file qsgdefaultglyphnode_p.cpp.

Function Documentation

◆ qsg_colorDiff()

static int qsg_colorDiff ( const QVector4D a,
const QVector4D b 
)
inlinestatic

Definition at line 539 of file qsgdefaultglyphnode_p.cpp.

Referenced by QSGTextMaskMaterial::compare(), and QSGStyledTextMaterial::compare().

+ Here is the caller graph for this function:

◆ qsg_premultiply()

static QT_BEGIN_NAMESPACE QVector4D qsg_premultiply ( const QVector4D c,
float  globalOpacity 
)
inlinestatic

Definition at line 20 of file qsgdefaultglyphnode_p.cpp.

References o.

Referenced by QSG8BitTextMaskRhiShader::updateUniformData(), QSG24BitTextMaskRhiShader::updateUniformData(), and QSGStyledTextRhiShader::updateUniformData().

+ Here is the caller graph for this function: