![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qsgrhitextureglyphcache_p.h>
Public Member Functions | |
| QSGRhiTextureGlyphCache (QSGDefaultRenderContext *rc, QFontEngine::GlyphFormat formatformat, const QTransform &matrixmatrix, const QColor &colorcolor=QColor()) | |
| ~QSGRhiTextureGlyphCache () | |
| void | createTextureData (int widthwidth, int heightheight) override |
| void | resizeTextureData (int widthwidth, int heightheight) override |
| void | beginFillTexture () override |
| void | fillTexture (const Coord &cc, glyph_t glyph, const QFixedPoint &subPixelPosition) override |
| void | endFillTexture () override |
| int | glyphPadding () const override |
| int | maxTextureWidth () const override |
| int | maxTextureHeight () const override |
| QRhiTexture * | texture () const |
| void | commitResourceUpdates (QRhiResourceUpdateBatch *mergeInto) |
| int | width () const |
| int | height () const |
| bool | eightBitFormatIsAlphaSwizzled () const |
| Public Member Functions inherited from QImageTextureGlyphCache | |
| QImageTextureGlyphCache (QFontEngine::GlyphFormat formatformat, const QTransform &matrixmatrix, const QColor &colorcolor=QColor()) | |
| ~QImageTextureGlyphCache () | |
| const QImage & | image () const |
| Public Member Functions inherited from QTextureGlyphCache | |
| QTextureGlyphCache (QFontEngine::GlyphFormat formatformat, const QTransform &matrixmatrix, const QColor &colorcolor=QColor()) | |
| ~QTextureGlyphCache () | |
| bool | populate (QFontEngine *fontEngine, qsizetype numGlyphsnumGlyphs, const glyph_t *glyphs, const QFixedPoint *positions, QPainter::RenderHints renderHints=QPainter::RenderHints(), bool includeGlyphCacheScale=false) |
| bool | hasPendingGlyphs () const |
| void | fillInPendingGlyphs () |
| void | createCache (int widthwidth, int heightheight) |
| void | resizeCache (int widthwidth, int heightheight) |
| bool | isNull () const |
| QImage | textureMapForGlyph (glyph_t gg, const QFixedPoint &subPixelPosition) const |
| Public Member Functions inherited from QFontEngineGlyphCache | |
| QFontEngineGlyphCache (QFontEngine::GlyphFormat formatformat, const QTransform &matrixmatrix, const QColor &colorcolor=QColor()) | |
| virtual | ~QFontEngineGlyphCache () |
| QFontEngine::GlyphFormat | glyphFormat () const |
| const QTransform & | transform () const |
| const QColor & | color () const |
| Public Member Functions inherited from QSharedData | |
| QSharedData () noexcept | |
| Constructs a QSharedData object with a reference count of 0. | |
| QSharedData (const QSharedData &) noexcept | |
| Constructs a QSharedData object with reference count 0. | |
| QSharedData & | operator= (const QSharedData &)=delete |
| ~QSharedData ()=default | |
Additional Inherited Members | |
| Public Attributes inherited from QTextureGlyphCache | |
| QHash< GlyphAndSubPixelPosition, Coord > | coords |
| Public Attributes inherited from QFontEngineGlyphCache | |
| QFontEngine::GlyphFormat | m_format |
| QTransform | m_transform |
| QColor | m_color |
| Public Attributes inherited from QSharedData | |
| QAtomicInt | ref |
| Protected Member Functions inherited from QTextureGlyphCache | |
| int | calculateSubPixelPositionCount (glyph_t) const |
| Protected Attributes inherited from QTextureGlyphCache | |
| QFontEngine * | m_current_fontengine |
| QHash< GlyphAndSubPixelPosition, Coord > | m_pendingGlyphs |
| int | m_w |
| int | m_h |
| int | m_cx |
| int | m_cy |
| int | m_currentRowHeight |
Definition at line 26 of file qsgrhitextureglyphcache_p.h.
| QT_BEGIN_NAMESPACE QSGRhiTextureGlyphCache::QSGRhiTextureGlyphCache | ( | QSGDefaultRenderContext * | rc, |
| QFontEngine::GlyphFormat | format, | ||
| const QTransform & | matrix, | ||
| const QColor & | color = QColor() ) |
Definition at line 12 of file qsgrhitextureglyphcache.cpp.
| QSGRhiTextureGlyphCache::~QSGRhiTextureGlyphCache | ( | ) |
Definition at line 25 of file qsgrhitextureglyphcache.cpp.
|
overridevirtual |
Reimplemented from QTextureGlyphCache.
Definition at line 98 of file qsgrhitextureglyphcache.cpp.
| void QSGRhiTextureGlyphCache::commitResourceUpdates | ( | QRhiResourceUpdateBatch * | mergeInto | ) |
Definition at line 218 of file qsgrhitextureglyphcache.cpp.
|
overridevirtual |
Reimplemented from QImageTextureGlyphCache.
Definition at line 54 of file qsgrhitextureglyphcache.cpp.
| bool QSGRhiTextureGlyphCache::eightBitFormatIsAlphaSwizzled | ( | ) | const |
Definition at line 226 of file qsgrhitextureglyphcache.cpp.
|
overridevirtual |
Reimplemented from QTextureGlyphCache.
Definition at line 173 of file qsgrhitextureglyphcache.cpp.
|
overridevirtual |
Reimplemented from QImageTextureGlyphCache.
Definition at line 152 of file qsgrhitextureglyphcache.cpp.
|
overridevirtual |
Reimplemented from QTextureGlyphCache.
Definition at line 197 of file qsgrhitextureglyphcache.cpp.
|
inline |
Definition at line 49 of file qsgrhitextureglyphcache_p.h.
|
overridevirtual |
Reimplemented from QTextureGlyphCache.
Definition at line 210 of file qsgrhitextureglyphcache.cpp.
|
overridevirtual |
Reimplemented from QTextureGlyphCache.
Definition at line 205 of file qsgrhitextureglyphcache.cpp.
|
overridevirtual |
Reimplemented from QImageTextureGlyphCache.
Definition at line 65 of file qsgrhitextureglyphcache.cpp.
|
inline |
Definition at line 43 of file qsgrhitextureglyphcache_p.h.
|
inline |
Definition at line 48 of file qsgrhitextureglyphcache_p.h.