зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1036011 - Remove WaitForBufferOwnership() from TextureClientPool::GetTextureClient() r=nical
This commit is contained in:
Родитель
3a399651f4
Коммит
55363c7261
|
@ -64,7 +64,6 @@ SimpleTextureClientPool::GetTextureClient(bool aAutoRecycle)
|
|||
RefPtr<TextureClient> textureClient;
|
||||
if (mAvailableTextureClients.size()) {
|
||||
textureClient = mAvailableTextureClients.top();
|
||||
textureClient->WaitForBufferOwnership();
|
||||
mAvailableTextureClients.pop();
|
||||
RECYCLE_LOG("%s Skip allocate (%i left), returning %p\n", (mFormat == SurfaceFormat::B8G8R8A8?"poolA":"poolX"), mAvailableTextureClients.size(), textureClient.get());
|
||||
|
||||
|
|
|
@ -44,7 +44,6 @@ TextureClientPool::GetTextureClient()
|
|||
RefPtr<TextureClient> textureClient;
|
||||
if (mTextureClients.size()) {
|
||||
textureClient = mTextureClients.top();
|
||||
textureClient->WaitForBufferOwnership();
|
||||
mTextureClients.pop();
|
||||
return textureClient;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче