aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@digia.com>2014-02-24 19:55:03 +0100
committerFrederik Gladhorn <frederik.gladhorn@digia.com>2014-02-24 19:55:05 +0100
commit00be968679152105fece89c3243a457b52d3f268 (patch)
tree3ca2128e7df8df3a69095f59cc0e384f7848c57e
parent5130f4a679ae38a1d931384188c021112a44065e (diff)
parent7ceefa60ab4f79d5f40e7051edf80c1a77ae7734 (diff)
Merge remote-tracking branch 'origin/release' into stable
-rw-r--r--src/quick/scenegraph/qsgcontext.cpp14
-rw-r--r--src/quick/scenegraph/qsgcontext_p.h3
2 files changed, 0 insertions, 17 deletions
diff --git a/src/quick/scenegraph/qsgcontext.cpp b/src/quick/scenegraph/qsgcontext.cpp
index 9f58876def..0fe23f68ba 100644
--- a/src/quick/scenegraph/qsgcontext.cpp
+++ b/src/quick/scenegraph/qsgcontext.cpp
@@ -428,20 +428,6 @@ void QSGRenderContext::registerFontengineForCleanup(QFontEngine *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.
*/
diff --git a/src/quick/scenegraph/qsgcontext_p.h b/src/quick/scenegraph/qsgcontext_p.h
index f8d5588649..2ab78ce289 100644
--- a/src/quick/scenegraph/qsgcontext_p.h
+++ b/src/quick/scenegraph/qsgcontext_p.h
@@ -115,9 +115,6 @@ public:
bool hasBrokenIndexBufferObjects() const { return m_brokenIBOs; }
- void compileShader(QSGMaterialShader *shader);
- void initializeShader(QSGMaterialShader *shader);
-
Q_SIGNALS:
void initialized();
void invalidated();