Opened 11 years ago

Last modified 6 years ago

#10486 assigned enhancement

add to accelerant api to support managing multiple montors — at Version 3

Reported by: kallisti5 Owned by: axeld
Priority: normal Milestone: Unscheduled
Component: Kits/Application Kit Version: R1/Development
Keywords: Cc:
Blocked By: Blocking: #8612
Platform: All

Description (last modified by kallisti5)

We could add to the accelerant API to enable the app_server to detect the number of displays on a card, and tell the accelerant instance which display to focus on.

That would mean that the app_server would spawn one accelerant for every attached monitor. (we would need to throughly go over locking in each video card driver however)

This ticket is to track the progression of this idea. As these changes may bump the API, *NO* diffs attached should be pushed upstream until a final decision is reached.

We also need to decide if such a change is a pre-or post R1 change. We could start laying the groundwork pre-R1 so the changes post-R1 would be minimal. (however, that needs some discussion). Without a change to the accelerant api, Haiku will not support multiple displays at R1.

Change History (5)

by kallisti5, 11 years ago

Attachment: accelerantv2-r1.diff added

revision 1 of the proposed changes, likely needs expanding.

comment:1 by kallisti5, 11 years ago

patch: 01

comment:2 by kallisti5, 11 years ago

in the 1st revision patch, connector_type and encoder_type are populated by the macros in http://cgit.haiku-os.org/haiku/tree/headers/private/graphics/common/video_configuration.h

by kallisti5, 11 years ago

Attachment: accelerantv2-r2.diff added

revision 2 of the proposed changes, added hook to set display to focus on.

comment:3 by kallisti5, 11 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.