Closed Bug 771595 Opened 12 years ago Closed 12 years ago

Gonk widget fails to initialize the framebuffer if GL context creation fails

Categories

(Core Graveyard :: Widget: Gonk, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla16

People

(Reporter: marshall, Assigned: marshall)

References

Details

Attachments

(1 file, 2 obsolete files)

In AOSP qemu, the fallback software rendering EGL lib doesn't support GLES 2.0, which means the GL context isn't created by GLContextProviderEGL.

Currently, accelerated rendering and the framebuffer are only initialized before the attempt to create the GL context. 

The fix is to wait until _after_ attempting to create the GL context before checking whether the framebuffer needs to be initialized, and then appropriately set the |mUseAcceleratedRendering| flag..

(Note: move this to Widget: Gonk component once it's created in Bug 771591)
See Also: → 771539
The 2nd half of the emulator black screen issue on B2G github:
https://github.com/mozilla-b2g/B2G/issues/51
Attachment #639755 - Flags: review?(jones.chris.g)
Attachment #639755 - Flags: review?(jones.chris.g)
Attachment #639755 - Attachment is obsolete: true
Attachment #639762 - Flags: review?(jones.chris.g)
Attachment #639762 - Flags: review?(jones.chris.g) → review+
Keywords: checkin-needed
Rebased
Attachment #639762 - Attachment is obsolete: true
Component: Widget → Widget: Gonk
https://hg.mozilla.org/mozilla-central/rev/71be75e10f5f
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla16
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: