crocus: EGL_ANDROID_native_fence_sync extension is missing
I'm building Android 13 for x86 platform, for an Intel Baytrail platform, using 2 different variants:
- mesa3d 20.3.0 (AOSP) and i965 classic driver
- mesa3d 22.3.0-dev (main branch mesa3d) and crocus gallium driver
When using the i965 classic driver, SurfaceFlinger reports EGL_ANDROID_native_fence_sync extension. But when using crocus gallium driver, it is not present. This then produces an avalanche of errors in the logs when using/displaying webcam stream in a chrome webview (that's how I noticed it).
From what I can see, the crocus code inherited the fence support from iris, but it does not advertise support for PIPE_CAP_NATIVE_FENCE_FD, which may be why the EGL extension is not present.
Is this intentional, an oversight, work in progress?