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 <gunnar.sletta@jollamobile.com>
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.
bool hasBrokenIndexBufferObjects() const { return m_brokenIBOs; }
- void compileShader(QSGMaterialShader *shader);
- void initializeShader(QSGMaterialShader *shader);
-
Q_SIGNALS:
void initialized();
void invalidated();