https://bugs.freedesktop.org/show_bug.cgi?id=109330

--- Comment #6 from Daniel Stone <[email protected]> ---
Yeah, I think it's reasonable. The render target is XRGB8888, and X really does
mean undefined, including 'throw content away on render' and 'invent fake
content on sample'.

I'd suggest allocating the gbm_surface as GBM_SURFACE_ARGB8888, then taking
those BOs and passing DRM_FORMAT_XRGB8888 to AddFB2. This is totally safe to
do, and will ensure that drivers preserve the alpha channel when you write out.

(I was going to say about matching EGL_NATIVE_VISUAL_ID as well given your
short example, but you already do that properly - nice!)

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

Reply via email to