![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qsgadaptationlayer_p.h>
Classes | |
| struct | Metrics |
| struct | TexCoord |
| struct | Texture |
| struct | GlyphPosition |
| struct | GlyphData |
Public Member Functions | |
| QSGDistanceFieldGlyphCache (const QRawFont &font, int renderTypeQuality) | |
| virtual | ~QSGDistanceFieldGlyphCache () |
| const QRawFont & | referenceFont () const |
| qreal | fontScale (qreal pixelSize) const |
| qreal | distanceFieldRadius () const |
| int | glyphCount () const |
| bool | doubleGlyphResolution () const |
| int | renderTypeQuality () const |
| Metrics | glyphMetrics (glyph_t glyph, qreal pixelSize) |
| TexCoord | glyphTexCoord (glyph_t glyph) |
| const Texture * | glyphTexture (glyph_t glyph) |
| void | populate (const QList< glyph_t > &glyphs) |
| void | release (const QList< glyph_t > &glyphs) |
| void | update () |
| void | registerGlyphNode (QSGDistanceFieldGlyphConsumer *node) |
| void | unregisterGlyphNode (QSGDistanceFieldGlyphConsumer *node) |
| virtual void | processPendingGlyphs () |
| virtual bool | eightBitFormatIsAlphaSwizzled () const =0 |
| virtual bool | screenSpaceDerivativesSupported () const =0 |
| virtual bool | isActive () const |
Protected Member Functions | |
| virtual void | requestGlyphs (const QSet< glyph_t > &glyphs)=0 |
| virtual void | storeGlyphs (const QList< QDistanceField > &glyphs)=0 |
| virtual void | referenceGlyphs (const QSet< glyph_t > &glyphs)=0 |
| virtual void | releaseGlyphs (const QSet< glyph_t > &glyphs)=0 |
| void | setGlyphsPosition (const QList< GlyphPosition > &glyphs) |
| void | setGlyphsTexture (const QList< glyph_t > &glyphs, const Texture &tex) |
| void | markGlyphsToRender (const QList< glyph_t > &glyphs) |
| void | removeGlyph (glyph_t glyph) |
| void | updateRhiTexture (QRhiTexture *oldTex, QRhiTexture *newTex, const QSize &newTexSize) |
| bool | containsGlyph (glyph_t glyph) |
| GlyphData & | glyphData (glyph_t glyph) |
| GlyphData & | emptyData (glyph_t glyph) |
| int | baseFontSize () const |
Protected Attributes | |
| bool | m_doubleGlyphResolution |
| int | m_renderTypeQuality |
| QRawFont | m_referenceFont |
Definition at line 417 of file qsgadaptationlayer_p.h.
| QSGDistanceFieldGlyphCache::QSGDistanceFieldGlyphCache | ( | const QRawFont & | font, |
| int | renderTypeQuality ) |
Definition at line 33 of file qsgadaptationlayer.cpp.
|
virtual |
Definition at line 51 of file qsgadaptationlayer.cpp.
|
protected |
Definition at line 56 of file qsgadaptationlayer.cpp.
|
inlineprotected |
Definition at line 563 of file qsgadaptationlayer_p.h.
|
inline |
Definition at line 463 of file qsgadaptationlayer_p.h.
|
inline |
Definition at line 468 of file qsgadaptationlayer_p.h.
|
pure virtual |
Implemented in QSGRhiDistanceFieldGlyphCache.
|
protected |
Definition at line 61 of file qsgadaptationlayer.cpp.
Definition at line 459 of file qsgadaptationlayer_p.h.
|
inline |
Definition at line 467 of file qsgadaptationlayer_p.h.
|
protected |
Definition at line 69 of file qsgadaptationlayer.cpp.
| QSGDistanceFieldGlyphCache::Metrics QSGDistanceFieldGlyphCache::glyphMetrics | ( | glyph_t | glyph, |
| qreal | pixelSize ) |
Definition at line 96 of file qsgadaptationlayer.cpp.
|
inline |
Definition at line 546 of file qsgadaptationlayer_p.h.
|
inline |
Definition at line 551 of file qsgadaptationlayer_p.h.
|
virtual |
Reimplemented in QSGRhiDistanceFieldGlyphCache.
Definition at line 161 of file qsgadaptationlayer.cpp.
Definition at line 296 of file qsgadaptationlayer.cpp.
Definition at line 110 of file qsgadaptationlayer.cpp.
|
virtual |
Definition at line 258 of file qsgadaptationlayer.cpp.
|
inline |
Definition at line 457 of file qsgadaptationlayer_p.h.
|
protectedpure virtual |
Implemented in QSGRhiDistanceFieldGlyphCache.
|
inline |
Definition at line 480 of file qsgadaptationlayer_p.h.
Definition at line 148 of file qsgadaptationlayer.cpp.
|
protectedpure virtual |
Implemented in QSGRhiDistanceFieldGlyphCache.
Definition at line 556 of file qsgadaptationlayer_p.h.
|
inline |
Definition at line 469 of file qsgadaptationlayer_p.h.
|
protectedpure virtual |
Implemented in QSGRhiDistanceFieldGlyphCache.
|
pure virtual |
Implemented in QSGRhiDistanceFieldGlyphCache.
|
protected |
Definition at line 231 of file qsgadaptationlayer.cpp.
|
protected |
Definition at line 263 of file qsgadaptationlayer.cpp.
|
protectedpure virtual |
Implemented in QSGRhiDistanceFieldGlyphCache.
|
inline |
Definition at line 481 of file qsgadaptationlayer_p.h.
| void QSGDistanceFieldGlyphCache::update | ( | ) |
Definition at line 166 of file qsgadaptationlayer.cpp.
|
protected |
Definition at line 303 of file qsgadaptationlayer.cpp.
|
protected |
Definition at line 528 of file qsgadaptationlayer_p.h.
|
protected |
Definition at line 532 of file qsgadaptationlayer_p.h.
|
protected |
Definition at line 529 of file qsgadaptationlayer_p.h.