Eric Anholt
cde8806c29
Don't bump the refcnt if the new mode is NULL.
2006-11-03 16:36:34 -08:00
Keith Packard
4056e6e79a
Move physical size from mode to output.
...
Modes can be shared across different sized monitors this way.
Also caught some missing byteswapping and an incorrect return type.
2006-11-01 00:29:46 -08:00
Keith Packard
e21604914d
Merge master back in and clean up some unfinished code (closes 8745)
2006-10-25 09:48:23 -07:00
Keith Packard
59511974db
Merge branch 'master' into randr-1.2
2006-10-24 17:26:20 -07:00
Keith Packard
828c34e83c
Byte swap RRSelectInput enable flags.
2006-10-24 17:23:02 -07:00
Keith Packard
054f8cd267
Limit pointer to valid crtc areas. Add event swapping. Fix change tracking.
...
Add function to keep pointer within valid crtc areas.
Finish event delivery and swapping code.
Separate configuration from layout changes to send correct events.
2006-10-13 17:34:53 -07:00
Keith Packard
1178796a4d
Add preferred modes for each output. Round vrefresh. Deliver crtc events.
2006-10-05 22:31:35 -07:00
Keith Packard
c4f30c6353
Add mode origins and output options. Fix memmoves in resource free funcs.
...
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-10-03 21:06:11 -07:00
Keith Packard
b36fde9257
When no mode is specified, don't validate mode-specific parameters.
2006-09-21 09:52:04 -07:00
Keith Packard
219546fd76
Steal Xinerama code from SiS driver. Add missing files.
...
Provide a Xinerama implementation when DIX version isn't enabled. This
version exposes each crtc as a separate 'screen' and reports the size of
that patch. The extension also sends ConfigureNotify events to the root
window whenever crtcs change so that applications will re-fetch xinerama
information. This actually works for metacity.
2006-09-20 22:43:05 -07:00
Keith Packard
bde0a4c12c
RRSetCrtcConfig status fix. RRGetScreenResources timestamp fix.
...
RRSetCrtcConfig was returning the wrong status values.
RRGetScreenResources was always returning currentTime.
2006-09-20 19:42:34 -07:00
Keith Packard
09f7499851
typo
2006-09-20 13:15:20 -07:00
Keith Packard
9f870e0aa1
When setting output state, leave output unchanged when setting to current.
2006-09-20 13:14:53 -07:00
Keith Packard
d08718d8fd
Avoid calling xalloc(0). Change rrScreenSizeSet to rrScreenSetSize.
2006-09-20 12:05:52 -07:00
Keith Packard
ef1f3248cb
Split out 1.0-style info and new property routines to their own files.
2006-09-19 22:48:54 -07:00
Keith Packard
07112adb08
RRGetScreenResources and RRGetOutputInfo are working now.
...
Removed separate id field in RRModeRec.
Pull screen subpixel order from Render extension.
Implement RGetScreenResources and RRGetOutputInfo
2006-09-19 00:46:27 -07:00
Keith Packard
afe5e9483b
RandR working with old clients and old API.
2006-09-18 12:18:22 -07:00
Keith Packard
bf07893947
Split out RandR dispatch code from randr.c to rr*dispatch.c.
...
More disassembly to ease ongoing development.
2006-09-17 23:08:12 -07:00
Keith Packard
3e745745fe
Split RandR implementation into separate files.
...
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.
2006-09-17 23:08:12 -07:00
Keith Packard
d17fb9672e
Start moving to new randr 1.2 definition
2006-09-17 23:08:12 -07:00
Keith Packard
8dec74321d
Successful legacy RandR API/Protocol emulation for query.
...
These changes clean up minor errors to make it possible to list the
available modes for a monitor using legacy APIs in both the X server DDX and
RandR protocol. Setting modes is untested, so it probably doesn't work.
2006-09-17 23:08:11 -07:00
Keith Packard
cab3a0145f
RandR: New data structure, old API. At least it compiles now
2006-09-17 23:08:11 -07:00
Keith Packard
d95c758630
Preliminary RandR 1.2 work
2006-09-17 23:08:11 -07:00
Adam Jackson
0aaac95b0d
Remove RCS tags. Fix Xprint makefile braindamage.
2006-07-21 17:56:00 -04:00
Daniel Stone
84683f19b4
get rid of XFree86LOADER, XFree86Server, XFree86Module, and IN_MODULE
...
Get rid of almost all uses of these definitions. They're still defined for
delinquent out-of-tree drivers, and also for the Mesa build. As well as
for miinitext.c. But largely gone.
2006-07-18 18:17:38 -04:00
Donnie Berkholz
0f065059dc
Wrap a couple more SDK headers in if XORG, as per Dave Airlie's commit on
...
2006-01-18.
2006-04-17 07:27:43 +00:00
Eric Anholt
c3d1403672
Remove libcwrapper usage from xorg server modules. The libcwrapper is only
...
of (marginal) use in the drivers, and that usage remains.
2006-02-10 22:00:30 +00:00
Alan Hourihane
2ab487d4d2
Add a new function RRGetRotation() which does exactly the same thing as
...
xf86GetRotation(), but allows for drivers to provide their own RandR
implementation. xf86GetRotation could be obsoleted by this change.
2006-02-01 22:20:05 +00:00
Alan Hourihane
af5b3ea4b3
add randrstr.h to sdk_HEADERS
2006-01-19 14:51:09 +00:00
Kevin E Martin
7c00afd0ec
Define XFree86Server only where it is required.
2005-12-02 06:02:45 +00:00
Kevin E Martin
da5d66f2ff
Fix usage of XFree86LOADER/XFree86Module/IN_MODULE and update loadable
...
module builds to reflect this change.
2005-11-29 16:39:33 +00:00
Daniel Stone
0bb669638f
Change <X11/misc.h> and <X11/os.h> to "misc.h" and "os.h".
2005-07-03 08:53:54 +00:00
Daniel Stone
e03198972c
Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
...
Add XSERV_t, TRANS_SERVER, TRANS_REOPEN to quash warnings.
Add #include <dix-config.h> or <xorg-config.h>, as appropriate, to all
source files in the xserver/xorg tree, predicated on defines of
HAVE_{DIX,XORG}_CONFIG_H. Change all Xfont includes to
<X11/fonts/foo.h>.
2005-07-03 07:02:09 +00:00
Daniel Stone
826a6f029f
Continuing Makefile cleanup; add DIX_CFLAGS and XORG_CFLAGS everywhere.
2005-07-02 18:59:44 +00:00
Daniel Stone
9b1debcdb6
Change all misc.h and os.h references to <X11/foo.h>.
2005-07-01 22:43:43 +00:00
Daniel Stone
ded56b1a74
Adding initial build system.
2005-07-01 20:29:53 +00:00
Daniel Stone
292c4cff26
Fix includes right throughout the Xserver tree:
...
change "foo.h" to <X11/foo.h> for core headers, e.g. X.h, Xpoll.h;
change "foo.h", "extensions/foo.h" and "X11/foo.h" to
<X11/extensions/foo.h> for extension headers, e.g. Xv.h;
change "foo.[ch]" to <X11/Xtrans/foo.[ch]> for Xtrans files.
2005-04-20 12:25:48 +00:00
Markus Kuhn
44f4713a05
Encoding of numerous files changed to UTF-8
2004-12-04 00:43:13 +00:00
Alexander Gottwald
c5ab3fdd92
#Bug 780: add RRSetScreenConfig
2004-06-25 08:56:04 +00:00
Egbert Eich
2fb5886200
Merging XORG-CURRENT into trunk
2004-04-23 19:54:30 +00:00
Egbert Eich
dae90c3af9
Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004
2004-03-14 08:34:49 +00:00
Egbert Eich
867451f1ab
Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004
2004-03-03 12:12:50 +00:00
Egbert Eich
df0313d35b
readding XFree86's cvs IDs
2004-02-26 13:36:15 +00:00
Egbert Eich
147aae87fd
Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004
2004-02-26 09:23:53 +00:00
Kaleb Keithley
adc7f9a4eb
XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folks
2003-11-25 19:29:01 +00:00
Kaleb Keithley
9508a382f8
Initial revision
2003-11-14 16:48:57 +00:00