mirror of
https://github.com/godotengine/godot-angle-static.git
synced 2026-01-03 14:09:33 +03:00
Capture/Replay: recreate the EGL window if contexts don't match
In addition enable affected tests. Bug: angleproject:5955 Change-Id: I4fb72e38a633daa4565d3c0ae7cddb6ace7226f1 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2891775 Commit-Queue: Gert Wollny <gert.wollny@collabora.com> Reviewed-by: Jamie Madill <jmadill@chromium.org> Reviewed-by: Cody Northrop <cnorthrop@google.com>
This commit is contained in:
@@ -90,6 +90,11 @@ EGLContext EGLWindow::getContext() const
|
||||
return mContext;
|
||||
}
|
||||
|
||||
bool EGLWindow::isContextVersion(EGLint glesMajorVersion, EGLint glesMinorVersion) const
|
||||
{
|
||||
return mClientMajorVersion == glesMajorVersion && mClientMinorVersion == glesMinorVersion;
|
||||
}
|
||||
|
||||
bool EGLWindow::initializeGL(OSWindow *osWindow,
|
||||
angle::Library *glWindowingLibrary,
|
||||
angle::GLESDriverType driverType,
|
||||
|
||||
Reference in New Issue
Block a user