I'm not sure OpenGL has any support for uploading RGBX/XRGB pixel data (extensions?). It only seems to support RGBA/ARGB etc. So for that reason we might have to drop support (or warn and deprecate) for software surfaces with 32-bit RGBX/XRGB.
We do indeed need to populate the alpha channel by hand. And I suggest that's better done in the client than a hack in Mir. So you should probably switch to RGBA/ARGB etc now.
I'm not sure OpenGL has any support for uploading RGBX/XRGB pixel data (extensions?). It only seems to support RGBA/ARGB etc. So for that reason we might have to drop support (or warn and deprecate) for software surfaces with 32-bit RGBX/XRGB.
We do indeed need to populate the alpha channel by hand. And I suggest that's better done in the client than a hack in Mir. So you should probably switch to RGBA/ARGB etc now.