Merge "Zygote: do not preload Vulkan driver in Q" into qt-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
d90f23c620
@@ -19,7 +19,6 @@
|
|||||||
#include <EGL/egl.h>
|
#include <EGL/egl.h>
|
||||||
#include <Properties.h>
|
#include <Properties.h>
|
||||||
#include <ui/GraphicBufferMapper.h>
|
#include <ui/GraphicBufferMapper.h>
|
||||||
#include <vulkan/vulkan.h>
|
|
||||||
|
|
||||||
#include "core_jni_helpers.h"
|
#include "core_jni_helpers.h"
|
||||||
|
|
||||||
@@ -67,9 +66,6 @@ void android_internal_os_ZygoteInit_nativePreloadGraphicsDriver(JNIEnv* env, jcl
|
|||||||
ScopedSCSExit x;
|
ScopedSCSExit x;
|
||||||
if (Properties::peekRenderPipelineType() == RenderPipelineType::SkiaGL) {
|
if (Properties::peekRenderPipelineType() == RenderPipelineType::SkiaGL) {
|
||||||
eglGetDisplay(EGL_DEFAULT_DISPLAY);
|
eglGetDisplay(EGL_DEFAULT_DISPLAY);
|
||||||
} else {
|
|
||||||
uint32_t count = 0;
|
|
||||||
vkEnumerateInstanceExtensionProperties(nullptr, &count, nullptr);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user