Hans de Goede <[email protected]> writes: > An alternative solution would be to add a flag argument to > glamor_fd_from_pixmap, so that callers like this one which > know for sure they want a linear bo can specify that through > a flag, and other callers can just pass in:
fd_from_pixmap is the API exposed for DRI3 to move pixmaps between applications and the server. Using this for driver to driver sharing seems like a stretch to me, so instead of adding an argument to this function, we should just create a new function which does what we want. Internally, that could either pass the necessary values through the rest of the glamor API or it could do the hack which you've already identified. Maybe 'glamor_fd_from_back_pixmap'? given where this is used? Suggestions welcome. -- -keith
signature.asc
Description: PGP signature
_______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel
