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
Loading
Please register or sign in to comment