Cursor support

Keith Packard keithp at keithp.com
Mon May 23 12:01:42 PDT 2005


There are other reasons to want hardware cursor support:

 1) eliminate flicker when drawing
 2) Correctly blend cursor image with YUV overlays

The first is easily solved in our double buffered world by painting the
cursor image into the back buffer before it is displayed.

The second cannot be so easily resolved.  Most current video chips have
far better video quality through the YUV overlay than a YUV texture, so
it would be nice to figure out how to make this work in the EGL world.
For the 1-bit mask case, the color key technique does work, but when you
have cursor shadows or translucent cursors, the resulting image is not
correct.  One can imagine solutions involving YUV overlays + YUV
textures to get the image correct everywhere, but it may be interesting
to look into supporting the hardware cursor.

Certainly there's no hurry; any hardware cursor support can be added at
a later time.

-keith

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/dri-egl/attachments/20050523/6d01caf2/attachment.pgp


More information about the dri-egl mailing list