зеркало из https://github.com/mozilla/gecko-dev.git
Merge mozilla-central to mozilla-inbound
This commit is contained in:
Коммит
a616fff1d3
|
@ -741,8 +741,10 @@ gfxPlatformGtk::CreateHardwareVsyncSource()
|
|||
// Only use GLX vsync when the OpenGL compositor is being used.
|
||||
// The extra cost of initializing a GLX context while blocking the main
|
||||
// thread is not worth it when using basic composition.
|
||||
// Also don't use it on non-X11 displays.
|
||||
if (gfxConfig::IsEnabled(Feature::HW_COMPOSITING)) {
|
||||
if (gl::sGLXLibrary.SupportsVideoSync()) {
|
||||
if (GDK_IS_X11_DISPLAY(gdk_display_get_default()) &&
|
||||
gl::sGLXLibrary.SupportsVideoSync()) {
|
||||
RefPtr<VsyncSource> vsyncSource = new GLXVsyncSource();
|
||||
VsyncSource::Display& display = vsyncSource->GetGlobalDisplay();
|
||||
if (!static_cast<GLXVsyncSource::GLXDisplay&>(display).Setup()) {
|
||||
|
|
|
@ -90,7 +90,7 @@ AVD_DICT = {
|
|||
'testing/config/tooltool-manifests/androidx86_6_0/mach-emulator.manifest',
|
||||
['-skip-adb-auth', '-verbose', '-show-kernel',
|
||||
'-ranchu',
|
||||
# does not boot if '-engine', 'qemu2',
|
||||
'-engine', 'qemu2',
|
||||
'-memory', '3072', '-cores', '4',
|
||||
'-qemu', '-enable-kvm'],
|
||||
True),
|
||||
|
@ -99,8 +99,8 @@ AVD_DICT = {
|
|||
'testing/config/tooltool-manifests/androidx86_7_0/mach-emulator.manifest',
|
||||
['-skip-adb-auth', '-verbose', '-show-kernel',
|
||||
'-ranchu',
|
||||
'-engine', 'qemu2',
|
||||
'-selinux', 'permissive',
|
||||
# does not boot if '-engine', 'qemu2',
|
||||
'-memory', '3072', '-cores', '4',
|
||||
'-qemu', '-enable-kvm'],
|
||||
True)
|
||||
|
@ -530,7 +530,7 @@ class AndroidEmulator(object):
|
|||
log_path)
|
||||
self.proc = ProcessHandler(
|
||||
command, storeOutput=False, processOutputLine=outputHandler,
|
||||
env=env)
|
||||
env=env, ignore_children=True)
|
||||
self.proc.run()
|
||||
_log_debug("Emulator started with pid %d" %
|
||||
int(self.proc.proc.pid))
|
||||
|
|
Загрузка…
Ссылка в новой задаче