KMS experiments

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi.

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 ?

Regards,

L?o Gillot-Lamure.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kms_test.c
Type: text/x-csrc
Size: 3254 bytes
Desc: 
URL: <http://lists.freedesktop.org/archives/dri-users/attachments/20120229/7520e0ea/attachment.c>


[Index of Archives]     [Linux DRI Development]     [Linux Intel Graphics]     [Linux AMD Graphics]     [Video for Linux]     [Linux Audio Users]     [Yosemite Waterfalls]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux Media]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux