Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 52de2fda authored by Courtney Goeltzenleuchter's avatar Courtney Goeltzenleuchter
Browse files

EGL: Properly strip out unknown attributes

Introduced a bug when adding SMPTE support.
EGL wrapper needs to strip out color space extension information that
the driver doesn't recognize to prevent calls into the driver from
failing. e.g. EGL_GL_COLORSPACE_DISPLAY_P3_EXT or SMPTE extension
attributes such as EGL_SMPTE2086_WHITE_POINT_X_EXT.

Test: adb -d shell am start -n \
      com.drawelements.deqp/android.app.NativeActivity \
      -e cmdLine '"deqp --deqp-case=dEQP-EGL.functional.hdr_color.* \
      --deqp-log-filename=/sdcard/dEQP-Log.qpa"'
Bug: b/72705818, b/72753050

Change-Id: I7a4bb9579da04783952aaf49d96f9d67460390db
parent 0b267105
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment