mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1036011 - Remove WaitForBufferOwnership() from TextureClientPool::GetTextureClient() r=nical
This commit is contained in:
parent
108a02c349
commit
7921c28136
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user