X Resize and Rotate Extension - RandR

Started by AndersD, July 22, 2003, 22:37:38

Previous topic - Next topic

AndersD

I just found out about this
http://keithp.com/~keithp/talks/randr/randr/

It's suppusedly an extension to XFree86 4.3, elias do you know of this - could it be useful?

Looks like it supports changing screen size and "emulating" changing bpp?

RRGetScreenInfo

    * window Window
    * root Window
    * visual-group LISTofVISUALGROUP
    * groups-of-visual-groups LISTofGROUPofVISUALGROUP
    * sizes LISTofSIZE
    * rotations SETofROTATIONS
    * size-index SIZEID
    * visual-group-index VISUALGROUPID
    * rotation ROTATION
    * timestamp TIMESTAMP
    * config-timestamp TIMESTAMP
    * Drawable


RRSetScreenConfig

    * draw DRAWABLE
    * size-index SIZEID
    * visual-group-index VISUALGROUPID
    * rotation ROTATION
    * timestamp TIMESTAMP
    * config-timestamp TIMESTAMP
    * new-timestamp TIMESTAMP
    * config-timestamp TIMESTAMP
    * success BOOL
    * root WINDOW
    * Value, Drawable


well, maybe it's helpful, maybe not :|

elias

I looked at it but from the docs it is stated that depth changes might never be implemented:

"also note that depth switching, as described in the document is not implemented, and may (or may not) ever be implemented, as display memory is growing rapidly, and toolkits are already beginning to support migration, mitigating the need for depth switching"

(from http://xfree86.berlios.de/4.3.0/Xrandr.3.html )

I dunno, depth and fequency switching is not high on my priority list, at least not until it's properly implemented and available in most X versions)

- elias