Bug 1910516 - Treat webgl context as in-process when determining texture type if context is lost. r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D218047
This commit is contained in:
@@ -468,8 +468,8 @@ void ClientWebGLContext::EndComposition() {
|
||||
layers::TextureType ClientWebGLContext::GetTexTypeForSwapChain() const {
|
||||
const RefPtr<layers::ImageBridgeChild> imageBridge =
|
||||
layers::ImageBridgeChild::GetSingleton();
|
||||
return layers::TexTypeForWebgl(imageBridge,
|
||||
mNotLost->outOfProcess != nullptr);
|
||||
const bool isOutOfProcess = mNotLost && mNotLost->outOfProcess != nullptr;
|
||||
return layers::TexTypeForWebgl(imageBridge, isOutOfProcess);
|
||||
}
|
||||
|
||||
void ClientWebGLContext::Present(WebGLFramebufferJS* const xrFb,
|
||||
|
||||
Reference in New Issue
Block a user