mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-12-05 20:45:43 +00:00
fix(quest): stabilize desktop and Steam layer presentation Keep Quest SDR scenes and the black backdrop off the Android Vulkan swapchain regardless of session order or HDR preferences. Only report the first frame after client content is submitted. Add backdrop lifecycle and first-frame regression coverage. Record the user's successful Quest 3 Test 2 result. Co-authored-by: xXJsonDeruloXx <danielhimebauch@gmail.com>
14 lines
603 B
C
14 lines
603 B
C
#ifndef DROIDDECK_QUEST_DEVICE_H
|
|
#define DROIDDECK_QUEST_DEVICE_H
|
|
#include <string.h>
|
|
#include <strings.h>
|
|
|
|
/* Presentation only; this does not select a GPU driver or expand driver support. */
|
|
static inline int quest_device_matches(const char *model, const char *device, const char *maker) {
|
|
return !strcasecmp(model, "Quest 2") || !strcasecmp(model, "Quest 3") ||
|
|
!strcasecmp(model, "Quest 3S") ||
|
|
((!strcasecmp(maker, "Oculus") || !strcasecmp(maker, "Meta")) &&
|
|
(!strcmp(device, "hollywood") || !strcmp(device, "eureka") || !strcmp(device, "panther")));
|
|
}
|
|
#endif
|