#12611: screeninfo now also prints the color space and whether overlay is
supported
-----------------------------------------------+---------------------------
Reporter: hypgci | Owner: nobody
Type: enhancement | Status: new
Priority: normal | Milestone: Unscheduled
Component: Applications/Command Line Tools | Version:
Resolution: | R1/Development
Blocked By: | Keywords: GCI
Has a Patch: 1 | Blocking:
| Platform: All
-----------------------------------------------+---------------------------
Comment (by pulkomandy):
I think this is not exactly what was requested.
First a little background on Overlays: this is a feature of some video
cards, that allows putting a separate image (usually a video) above the
normal display. The overlay and main buffer are entirely separate, and can
have different color spaces. The main use for this is playing a video file
(usually in some YUV colorspace) over an RGB desktop, and letting the
video card perform colorspace conversions.
The support for overlays, and the supported colorspaces, is independant
from the screenmode. So, I would do things like this:
* {{{screenmode}}} (no options) shows the current screenmode. No changes
here.
* {{{screenmode -l}}} lists available modes. Again, no changes
* {{{screenmode -o}}} lists available overlay colorspaces. It should try
all colorspace constants (not just the 3 you have in the code), because
overlays are most often used with YUV spaces.
Sorry about this, it should have been part of the task description.
--
Ticket URL: <https://dev.haiku-os.org/ticket/12611#comment:2>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.