Join GitHub today
Fix flickering on Android #21842
This is particularly noticeable in debug builds on WebGL pages, but also appears during startup when loading normal pages. requestRender() causes Android to swap buffers under the assumption that the buffer contains a fully rendered frame, but when calling it from
I'm surprised that works.
I agree that the requestRender should not be here and only be called from the compositor.
But, if servo is in "animating" mode, and your PR works, that means someone is calling
When Servo is animating,
So, I think the proper fix is to replace
But I'd like to know why this is working without