fix(graphics): fall back from unsupported auto display drivers (#2356)

* fix(graphics): fall back from unsupported auto display drivers

* refactor(graphics): drop the unused Auto recommendation lookup

* fix(graphics): repair automatic display fallback build

* test(wayland): keep Vulkan caller harness linkable

---------

Co-authored-by: Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com>
This commit is contained in:
MaxsTechReviewandKurt Himebauch authored and GitHub committed 2026-11-15 10:13:06 -05:00
1 parent 2e64ae7575
commit 4e3eeea5e2
10 files changed
+57 -3

No files matched your search

@@ -64,6 +64,7 @@ object CompositorHost {
com.droiddeck.launcher.gpu.TpUbwcHint.applyToProcess(context)
WaylandCompositor.nativeStartWithSurface(
surface, xdgRuntimeDir, driverPath, libraryName, nativeLibDir,
SessionPrefs.androidDriver(context).isEmpty(),
)
attached = surface
started = true
@@ -153,7 +153,7 @@ public final class WaylandCompositor {
public static native void nativeStartWithSurface(Surface surface, String xdgRuntimeDir,
String driverPath, String libraryName,
String nativeLibDir);
String nativeLibDir, boolean allowDriverFallback);
public static native void nativeSetSurface(Surface surface);
public static native boolean nativeWaitSurface(int timeoutMs);