Closed Bug 1151936 Opened 10 years ago Closed 10 years ago

GLContextEGL's EGLSurface override handling

Categories

(Core :: Graphics, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla40
Tracking Status
firefox40 --- fixed

People

(Reporter: sotaro, Assigned: sotaro)

References

Details

Attachments

(1 file, 2 obsolete files)

During screen recording of Bug 1144103. It uses same GLContext for different EGLSurface. It is same way to android SurfaceFlinger does for rendering to multiple displays. To swith EGLSurface, I used GLContextEGL::SetEGLSurfaceOverride(). But it caused EGL_BAD_SURFACE error during SwapBuffers(). GLContextEGL::SwapBuffers() still used default EGLSurface.
Update EGLSurface override handling and add functions to create/destroy EGLSurface.
Assignee: nobody → sotaro.ikeda.g
Attachment #8589198 - Flags: review?(jgilbert)
Attachment #8589198 - Flags: review?(jgilbert) → review-
Fix nits.
Attachment #8589198 - Attachment is obsolete: true
Attachment #8589200 - Flags: review?(jgilbert)
Attachment #8589200 - Flags: review?(jgilbert) → review+
Fix name conflict. Carry "r=jgilbert".
Attachment #8589200 - Attachment is obsolete: true
Attachment #8589444 - Flags: review+
Blocks: 1116089
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
Blocks: 1225402
No longer blocks: 1225402
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: