From 7ceefa60ab4f79d5f40e7051edf80c1a77ae7734 Mon Sep 17 00:00:00 2001 From: Michael Brasser Date: Fri, 14 Feb 2014 16:20:22 -0600 Subject: Revert "Fix scenegraph backend API for material shaders." This reverts commit a8a90519cb35481e96fe8889846bfaa424e13e8a. The same functionality is now available in a more extensible way via the program binary support recently added. Change-Id: I07b1939611a76858e65605ce625da6c4cbca2114 Reviewed-by: Gunnar Sletta --- src/quick/scenegraph/qsgcontext.cpp | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/quick/scenegraph/qsgcontext.cpp') diff --git a/src/quick/scenegraph/qsgcontext.cpp b/src/quick/scenegraph/qsgcontext.cpp index f91dfc5304..c58ae85f30 100644 --- a/src/quick/scenegraph/qsgcontext.cpp +++ b/src/quick/scenegraph/qsgcontext.cpp @@ -445,20 +445,6 @@ void QSGRenderContext::registerFontengineForCleanup(QFontEngine *engine) m_fontEnginesToClean << engine; } -/*! - compile/initialize are protected member functions of QSGMaterialShader. - We expose them here for custom renderers. - */ -void QSGRenderContext::compileShader(QSGMaterialShader *shader) -{ - shader->compile(); -} - -void QSGRenderContext::initializeShader(QSGMaterialShader *shader) -{ - shader->initialize(); -} - /*! Initializes the scene graph render context with the GL context \a context. This also emits the ready() signal so that the QML graph can start building scene graph nodes. -- cgit v1.2.3