Descriptionview-manager: Fix some issues regarding running tests in x11.
During testing, some X11 windows do not get mapped at all (for as yet
not-understood reasons). So the calls to BlockUntilWindowMapped() blocks
indefinitely. So set the override_redirect flag on when creating windows
in tests.
Also:
. Trigger PlatformWindowDelegate::OnAcceleratedWidgetAvailable() after
mapping the window completes.
. Initialize aura::Env after initializing GL.
. Remove the --use-test-config flag, and instead replace with a combination
of --use-x11-test-config to set-up X11 for tests (threaded, and turn on
override_redirect), and the existing
--override-use-gl-with-osmesa-for-tests.
BUG=523144
Committed: https://crrev.com/f33f4399b40b281758038d237416e3560aca4e0c
Cr-Commit-Position: refs/heads/master@{#346948}
Patch Set 1 #Patch Set 2 : . #Patch Set 3 : . #
Total comments: 2
Patch Set 4 : . #
Messages
Total messages: 10 (3 generated)
|