Commit ec0acf64 by Jonah Ryan-Davis Committed by Commit Bot

Reland "Reinitialize GL_VENDOR string when GPU switches"

This is a reland of 0f083ab0 Original change's description: > Reinitialize GL_VENDOR string when GPU switches > > We already update the GL_RENDERER string. We should do the same for > GL_VENDOR so this information is passed along correctly. > > Bug: chromium:1152212 > Change-Id: I639700bfebdc9e77ec3c6b41fcd6516e8c32139d > Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2560824 > Reviewed-by: Jonah Ryan-Davis <jonahr@google.com> > Reviewed-by: Geoff Lang <geofflang@chromium.org> > Commit-Queue: Jonah Ryan-Davis <jonahr@google.com> Bug: chromium:1152212 Change-Id: I044313366ce6ce7040e5c203a979b148dcb564dd Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2569364Reviewed-by: 's avatarJonah Ryan-Davis <jonahr@google.com> Commit-Queue: Jonah Ryan-Davis <jonahr@google.com>
parent 2c8bc1b7
...@@ -2042,8 +2042,10 @@ void Display::returnScratchBufferImpl(angle::ScratchBuffer scratchBuffer, ...@@ -2042,8 +2042,10 @@ void Display::returnScratchBufferImpl(angle::ScratchBuffer scratchBuffer,
bufferVector->push_back(std::move(scratchBuffer)); bufferVector->push_back(std::move(scratchBuffer));
} }
egl::Error Display::handleGPUSwitch() Error Display::handleGPUSwitch()
{ {
return mImplementation->handleGPUSwitch(); ANGLE_TRY(mImplementation->handleGPUSwitch());
initVendorString();
return NoError();
} }
} // namespace egl } // namespace egl
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment