Bug 1014614 - Support attach/detach of GLContext to AndroidSurfaceTexture r=jgilbert
This commit is contained in:
@@ -102,6 +102,11 @@ void TexturePoolOGL::Fill(GLContext* aContext)
|
||||
sMonitor->NotifyAll();
|
||||
}
|
||||
|
||||
GLContext* TexturePoolOGL::GetGLContext()
|
||||
{
|
||||
return sActiveContext;
|
||||
}
|
||||
|
||||
void TexturePoolOGL::Init()
|
||||
{
|
||||
sMonitor = new Monitor("TexturePoolOGL.sMonitor");
|
||||
|
||||
Reference in New Issue
Block a user