Commit graph

66 commits

Author SHA1 Message Date
Keith Packard
aa5cd18a9f Add filters to CRTC transforms.
This allows scaling transforms to use bilinear filtering if desired.
2008-03-15 00:32:35 -07:00
Keith Packard
329b2068c1 Add Transform request proposal for 1.3 2008-02-15 15:54:44 -08:00
James Cloos
2df8499d24 Replace static ChangeLog with dist-hook to generate from git log 2007-12-06 16:39:05 -05:00
Jakob Bornecrantz
3243afaa59 Correct a copy'n'paste error in RRGetOutputInfo spec text. 2007-04-17 14:25:53 -07:00
Alan Coopersmith
d1c5739ae1 Delete duplicate B32's in xRRScreenChangeNotifyEvent
Caused compiler warnings:
  "randrproto.h", line 567: warning: syntax error:  empty member declaration
  "randrproto.h", line 568: warning: syntax error:  empty member declaration
2007-04-09 14:31:10 -07:00
Keith Packard
aada204b1f Bump version to 1.2.1.
And add copyright to configure.ac file
2007-02-18 21:02:30 -08:00
Keith Packard
0e689cecd6 Fix wording about requesting ConfigureNotify events. 2007-02-18 21:02:10 -08:00
Eric Anholt
34ebf25a88 Fix the size of the padding fields of xRRGetCrtcGamma. 2007-02-01 15:08:10 -08:00
Eric Anholt
615f8077c5 Install the randr protocol description. 2007-01-09 09:40:47 -08:00
Keith Packard
335639ba8f More bugs found by Ian Osgood during the XCB work.
ListOutputProperties has no nProperties field.
Pad fields not mentioned in Gamma requests.
sz_xRROUtputChangeNotifyEvent -> sz_xRROutputChangeNotifyEvent
2006-11-30 13:25:35 -08:00
Keith Packard
504556a9f8 Merge branch 'multi-monitor' 2006-11-30 09:44:20 -08:00
Keith Packard
3d521b3d38 Fix padding bugs discovered in XCB work 2006-11-30 09:43:10 -08:00
Eric Anholt
c27ece2592 Merge branch 'multi-monitor'
This brings in the changes for RandR 1.2 protocol.
2006-11-27 15:31:33 -08:00
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
Alan Coopersmith
3305f634fa renamed: .cvsignore -> .gitignore 2006-07-14 18:56:26 -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