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

(b5a05e4e7e97f8ef5c4cc65fee0cfcfd9e4c5cc4)

#include "qsgdistancefieldglyphnode_p_p.h"
#include "qsgrhidistancefieldglyphcache_p.h"
#include <QtGui/qsurface.h>
#include <QtGui/qwindow.h>
#include <qmath.h>
+ Include dependency graph for qsgdistancefieldglyphnode_p.cpp:

Go to the source code of this file.

Classes

class  QSGDistanceFieldTextMaterialRhiShader
 
class  DistanceFieldAnisotropicTextMaterialRhiShader
 
class  DistanceFieldStyledTextMaterialRhiShader
 
class  DistanceFieldOutlineTextMaterialRhiShader
 
class  DistanceFieldAnisotropicOutlineTextMaterialRhiShader
 
class  DistanceFieldShiftedStyleTextMaterialRhiShader
 
class  DistanceFieldAnisotropicShiftedTextMaterialRhiShader
 
class  QSGHiQSubPixelDistanceFieldTextMaterialRhiShader
 
class  QSGLoQSubPixelDistanceFieldTextMaterialRhiShader
 

Functions

static QT_BEGIN_NAMESPACE float qt_sg_envFloat (const char *name, float defaultValue)
 
static float thresholdFunc (float glyphScale)
 
static float spreadFunc (float glyphScale)
 

Function Documentation

◆ qt_sg_envFloat()

static QT_BEGIN_NAMESPACE float qt_sg_envFloat ( const char * name,
float defaultValue )
static

Definition at line 12 of file qsgdistancefieldglyphnode_p.cpp.

References ok, Q_LIKELY, qEnvironmentVariableIsSet(), and qgetenv().

Referenced by spreadFunc(), and thresholdFunc().

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

◆ spreadFunc()

static float spreadFunc ( float glyphScale)
static

Definition at line 30 of file qsgdistancefieldglyphnode_p.cpp.

References qt_sg_envFloat().

Referenced by QSGDistanceFieldTextMaterialRhiShader::updateUniformData(), and DistanceFieldOutlineTextMaterialRhiShader::updateUniformData().

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

◆ thresholdFunc()

static float thresholdFunc ( float glyphScale)
static

Definition at line 21 of file qsgdistancefieldglyphnode_p.cpp.

References base, qBound(), and qt_sg_envFloat().

Referenced by QSGDistanceFieldTextMaterialRhiShader::updateUniformData(), and DistanceFieldOutlineTextMaterialRhiShader::updateUniformData().

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