Commit graph

52 commits

Author SHA1 Message Date
Keith Packard
7363d448c7 Use BYTE for one-byte values. #undef Drawable needed. 2006-11-24 13:45:25 -08:00
Keith Packard
a86f4b9442 Create Properties when configured. Pending defaults to Current
Change property semantics to create them with empty value
when they are configured.

When clients request the Pending value of a property without any pending
vlaue, the current value is returned instead.
2006-11-24 13:44:55 -08:00
Keith Packard
af852261ef Change properties to have a pending value and report valid values.
Pending values are transferred to current values at mode set, allowing a
queue of values to accrue in preparation for the modeset operation while
still reporting valid 'current' values for applications.

The set of valid values is also available so applications can present
a reasonable list to the user during configuration.

I renumbered a bunch of requests to keep property requests sequential.
2006-11-20 20:58:16 -08:00
Keith Packard
cdc282c299 Remove output options. Clean up other sizes.
Output options will be controlled by properties instead.
Also found a few instances in randrproto.txt using the wrong
size for MODEINFO.
2006-11-16 08:50:49 -08:00
Keith Packard
96977842d0 Fix RRNumberErrors, start adding standard property names 2006-11-01 11:50:50 -08:00
Keith Packard
0e858436af Move physical size information from mode to output.
Modes are stored in CRTCs which have no physical size.
Outputs have a physical size which can change, both in response
to mode changes as well as (potentially) other factors.

Placing the physical size information in the output also permits clone
mode to work across monitors of differing physical size.
2006-11-01 00:23:37 -08:00
Keith Packard
369d4e7d20 Remove mode origins. Add preferred mode count.
Switched from identifying source of mode line to listing which modes are
preferred by each output. This enables better CRTC sharing by making modes
less arbitrarily different.
2006-10-04 20:03:35 -07:00
Keith Packard
3c354e7245 Get rid of mode origins. 2006-10-04 14:51:48 -07:00
Keith Packard
ee843ac707 Add mode origins and output options.
Mode origins indicate the source of the mode information, from VESA timings,
user config or whatever.

Output options currently include only panel fitting options; more may be
added later (this field is 32 bits wide)
2006-10-03 21:02:39 -07:00
Keith Packard
d6c9bdd0e6 Add mode origins and output options.
Also document non-obvious defined types. Eliminate mode options.
2006-10-03 11:01:56 -07:00
Keith Packard
61d60a93dc Update package version to 1.2.0. Fix various goofs found by building stuff. 2006-09-19 16:33:40 -07:00
Keith Packard
ce292d7cad Fix various random typos found while attempting to use header files
Fix RRNumberRequests
Rename errors to include RR to avoid conflicting with Xi.
Add RR to various request/reply structs (oops).
Remove nOutputs from SetCrtcConfigReq -- length is sufficient.
Remove bogus members from SetCrtcConfigReply.
Add MODEOPTION. Document protocol error encoding.
2006-09-17 23:41:55 -07:00
Keith Packard
d6992dd3b7 Add CONNECTION values to spec and header.
Missing CONNECTION values in encoding and header file.
2006-09-15 15:41:02 -07:00
Keith Packard
e9a5a489ac Update header files for new 1.2 spec. Fix missing bits in spec.
Spec was missing a few things in the encoding section.
2006-09-14 23:53:04 -07:00
Keith Packard
81ecda4300 Add .gitignore 2006-09-13 12:35:05 -07:00
Keith Packard
1cb8f4cda5 Fix RandR opcodes 2006-09-13 12:33:58 -07:00
Keith Packard
b34676e8f7 Add Output properties and CRTC Gamma ramps. Move sub-pixel to Output.
The property requests mirror the core window property requests, except that
notify events are delivered to windows, rather than to outputs.

Gamma ramps lifted from XFree86V-idModeExtension; clients get to deal with
converting single value to ramp though.

Subpixel moved to output; clients get to figure out the effect of rotation
on subpixel ordering.
2006-09-13 12:23:08 -07:00
Keith Packard
1ec6ea06b8 Spelling and formatting fixes. 2006-09-12 18:40:03 -07:00
Keith Packard
e81693720d Rearrange modes to be listed with screen resources. Encoding.
Modes are now listed as screen resources instead of with the output; they're
shared across outputs for cloning.

Wrote up encoding.
2006-09-12 16:48:22 -07:00
Keith Packard
4e47d7af05 Finish basic request descriptions for version 1.2
outputs now report list of valid modes. crtcs accept a valid mode which must
be supported on all connected outputs.

outputs also report connection status.
2006-09-11 22:49:15 -07:00
Keith Packard
dd19f8fbfc Move supported mode list from CRTC to OUTPUT. 2006-09-11 22:19:28 -07:00
Keith Packard
62decb70de Start rework for screen/CRTC/monitor scheme. 2006-09-11 21:29:39 -07:00
Keith Packard
5220e7d7df Swizzle protocol contents to fix errors discovered while implementing X server piece 2006-06-27 22:38:32 +02:00
Keith Packard
c414ce4494 Just use CARD16 for indices 2006-06-27 02:27:10 +02:00
Keith Packard
bbaabdd105 Finish randerproto.h change for 1.2. Use Window instead of Drawable for 1.2. 2006-06-26 14:33:18 +02:00
Keith Packard
d606ad207c move protocol.txt to randrproto.txt. Start updating headers for version 1.2 2006-06-26 12:42:50 +02:00
Keith Packard
69f5562610 Finish encodings for 1.2 additions. 2006-06-25 08:51:27 +02:00
Keith Packard
efde5d9569 Start specifying the encoding for 1.2 requests 2006-06-25 03:35:24 +02:00
Keith Packard
bb97699dcd Describe relationship between RandR, Xinerama and XFree86-VidModeExtension 2006-06-25 03:25:59 +02:00
Keith Packard
66cb6d24ec Add RRMonitorChangeNotify event. Complete RRSetMonitorConfig. 2006-06-25 03:10:20 +02:00
Keith Packard
3b72072c31 Repair broken parts of spec. Add RRGetMonitorInfo and RRSetMonitorConfig 2006-06-24 17:35:35 -07:00
Keith Packard
2907236309 Clean up really broken text in the spec 2006-06-24 16:58:16 -07:00
Keith Packard
2370c88074 Reformat license text, add Intel copyright 2006-06-24 16:22:44 -07:00
Keith Packard
79af1c0351 Introduce Xinerama changes. Remove spurious 'Bad' error name prefix. 2006-06-24 16:14:07 -07:00
Kevin E Martin
914084f13a Update package version number for final X11R7 release candidate. 2005-12-15 00:24:38 +00:00
Kevin E Martin
49011800c0 Update package version number for RC1 release. 2005-10-19 02:48:14 +00:00
Eric Anholt
6f41ee7aa4 Add basic .cvsignore files for proto modules. 2005-08-02 19:19:39 +00:00
Kevin E Martin
224663a4c0 Various changes preparing packages for RC0:
- Verify and update package version numbers as needed
- Implement versioning scheme
- Change bug address to point to bugzilla bug entry form
- Disable loadable i18n in libX11 by default (use --enable-loadable-i18n to
    reenable it)
- Fix makedepend to use pkgconfig and pass distcheck
- Update build script to build macros first
- Update modular Xorg version
2005-07-29 21:22:56 +00:00
Daniel Stone
fd007cfa47 Set version to 1.1. 2005-05-21 04:14:00 +00:00
Adam Jackson
0e6b22b572 revert last change, didn't do right thing at all, sorry for the noise 2005-05-19 00:22:40 +00:00
Adam Jackson
b805a55661 Require automake 1.7 in AM_INIT_AUTOMAKE 2005-05-19 00:10:18 +00:00
Josh Triplett
cede321965 Add COPYING file for Randr. Note that the two included licenses are very
similar, but contain a few minor differences when referring to the
    companies granting the license, HP and Compaq.
2005-05-17 06:34:47 +00:00
Søren Sandmann Pedersen
b3b508a6b8 Change all the protonames from <extension>Ext to <extension>Proto. 2005-05-09 18:20:05 +00:00
Kevin E Martin
b385d6eefa Initial build system files for proto module. 2005-05-06 01:46:31 +00:00
Markus Kuhn
05a6961794 Encoding of numerous files changed to UTF-8 2004-12-04 00:42:46 +00:00
Egbert Eich
3b8859eca5 Merging XORG-CURRENT into trunk 2004-04-23 18:43:06 +00:00
Egbert Eich
17d50f3cdc Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004 2004-03-14 08:31:36 +00:00
Egbert Eich
cbbd2e5ed8 Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004 2004-03-03 12:10:54 +00:00
Egbert Eich
a94538f86f readding XFree86's cvs IDs 2004-02-26 13:35:14 +00:00
Egbert Eich
359fc691eb Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004 2004-02-26 09:22:28 +00:00