Opened 11 years ago

Closed 9 years ago

#51 closed defect (invalid)

Find oculus display more reliably

Reported by: Tom Goddard Owned by: Tom Goddard
Priority: minor Milestone:
Component: Graphics Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: chimera

Description

Currently we find the oculus display by looking at all attached displays and finding one of the right size (1920 x 1080 for developer kit 2). This isn't going to work if the primary computer display has the same size. Maybe we can also check the display name (if it has a name) to verify it is an oculus display.

This problem will probably go away since Oculus says they are going to stop treating the device as another display and instead have it behave just as a peripheral that its driver knows how to talk to. They already offer this on Windows but not on Mac OS.

Change History (3)

comment:1 by Tom Goddard, 11 years ago

Although wxDisplay has a GetName() method it returns an empty string on Mac for primary and oculus displays.

I added a test to avoid putting the oculus window on the primary display.

comment:2 by Eric Pettersen, 10 years ago

Component: User InterfaceGraphics

comment:3 by Tom Goddard, 9 years ago

Resolution: invalid
Status: newclosed

VR toolkits now use direct rendering rather than extended display.

Note: See TracTickets for help on using tickets.