[Dri-users] KMS experiments
leo.gillot at navaati.net
Wed Feb 29 05:53:15 PST 2012
I'm trying to play with KMS using libdrm and libkms.
With the help of people on #xorg-devel (thanks to them) i wrote the code
in attachment. It is supposed to display a red square of 100x100 pixels
at the top left corner of the screen. Of course it does not : when i run
it, there is actually a mode setting operation done since my tty goes
black but no red square appears.
Could somebody check this code to see the obvious errors or
misunderstanding of the whole thing i must have done ?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3254 bytes
More information about the dri-users