Merge "Zygote: do not preload Vulkan driver in Q" into qt-dev

am: d90f23c620

Change-Id: I73a044285f72e7b17ece1d747a355e5ab930520b
This commit is contained in:
Yiwei Zhang
2019-06-14 17:26:07 -07:00
committed by android-build-merger

View File

@@ -19,7 +19,6 @@
#include <EGL/egl.h>
#include <Properties.h>
#include <ui/GraphicBufferMapper.h>
#include <vulkan/vulkan.h>
#include "core_jni_helpers.h"
@@ -67,9 +66,6 @@ void android_internal_os_ZygoteInit_nativePreloadGraphicsDriver(JNIEnv* env, jcl
ScopedSCSExit x;
if (Properties::peekRenderPipelineType() == RenderPipelineType::SkiaGL) {
eglGetDisplay(EGL_DEFAULT_DISPLAY);
} else {
uint32_t count = 0;
vkEnumerateInstanceExtensionProperties(nullptr, &count, nullptr);
}
}