mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 986253 - Limt a number of Fence to 4 per message r=nical
This commit is contained in:
parent
9f9416411f
commit
8dd768326c
@ -318,6 +318,11 @@ CompositableParentManager::ReturnTextureDataIfNecessary(CompositableHost* aCompo
|
||||
aCompositable->GetCompositableBackendSpecificData()->GetPendingReleaseFenceTextureList();
|
||||
// Return pending Texture data
|
||||
for (size_t i = 0; i < textureList.size(); i++) {
|
||||
// File descriptor number is limited to 4 per IPC message.
|
||||
// See Bug 986253
|
||||
if (mPrevFenceHandles.size() >= 4) {
|
||||
break;
|
||||
}
|
||||
TextureHostOGL* hostOGL = textureList[i]->AsHostOGL();
|
||||
PTextureParent* actor = textureList[i]->GetIPDLActor();
|
||||
if (!hostOGL || !actor) {
|
||||
|
Loading…
Reference in New Issue
Block a user