Skip to content
Snippets Groups Projects
Commit 382c26da authored by Michel Dänzer's avatar Michel Dänzer
Browse files

glamor: Add support for exporting depth 15/8 pixmaps

This allows X to run with glamor at these depths.
parent a2d188c7
No related branches found
No related tags found
Loading
......@@ -291,6 +291,12 @@ glamor_make_pixmap_exportable(PixmapPtr pixmap, Bool modifiers_ok)
case 16:
format = GBM_FORMAT_RGB565;
break;
case 15:
format = GBM_FORMAT_ARGB1555;
break;
case 8:
format = GBM_FORMAT_R8;
break;
default:
xf86DrvMsg(scrn->scrnIndex, X_ERROR,
"Failed to make %d depth, %dbpp pixmap exportable\n",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment