colour pallete utilities

Christopher Harvey charvey at matrox.com
Tue Mar 19 12:15:14 PDT 2013


Does the Linux kernel have functions to convert images to palleted
images? I want to display a 4bit palleted cursor, not too sure how to
handle that in DRM. Some ideas I have:

 * change DRM to handle palleted cursors
 * convert 32bit images in drivers
 * write library functions do convert
 * require the conversion to be done in userspace

thanks,
Chris


More information about the dri-devel mailing list