23 explicit QOpenGLVertexArrayObject(QObject* parent =
nullptr);
24 ~QOpenGLVertexArrayObject();
28 bool isCreated()
const;
29 GLuint objectId()
const;
36 inline Binder(QOpenGLVertexArrayObject *v)
40 if (vao->isCreated() || vao->create())
60 Q_DISABLE_COPY(Binder)
61 QOpenGLVertexArrayObject *vao;
65 Q_DISABLE_COPY(QOpenGLVertexArrayObject)
66 Q_DECLARE_PRIVATE(QOpenGLVertexArrayObject)
67 Q_PRIVATE_SLOT(d_func(),
void _q_contextAboutToBeDestroyed())
68 QOpenGLVertexArrayObject(QOpenGLVertexArrayObjectPrivate &dd);
void invalidateResource() override
void freeResource(QOpenGLContext *context) override
QOpenGLGlyphTexture(QOpenGLContext *ctx)
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)
static void load_glyph_image_to_texture(QOpenGLContext *ctx, QImage &img, GLuint texture, int tx, int ty)
static QT_BEGIN_NAMESPACE int next_qopengltextureglyphcache_serial_number()