Add support for NV_fence to GLContext

RESOLVED FIXED in mozilla34

Status

()

Core
Graphics
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: jgilbert, Assigned: jgilbert)

Tracking

unspecified
mozilla34
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 1 obsolete attachment)

(Assignee)

Description

4 years ago
ANGLE exposes fences via NV_fence instead of ARB_sync, so if we want to get better synchronization, we'll need to support it.
(Assignee)

Comment 1

4 years ago
Created attachment 8467358 [details] [diff] [review]
nv-fence
Attachment #8467358 - Flags: review?(matt.woodrow)
Comment on attachment 8467358 [details] [diff] [review]
nv-fence

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

::: gfx/gl/GLContext.cpp
@@ +614,5 @@
>      }
>  
>  
>  #ifdef DEBUG
> +    if (true || PR_GetEnv("MOZ_GL_DEBUG"))

Debugging changes

@@ +1284,5 @@
>  GLContext::InitExtensions()
>  {
>      MakeCurrent();
>      const char* extensions = (const char*)fGetString(LOCAL_GL_EXTENSIONS);
> +    printf_stderr("\nexts: %s\n\n", extensions);

More debugging code.
Attachment #8467358 - Flags: review?(matt.woodrow) → review+
(Assignee)

Comment 3

4 years ago
Created attachment 8467541 [details] [diff] [review]
nv-fence

r=mattwoodrow
Attachment #8467358 - Attachment is obsolete: true
Attachment #8467541 - Flags: review+

Comment 5

4 years ago
https://hg.mozilla.org/mozilla-central/rev/f96a3b13d6e1
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
You need to log in before you can comment on or make changes to this bug.