Closed Bug 762263 Opened 12 years ago Closed 12 years ago

Add EGLSync

Categories

(Core :: Graphics: CanvasWebGL, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla16

People

(Reporter: jgilbert, Assigned: jgilbert)

References

Details

Attachments

(1 file)

We need EGLSync for sychronizing between contexts without 'sharing' them, particularly for EGLImage work.
Attached patch patchSplinter Review
Add EGLSync support.
Attachment #630753 - Flags: review?(bjacob)
Depends on: 762265
Comment on attachment 630753 [details] [diff] [review]
patch

Review of attachment 630753 [details] [diff] [review]:
-----------------------------------------------------------------

::: gfx/gl/GLDefs.h
@@ +3261,5 @@
> +#define LOCAL_EGL_SIGNALED                    0x30F2
> +#define LOCAL_EGL_UNSIGNALED                  0x30F3
> +#define LOCAL_EGL_SYNC_PRIOR_COMMANDS_COMPLETE  0x30F0
> +#define LOCAL_EGL_SYNC_FLUSH_COMMANDS_BIT     0x0001
> +#define LOCAL_EGL_FOREVER                     0xFFFFFFFFFFFFFFFFull

Is this a swear word?
Attachment #630753 - Flags: review?(bjacob) → review+
I hate these long constants. I am always suspicious they have the wrong number of Fs.
https://hg.mozilla.org/mozilla-central/rev/26a6e89c1efa
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: