Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b05f017f authored by Yiwei Zhang's avatar Yiwei Zhang Committed by android-build-merger
Browse files

Merge "Zygote: do not preload Vulkan driver in Q" into qt-dev am: d90f23c6 am: 1e647d5b

am: e6c12772

Change-Id: Id93a840243f6a331f694d25ae413f3b8a407c3f9
parents cb079e48 e6c12772
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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);
    }
}