There are a couple different bugs around which need ARB_sync. We should throw it into GLContext here, since it's easy to simply implement and expose it. At least we can get ARB_sync into GLContext quickly, and get the individual uses in as they become ready.
This patch exposes FenceSync, DeleteSync, WaitSync, and GetSynciv as per spec. Other functions are part of the spec as well, but these are the functions that are most useful to us, and that I have seen used by other patches.
Attachment #609525 - Flags: review?(bjacob) → review+
Waiting on Try build: https://tbpl.mozilla.org/?tree=Try&rev=9194ec4fb9f4
Same patch in principle, but exposes all functionality of ARB_sync, instead of what I had arbitrarily (and incorrectly) thought would be all we would need. Try-build at: https://tbpl.mozilla.org/?tree=Try&rev=526c6332ba2a
Finally got it building on android by using "mozilla/StandardInteger.h".
Bitrot from bug 741689.
Attachment #612737 - Flags: review?(bjacob) → review+
Target Milestone: --- → mozilla14
Status: ASSIGNED → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.