Jason Ekstrand <[email protected]> writes: > The original drmmode_glamor_new_screen_pixmap function was specific to the > primary screen pixmap. This commit pulls the guts out into a new, more > general, drmmode_set_pixmap_bo function for setting a buffer on a pixmap. > The new function also properly tears down the glamor bits if the buffer > being set is NULL. The drmmode_glamor_new_screen_pixmap function is now > just a 3-line wrapper around drmmode_set_pixmap_bo. > > v2 Jason Ekstrand <[email protected]>: > - Re-arranged code in drmmode_set_pixmap_bo and > drmmode_glamor_handle_new_screen_pixmap so that glamor_set_screen_pixmap > only gets called for the screen pixmap > - Guard the call to glamor_set_screen_pixmapa with a drmmode->glamor > check
Reviewed-by: Keith Packard <[email protected]> -- -keith
signature.asc
Description: PGP signature
_______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
