summaryrefslogtreecommitdiff
path: root/randr/rrmode.c
AgeCommit message (Collapse)AuthorFilesLines
2006-12-15RandR mode list needs both output and crtc modes.Keith Packard1-1/+22
When an output no longer reports the current mode, it must still be included in the list advertised by the X server. Walk the crtcs to ensure it is included. (cherry picked from 78689d0d6630afcbcd3ce5394d12c2564a489f45 commit)
2006-11-28Ensure RandR resource types are registered before resources are created.Keith Packard1-0/+3
Now that resources can be created during server initialization, make sure the crtc, output and mode resource types are created before attempting to create associated resources. (cherry picked from commit ec83d674167e7045d5317b179c9998e3172a26dc)
2006-11-08Allow RandR objects to be created before the associated ScreenRec.Keith Packard1-49/+59
xf86 drivers need to create RandR object in the PreInit stage, before the ScreenRec is allocated. Changing the RandR DIX code to permit this required the addition of functions that later associate the objects with the related screen. An additional change is that modes are now global, and no longer associated with a specific screen. This change actually makes mode management cleaner as there is no more per-screen list of modes to deal with. This changes the RandR 1.2 ABI/API for drivers.
2006-11-01Move physical size from mode to output.Keith Packard1-2/+0
Modes can be shared across different sized monitors this way. Also caught some missing byteswapping and an incorrect return type.
2006-10-05Add preferred modes for each output. Round vrefresh. Deliver crtc events.Keith Packard1-2/+2
2006-10-03Add mode origins and output options. Fix memmoves in resource free funcs.Keith Packard1-2/+66
Output options and mode origins both affected driver ABI. memmove mistakes were causing 'Freeing resource which isn't there' messages. Prune unused non-user defined modes from available list now.
2006-09-20Avoid calling xalloc(0). Change rrScreenSizeSet to rrScreenSetSize.Keith Packard1-1/+1
2006-09-19Split out 1.0-style info and new property routines to their own files.Keith Packard1-0/+41
2006-09-19RRGetScreenResources and RRGetOutputInfo are working now.Keith Packard1-2/+3
Removed separate id field in RRModeRec. Pull screen subpixel order from Render extension. Implement RGetScreenResources and RRGetOutputInfo
2006-09-18RandR working with old clients and old API.Keith Packard1-0/+19
2006-09-17Split out RandR dispatch code from randr.c to rr*dispatch.c.Keith Packard1-5/+5
More disassembly to ease ongoing development.
2006-09-17Split RandR implementation into separate files.Keith Packard1-0/+85
RandR is getting too big to live in one file; split into one file per object type (crtc, mode, screen), leaving the rest of the code in randr.c. Code is slowly approaching the point where it will drop-in as a replacement for the old 1.0 implementation.