Backed out changeset 60698fb6579b (bug 959171) for B2G mochitest-3 crashes.

This commit is contained in:
Ryan VanderMeulen 2014-01-21 15:07:48 -05:00
parent 1fd07c86e1
commit ad33ff9d95
2 changed files with 0 additions and 9 deletions

View File

@ -122,7 +122,6 @@ void GrallocTextureSourceOGL::BindTexture(GLenum aTextureUnit)
gl()->fActiveTexture(aTextureUnit);
gl()->fBindTexture(textureTarget, tex);
gl()->fEGLImageTargetTexture2D(textureTarget, mEGLImage);
gl()->fActiveTexture(LOCAL_GL_TEXTURE0);
}
@ -174,13 +173,6 @@ GrallocTextureSourceOGL::SetCompositableBackendSpecificData(CompositableBackendS
}
if (!mNeedsReset) {
// Update binding to the EGLImage
gl()->MakeCurrent();
GLuint tex = GetGLTexture();
GLuint textureTarget = GetTextureTarget();
gl()->fActiveTexture(LOCAL_GL_TEXTURE0);
gl()->fBindTexture(textureTarget, tex);
gl()->fEGLImageTargetTexture2D(textureTarget, mEGLImage);
return;
}

View File

@ -225,7 +225,6 @@ CompositableDataGonkOGL::DeleteTextureIfPresent()
if (gl()->MakeCurrent()) {
gl()->fDeleteTextures(1, &mTexture);
}
mTexture = 0;
}
}