Bug 1014614 - Support attach/detach of GLContext to AndroidSurfaceTexture r=jgilbert
This commit is contained in:
@@ -679,12 +679,15 @@ SurfaceTextureHost::Lock()
|
||||
mSize);
|
||||
}
|
||||
|
||||
mSurfTex->Attach(gl());
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
void
|
||||
SurfaceTextureHost::Unlock()
|
||||
{
|
||||
mSurfTex->Detach();
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user