![]() |
Qt 6.x
The Qt SDK
|
#include "qopengltextureglyphcache_p.h"
#include <private/qopenglpaintengine_p.h>
#include "private/qopenglengineshadersource_p.h"
#include <private/qopenglextensions_p.h>
#include <qrgb.h>
#include <private/qdrawhelper_p.h>
Go to the source code of this file.
Functions | |
static QT_BEGIN_NAMESPACE int | next_qopengltextureglyphcache_serial_number () |
static bool | isCoreProfile () |
static void | load_glyph_image_to_texture (QOpenGLContext *ctx, QImage &img, GLuint texture, int tx, int ty) |
static void | load_glyph_image_region_to_texture (QOpenGLContext *ctx, const QImage &srcImg, int x, int y, int w, int h, GLuint texture, int tx, int ty) |
|
inlinestatic |
Definition at line 60 of file qopengltextureglyphcache.cpp.
References QSurfaceFormat::CoreProfile, QOpenGLContext::currentContext(), QOpenGLContext::format(), and QSurfaceFormat::profile().
Referenced by QOpenGLEngineSharedShaders::QOpenGLEngineSharedShaders(), QOpenGLTextureGlyphCache::createTextureData(), load_glyph_image_to_texture(), and QOpenGLTextureGlyphCache::resizeTextureData().
|
static |
Definition at line 222 of file qopengltextureglyphcache.cpp.
References QImage::copy(), QImage::height(), load_glyph_image_to_texture(), Q_ASSERT, and QImage::width().
Referenced by QOpenGLTextureGlyphCache::fillTexture(), and QOpenGLTextureGlyphCache::resizeTextureData().
|
static |
Definition at line 152 of file qopengltextureglyphcache.cpp.
References ARGB2RGBA(), avg, fmt, QImage::Format_ARGB32_Premultiplied, QImage::Format_Grayscale8, QImage::Format_Mono, QImage::Format_RGB32, funcs, GL_BGRA, GL_RED, GL_RGBA, GL_UNSIGNED_BYTE, GLenum(), isCoreProfile(), Q_BIG_ENDIAN, qAlpha(), qBlue(), qGreen(), qRed(), QRgb, and qRgba().
Referenced by QOpenGLTextureGlyphCache::fillTexture(), and load_glyph_image_region_to_texture().
|
static |
Definition at line 14 of file qopengltextureglyphcache.cpp.
References Q_BASIC_ATOMIC_INITIALIZER.