Bug 1311642 - Remove BeginUpdate and EndUpdate from GLTextureImage. r=nical

Only DirectUpdate was actually being used, so remove the dead
code. TextureImageCGL does't do anything over BasicTextureImage any more
so remove it too.

MozReview-Commit-ID: D7jpC9M7aTT
This commit is contained in:
Jamie Nicol
2016-10-20 17:11:00 +01:00
parent 8f0b32857f
commit 3a2786f6bf
10 changed files with 7 additions and 630 deletions

View File

@@ -193,9 +193,6 @@ TextureImageTextureSourceOGL::Update(gfx::DataSourceSurface* aSurface,
mTexImage->UpdateFromDataSource(aSurface, aDestRegion, aSrcOffset);
if (mTexImage->InUpdate()) {
mTexImage->EndUpdate();
}
return true;
}