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>
- Follow-Ups:
- KMS experiments
- From: Mandeep Singh Baines
- KMS experiments
- Prev by Date: [drm] failed to open device
- Next by Date: KMS experiments
- Previous by thread: [drm] failed to open device
- Next by thread: KMS experiments
- Index(es):