Bug 1450255 - Don't reset the TextureSource when uploading tiles with advanced layers. r=nical

LayerManagerMLGPU does not have a compositor so this line will force the TextureHost to
reupload the buffer later in this function when the TextureSource is set correctly.

--HG--
extra : amend_source : 57f41549565cf770c98ace6d49460d21468568a7
This commit is contained in:
Ryan Hunt 2018-04-02 13:35:50 -05:00
Родитель 4c64dee806
Коммит f8901aa7a0
1 изменённых файлов: 0 добавлений и 1 удалений

Просмотреть файл

@ -320,7 +320,6 @@ TiledLayerBufferComposite::UseTiles(const SurfaceDescriptorTiles& aTiles,
const TexturedTileDescriptor& texturedDesc = tileDesc.get_TexturedTileDescriptor();
tile.mTextureHost = TextureHost::AsTextureHost(texturedDesc.textureParent());
tile.mTextureHost->SetTextureSourceProvider(aLayerManager->GetCompositor());
if (texturedDesc.readLocked()) {
tile.mTextureHost->SetReadLocked();
}