Comment # 6
on bug 109330
from Daniel Stone
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 Nouveau@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/nouveau