Closed Bug 1048562 Opened 10 years ago Closed 10 years ago

Add support for NV_fence to GLContext

Categories

(Core :: Graphics, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla34

People

(Reporter: jgilbert, Assigned: jgilbert)

Details

Attachments

(1 file, 1 obsolete file)

ANGLE exposes fences via NV_fence instead of ARB_sync, so if we want to get better synchronization, we'll need to support it.
Attached patch nv-fence (obsolete) — Splinter Review
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+
Attached patch nv-fenceSplinter Review
r=mattwoodrow
Attachment #8467358 - Attachment is obsolete: true
Attachment #8467541 - Flags: review+
https://hg.mozilla.org/mozilla-central/rev/f96a3b13d6e1
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: