On Thu, Apr 12, 2018 at 2:25 PM, Mario Kleiner <mario.kleiner...@gmail.com> wrote: > On 04/12/2018 07:43 PM, Ilia Mirkin wrote: >> >> On Thu, Apr 12, 2018 at 1:18 PM, Mario Kleiner >> <mario.kleiner...@gmail.com> wrote: >>> >>> X11 Prime renderoffload is another unsolved problem with nouveau depth >>> 30. >>> Currently we get swapped red-blue with intel + nvidia. We could extend >>> the >>> buffer creation code to convert nouveau's rgba format into the bgra >>> format >>> wanted by intel or amd display gpu's during the blitImage call for >>> converting the tiled renderbuffer to the linear buffer, like i try for >>> the >>> wayland+egl case. But we'd need to know what the display gpu wants. >>> Haven't >>> looked into that. >> >> >> FWIW the NVIDIA hardware is perfectly happy to render into BGR10_A2. >> Just can't display it. >> >> -ilia >> > > Yes, but due to one of your earlier depth 30 commits we only expose formats > with PIPE_BIND_DISPLAY_TARGET, so that ability is hidden from driver > independent code like the EGL platform code, GLX etc. to prevent exposing > formats that the hw can't display.
Yeah. The generic code would have to distinguish between "rendering" and "displaying. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev