Revert egl presentation time (flutter/engine#36485)

This commit is contained in:
Jonah Williams 2022-09-28 14:50:13 -07:00 committed by GitHub
parent 5b36e44eaf
commit 463c3d8cba
2 changed files with 4 additions and 8 deletions

View File

@ -958,6 +958,8 @@ TEST(RasterizerTest, TeardownNoSurface) {
}
TEST(RasterizerTest, presentationTimeSetWhenVsyncTargetInFuture) {
GTEST_SKIP() << "eglPresentationTime is disabled due to "
"https://github.com/flutter/flutter/issues/112503";
std::string test_name =
::testing::UnitTest::GetInstance()->current_test_info()->name();
ThreadHost thread_host("io.flutter.test." + test_name + ".",
@ -1042,6 +1044,8 @@ TEST(RasterizerTest, presentationTimeSetWhenVsyncTargetInFuture) {
}
TEST(RasterizerTest, presentationTimeNotSetWhenVsyncTargetInPast) {
GTEST_SKIP() << "eglPresentationTime is disabled due to "
"https://github.com/flutter/flutter/issues/112503";
std::string test_name =
::testing::UnitTest::GetInstance()->current_test_info()->name();
ThreadHost thread_host("io.flutter.test." + test_name + ".",

View File

@ -193,14 +193,6 @@ AndroidEGLSurface::AndroidEGLSurface(EGLSurface surface,
damage_(std::make_unique<AndroidEGLSurfaceDamage>()),
presentation_time_proc_(nullptr) {
damage_->init(display_, context);
const char* extensions = eglQueryString(display, EGL_EXTENSIONS);
if (HasExtension(extensions, "EGL_ANDROID_presentation_time")) {
presentation_time_proc_ =
reinterpret_cast<PFNEGLPRESENTATIONTIMEANDROIDPROC>(
eglGetProcAddress("eglPresentationTimeANDROID"));
}
}
AndroidEGLSurface::~AndroidEGLSurface() {