Closed Bug 1658126 Opened 5 years ago Closed 5 years ago

Fix EGL_ANDROID_native_fence_sync check on Android

Categories

(Core :: Graphics, defect)

Unspecified
Android
defect

Tracking

()

RESOLVED FIXED
82 Branch
Tracking Status
firefox82 --- fixed

People

(Reporter: sotaro, Assigned: sotaro)

References

Details

Attachments

(1 file)

On recent android, EGL_ANDROID_native_fence_sync support is not reported even when eglDupNativeFenceFDANDROID() exists.

On chromium, when eglDupNativeFenceFDANDROID() exist and Android api version is more than or equal to Nougat(24), it assumes that EGL_ANDROID_native_fence_sync is supported.

https://source.chromium.org/chromium/chromium/src/+/master:ui/gl/gl_surface_egl.cc;l=992

Assignee: nobody → sotaro.ikeda.g
Blocks: 1649354
OS: Unspecified → Android
Severity: -- → S3

Sotaro, thanks for reporting and taking this bug.
Is there a better component for it other than Core: General?

Flags: needinfo?(sotaro.ikeda.g)

Sorry, I had to choose Core/Graphics. But the problem was already addressed as part of Bug 1656034.

Component: General → Graphics
Flags: needinfo?(sotaro.ikeda.g)
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME

Bug 1656034 changed as to load the eglDupNativeFenceFDANDROID(). But egl->IsExtensionSupported(EGLExtension::ANDROID_native_fence_sync) is still false.

Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Pushed by sikeda.birchill@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3e7bfeeb2ac4 Fix EGL_ANDROID_native_fence_sync check for android r=jgilbert
Status: REOPENED → RESOLVED
Closed: 5 years ago5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: