Skip to contentSkip to conversation

fb_image.data format for cursors?

DISCUSSION Timur Tabi 1 participant 1 message Jan 11, 2013 Framebuffer layer

lore
Share & tools
lore

Timur Tabi

author
#0 lore raw

Is there any documentation for cursor support? I'm trying to add cursor support to my framebuffer driver, and I'm having a really hard time find a description of anything.

In particular, what is the format of the image data in the fb_image.data buffer? For example, if fb_image.width = 12, and fb_image.height = 8, how is the cursor data packed into the 'data' buffer? That is, what is in data[0], data[1], etc?

Signature · 2 lines
Timur Tabi
Linux kernel developer at Freescale