Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Xorg still doesn't really have support for non-RGB surfaces

You really need to add context to these statements, because _right now_ I am using through Xorg a program which uses a frigging colormap, which is as non-RGB as it gets. The entire reason Xlib has this "WhitePixel" and XGetPixel and XYPixmap and other useless functions which normally fetch a lot of ire is because it tries to go out of its way to support practically other-wordly color visuals and image formats. If anything, I'd say it is precisely RGB which has the most problems with X11, specially when you go more than 24bpp.

> there for attaching GPU buffers

None of this is about the GPU, but about about directly presenting images for _hardware_ composition using direct scan-out, hardware layers or not. Exactly what Xv is about, and the reason Xv supports formats like YUV.

> There isn't any incentive to implement this in X11 either because X11 is supposed to work over the network and none of this stuff would

As if that prevented any of the extensions done to X11 in the last three decades, including Xv.



>I am using through Xorg a program which uses a frigging colormap

That doesn't change what I said. The colormap is mapping indexes to RGB palette entries and technically doesn't even support any other color spaces. Nothing about that is "non-RGB". The other visuals are just various other ways to do RGB. If this isn't making sense to you, think about how this would be implemented in the driver.

>None of this is about the GPU, but about about directly presenting images for _hardware_ composition using direct scan-out

I'm sorry? What do you suppose is doing the direct scan-out to the monitor if not the GPU?

>As if that prevented any of the extensions done to X11 in the last three decades, including Xv.

That's not relevant, XV actually does support running over the network as long as you don't use the SHM functions. But regardless, yes, it actually did. The main example being indirect GLX which hasn't been updated in decades because it's not feasible to run it over the network anymore.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: