24 explicit QOpenGLVertexArrayObject(QObject* parent =
nullptr);
25 ~QOpenGLVertexArrayObject();
29 bool isCreated()
const;
30 GLuint objectId()
const;
37 inline Binder(QOpenGLVertexArrayObject *v)
41 if (vao->isCreated() || vao->create())
61 Q_DISABLE_COPY(Binder)
62 QOpenGLVertexArrayObject *vao;
66 Q_DISABLE_COPY(QOpenGLVertexArrayObject)
67 Q_DECLARE_PRIVATE(QOpenGLVertexArrayObject)
68 Q_PRIVATE_SLOT(d_func(),
void _q_contextAboutToBeDestroyed())
69 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()