Revert "Add support for render-ahead"

This reverts commit ec100976e0655acaa204c8800dfb83dadae20cc8.

Reason for revert: b/77971494
Test: hwuiunit passes

Change-Id: I2e7dc719d2df1dd939b275496c0edc38e458c434
diff --git a/libs/hwui/renderthread/EglManager.cpp b/libs/hwui/renderthread/EglManager.cpp
index 3a49beb..6e239e3 100644
--- a/libs/hwui/renderthread/EglManager.cpp
+++ b/libs/hwui/renderthread/EglManager.cpp
@@ -83,7 +83,6 @@
     bool glColorSpace = false;
     bool scRGB = false;
     bool contextPriority = false;
-    bool presentTime = false;
 } EglExtensions;
 
 EglManager::EglManager(RenderThread& thread)
@@ -171,7 +170,6 @@
     EglExtensions.scRGB = extensions.has("EGL_EXT_gl_colorspace_scrgb");
 #endif
     EglExtensions.contextPriority = extensions.has("EGL_IMG_context_priority");
-    EglExtensions.presentTime = extensions.has("EGL_ANDROID_presentation_time");
 }
 
 bool EglManager::hasEglContext() {
@@ -244,7 +242,7 @@
                              &numConfigs) ||
             numConfigs != 1) {
             ALOGE("Device claims wide gamut support, cannot find matching config, error = %s",
-                  eglErrorString());
+                    eglErrorString());
             EglExtensions.pixelFormatFloat = false;
         }
     }
@@ -439,13 +437,6 @@
         fence();
     }
 
-    if (EglExtensions.presentTime && Properties::usePresentTime) {
-        if (!eglPresentationTimeANDROID(mEglDisplay, frame.mSurface, frame.mPresentTime)) {
-            LOG_ALWAYS_FATAL("Failed to set presentation time on surface %p, error=%s",
-                             (void*)frame.mSurface, eglErrorString());
-        }
-    }
-
     EGLint rects[4];
     frame.map(screenDirty, rects);
     eglSwapBuffersWithDamageKHR(mEglDisplay, frame.mSurface, rects, screenDirty.isEmpty() ? 0 : 1);