[RFC][PATCH 0/2] libdrm: Atomic mode setting stuff

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

 



Here's the libdrm part of the atomic mode setting stuff.

There's a new object I christened drmModePropertySet. It's an opaque
object which is used to keep track of property changes for the user.
Internally it's just a linked list of object_id/property_id/property_value
tuples. The list is sorted based on object_id and property_id to avoid
duplicates.

The YUYV libkms patch is there just because my test app was more geared
towards YUV than RGB, and I was too lazy to make the switch to RGB.

I also stripped out a bunch of gunk from my test app and pushed the result
to gitorious [1]. What it does is move/resize the plane and flips the CRTC
fb at the same time using the new API.

The app has a rudimentary keyboard control mechanism:
't' toggles an automatic test mode
's','z','x','c' move the plane
'S','Z','X','C' change the plane size
'f' fills the plane with a pattern, the color changes each time
'b' fills the plane with color bars
'l' loads a ppm (P6) image into the plane
'o' toggles the plane on/off
'q' quits

[1] https://gitorious.org/vsyrjala/plane
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux