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 , 11 years ago
comment:2 by , 10 years ago
Component: | User Interface → Graphics |
---|
comment:3 by , 9 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
VR toolkits now use direct rendering rather than extended display.
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.