Bug 1014614 - Support attach/detach of GLContext to AndroidSurfaceTexture r=jgilbert

This commit is contained in:
James Willcox
2014-10-21 08:53:01 -05:00
parent c3bcfc2143
commit f8e85c34dd
6 changed files with 178 additions and 12 deletions

View File

@@ -679,12 +679,15 @@ SurfaceTextureHost::Lock()
mSize);
}
mSurfTex->Attach(gl());
return true;
}
void
SurfaceTextureHost::Unlock()
{
mSurfTex->Detach();
}
void