Skip to content

Commit

Permalink
Revert "egl/android: Fix unsupported egl config r10g10b10a2, recordab…
Browse files Browse the repository at this point in the history
…le_android=0 for media cts"

This reverts commit 0ebc3b5.

Tracked-On: OAM-122074
Signed-off-by: Lin, Shenghua <[email protected]>
  • Loading branch information
ShenghuaLinINTEL authored and sysopenci committed Jul 10, 2024
1 parent bbbfed2 commit f167e1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/egl/drivers/dri2/platform_android.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down Expand Up @@ -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,
};

Expand Down

0 comments on commit f167e1d

Please sign in to comment.