With skiaGL Canvas enabled, playing "cut the rope" didn't switch to next level during level switch. Need to switch twice to make screen updated. http://people.mozilla.com/~pchang/ctr/
Created attachment 786440 [details] [diff] [review] bug-902103-fix For "Cut the rope", it was easy that CanvasContext got demoted during level switching. With skiaGL canvas, the GLContext/GLScreenBuffer will be referred by CanvasLayer. Therefore, we also need to set mResetLayer as true when we clear mTarget.
Comment on attachment 786440 [details] [diff] [review] bug-902103-fix Yup looks good to me, but we need a gfx peer to review. George the rescue!
Attachment #786440 - Flags: review?(gwright) → review+
Created attachment 786918 [details] [diff] [review] free layer when context demote happened add reviewer in patch
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in before you can comment on or make changes to this bug.