From 766328dc42091289873c7e79ad6d8ec57977cd26 Mon Sep 17 00:00:00 2001 From: "Lin, Shenghua" Date: Mon, 8 Jul 2024 07:00:38 +0000 Subject: [PATCH] Revert "egl/android: Fix unsupported egl config r10g10b10a2, recordable_android=0 for media cts" This reverts commit 0ebc3b545262968e252a6a6eb8052279a68d122c. Tracked-On: OAM-122074 Signed-off-by: Lin, Shenghua --- src/egl/drivers/dri2/platform_android.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/egl/drivers/dri2/platform_android.c b/src/egl/drivers/dri2/platform_android.c index 02250a89aee..4e14106fb10 100644 --- a/src/egl/drivers/dri2/platform_android.c +++ b/src/egl/drivers/dri2/platform_android.c @@ -801,7 +801,6 @@ droid_add_configs_for_visuals(_EGLDisplay *disp) {HAL_PIXEL_FORMAT_RGBA_8888, {0, 8, 16, 24}, {8, 8, 8, 8}}, {HAL_PIXEL_FORMAT_RGBX_8888, {0, 8, 16, -1}, {8, 8, 8, 0}}, {HAL_PIXEL_FORMAT_RGB_565, {11, 5, 0, -1}, {5, 6, 5, 0}}, - {HAL_PIXEL_FORMAT_RGBA_1010102, {0, 10, 20, 30}, {10, 10, 10, 2}}, /* This must be after HAL_PIXEL_FORMAT_RGBA_8888, we only keep BGRA * visual if it turns out RGBA visual is not available. */ @@ -846,6 +845,8 @@ droid_add_configs_for_visuals(_EGLDisplay *disp) visuals[i].format, EGL_FRAMEBUFFER_TARGET_ANDROID, EGL_TRUE, + EGL_RECORDABLE_ANDROID, + EGL_TRUE, EGL_NONE, };