NativeWidgetMacTest.SchedulePaintInRect_* fix
The gl renderer for all chromium tests was recently changed from OSMesa to SwiftShader. OSMesa offers a synchronous API to OpenGL, while SwiftShader is asynchronous (draw calls are received and yield before the drawing operation is complete, letting chromium resume its execution). Because of this it seems like the affected MacOS tests here can become idle while rendering is happening in the background, causing the tests to fail. To solve this, we need to actually wait for drawing to be completed, rather than waiting for an idle period, in order to resume the test. Doing this allows these tests to pass. R=ccameron@chromium.org Bug: chromium:870465 Change-Id: I6f1555b93a83d80b06e72b3a469c01dde44e1312 Reviewed-on: https://chromium-review.googlesource.com/1162350 Commit-Queue: Alexis Hétu <sugoi@chromium.org> Reviewed-by:ccameron <ccameron@chromium.org> Cr-Commit-Position: refs/heads/master@{#580619}
Showing
Please register or sign in to comment