Closed Bug 580601 Opened 14 years ago Closed 13 years ago

GLContextEGL::CreateEGLPixmapOffscreenContext is broken

Categories

(Core :: Graphics, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 659832

People

(Reporter: romaxa, Unassigned)

Details

On latest trunk, 
http://mxr.mozilla.org/mozilla-central/source/gfx/thebes/GLContextProviderEGL.cpp#1059

GLContextEGL::CreateEGLPixmapOffscreenContext   call  GetGlobalContextEGL
http://mxr.mozilla.org/mozilla-central/source/gfx/thebes/GLContextProviderEGL.cpp#1132

which is calling CreateOffScreen
http://mxr.mozilla.org/mozilla-central/source/gfx/thebes/GLContextProviderEGL.cpp#1284

and that is calling GLContextEGL::CreateEGLPixmapOffscreenContext
http://mxr.mozilla.org/mozilla-central/source/gfx/thebes/GLContextProviderEGL.cpp#1176


This looks very strange and broken
ah, and full  call sequence is:
WEBGL->CreateOffScreen->CreateEGLPixmapOffscreenContext->GetGlobalContextEGL->CreateOffScreen->CreateEGLPixmapOffscreenContext->GetGlobalContextEGL->null->null->null
I was testing on Qt port, and Qt port works fine on Desktop with GLX backend
Ah, CreateEGLPixmapOffscreenContext is just missing a boolean arg to specify that sharing is not required, which GetGlobalContextEGL should specify.
QA Contact: thebes → ajuma
The fix identified in Comment 3 was included in the patch for Bug 659832.
Status: NEW → RESOLVED
Closed: 13 years ago
QA Contact: ajuma → thebes
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.