diff --git a/shell/common/rasterizer_unittests.cc b/shell/common/rasterizer_unittests.cc index 4ae9beb937396..ab10a9b6ea74d 100644 --- a/shell/common/rasterizer_unittests.cc +++ b/shell/common/rasterizer_unittests.cc @@ -915,6 +915,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 + ".", @@ -995,6 +997,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/shell/platform/android/android_egl_surface.cc b/shell/platform/android/android_egl_surface.cc index fd0f4567dd53e..fa1573a6e25cc 100644 --- a/shell/platform/android/android_egl_surface.cc +++ b/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() {