diff --git a/engine/src/flutter/shell/common/rasterizer_unittests.cc b/engine/src/flutter/shell/common/rasterizer_unittests.cc index 169e83a2682..a6f7ab7159e 100644 --- a/engine/src/flutter/shell/common/rasterizer_unittests.cc +++ b/engine/src/flutter/shell/common/rasterizer_unittests.cc @@ -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 + ".", diff --git a/engine/src/flutter/shell/platform/android/android_egl_surface.cc b/engine/src/flutter/shell/platform/android/android_egl_surface.cc index fd0f4567dd5..fa1573a6e25 100644 --- a/engine/src/flutter/shell/platform/android/android_egl_surface.cc +++ b/engine/src/flutter/shell/platform/android/android_egl_surface.cc @@ -193,14 +193,6 @@ AndroidEGLSurface::AndroidEGLSurface(EGLSurface surface, damage_(std::make_unique()), 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( - eglGetProcAddress("eglPresentationTimeANDROID")); - } } AndroidEGLSurface::~AndroidEGLSurface() {