зеркало из https://github.com/mozilla/gecko-dev.git
Bug 990080 - Prepare for the next reycle, only if TextureClient request it r=BenWa
This commit is contained in:
Родитель
53802c10fb
Коммит
9ea14294a1
|
@ -644,7 +644,10 @@ TextureParent::CompositorRecycle()
|
||||||
mozilla::unused << SendCompositorRecycle(handle);
|
mozilla::unused << SendCompositorRecycle(handle);
|
||||||
|
|
||||||
// Don't forget to prepare for the next reycle
|
// Don't forget to prepare for the next reycle
|
||||||
mWaitForClientRecycle = mTextureHost;
|
// if TextureClient request it.
|
||||||
|
if (mTextureHost->GetFlags() & TEXTURE_RECYCLE) {
|
||||||
|
mWaitForClientRecycle = mTextureHost;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
|
|
Загрузка…
Ссылка в новой задаче