andreasgal/B2G — Issue #59: Apparent race condition in initialization of GL stack
Author: cgjones
Created: 2011-11-15 06:13:20+00:00
State: open

CC @mwu, @jlebar, @shianyow

@mwu and @jlebar have noticed a problem in the gonk widget backend in which gecko can't draw to the screen after startup, leaving a black screen. I've noticed a problem with the android widget backend in which gecko sometimes fails to create a GL layer manager, and has to fall back on CPU compositing (which *destroys* performance of the home screen).

They sound like they might both be caused by the same underlying problem: failure to create a GL context around the time of startup, possibly due to a race condition. I don't know what might cause this. It'd be interesting to look at the android GL implementation and see what it does. It might have a solution to this problem already.