Hello.
Given a certain display ID of an opened screen (SA_DisplayID), how to retrieve the name of its associated monitor?
For example having a display ID corresponding to the mode "Radeon 9250:800x600 ARGB32", I need to get "Radeon 9250".
Thanks, regards
@Massi
This is probably not quite what you're looking for, but here's what Composite3DDemo does to get the screen mode name:
There is a way to get just the graphics card's name, but I can't remember that right now.
Hans
Join the Kea Campus - upgrade your skills; support my work; enjoy the Amiga corner.
https://keasigmadelta.com/ - see more of my work
@Massi
I just remembered that GfxBench2D extracts this info. Here's the snippet:
THe code above extracts more than you're looking for, but I figure that it might be useful for someone else.
Hans
Join the Kea Campus - upgrade your skills; support my work; enjoy the Amiga corner.
https://keasigmadelta.com/ - see more of my work
@Hans
Retrieving the screen mode name should definitively help me and also this should include the monitor name.
Thanks for the helpful and handy responses, as usual.
@Hans
I actually solved the problem using
IGraphics->GetDisplayInfoData( ..., struct NameInfo, DTAG_NAME, ... )
which allows to get a string like for example "Radeon 9250:800x600 ARGB32".
See more details here
http://wiki.amigaos.net/wiki/Display_Database