From 586ebf6c55ed095c2627185d90153ccfdc51c3d2 Mon Sep 17 00:00:00 2001 From: Gunnar Sletta Date: Tue, 11 Feb 2014 21:49:08 +0000 Subject: Enable program binary support through QSGRenderContext API. Change-Id: I4eecff3c8a2c727d38d394305d248eddeef87e8e Reviewed-by: Michael Brasser --- src/quick/scenegraph/qsgcontext_p.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/quick/scenegraph/qsgcontext_p.h') diff --git a/src/quick/scenegraph/qsgcontext_p.h b/src/quick/scenegraph/qsgcontext_p.h index ef67dcceba..b7dc93ae72 100644 --- a/src/quick/scenegraph/qsgcontext_p.h +++ b/src/quick/scenegraph/qsgcontext_p.h @@ -106,6 +106,9 @@ public: virtual QSGTexture *createTextureNoAtlas(const QImage &image) const; virtual QSGRenderer *createRenderer(); + virtual void compile(QSGMaterialShader *shader, QSGMaterial *material, const char *vertexCode = 0, const char *fragmentCode = 0); + virtual void initialize(QSGMaterialShader *shader); + void registerFontengineForCleanup(QFontEngine *engine); static QSGRenderContext *from(QOpenGLContext *context); -- cgit v1.2.3