OSDN Git Service

Add experimental Vulkan support android-x86-8.1-r1
authorChih-Wei Huang <cwhuang@linux.org.tw>
Tue, 15 Jan 2019 03:39:59 +0000 (11:39 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Tue, 15 Jan 2019 03:39:59 +0000 (11:39 +0800)
To test it, boot via Advanced options -> Vulkan support (experimental).

boot/isolinux/isolinux.cfg
install/grub2/efi/boot/android.cfg

index 2470608..258e8d5 100644 (file)
@@ -32,13 +32,18 @@ menu begin advanced
 menu label ^Advanced options...
 menu title Advanced options
 
+label vulkan
+       menu label Live CD - ^Vulkan support (experimental)
+       kernel /kernel
+       append initrd=/initrd.img CMDLINE quiet VULKAN=1 SRC= DATA=
+
 label nosetup
        menu label Live CD - No ^Setup Wizard
        kernel /kernel
        append initrd=/initrd.img CMDLINE quiet SETUPWIZARD=0 SRC= DATA=
 
 label vesa
-       menu label Live CD ^VESA mode - No GPU hardware acceleration
+       menu label Live CD VESA mode - ^No GPU hardware acceleration
        kernel /kernel
        append initrd=/initrd.img CMDLINE nomodeset vga=ask SRC= DATA=
 
index 5f04bfb..00b0a5a 100644 (file)
@@ -92,6 +92,7 @@ if [ -s ($android)$kdir/install.img ]; then
 fi
 
 submenu "Advanced options -> " --class forward {
+       add_entry "$live - Vulkan support (experimental)" quiet VULKAN=1
        add_entry "$live - No Setup Wizard" quiet SETUPWIZARD=0
        add_entry "$live - No Hardware Acceleration" quiet nomodeset HWACCEL=0
        if [ -s ($android)$kdir/install.img ]; then