Update according to latest changes to QSGTextureProvider.