summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Deprecate randrprotoHEADmasterAdam Jackson2018-03-013-74/+4
| | | | Signed-off-by: Adam Jackson <ajax@redhat.com>
* autogen: add default patch prefixMihail Konev2017-01-261-0/+3
| | | | Signed-off-by: Mihail Konev <k.mvc@ya.ru>
* autogen.sh: use quoted string variablesEmil Velikov2017-01-241-4/+4
| | | | | | | | | Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent fall-outs, when they contain space. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* autogen.sh: use exec instead of waiting for configure to finishPeter Hutterer2017-01-241-1/+1
| | | | | | Syncs the invocation of configure with the one from the server. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* spec: Fix RRCrtcGetModes typoChristophe Fergeau2015-09-251-2/+2
| | | | | | | The correct name is RRCrtcGetInfo. Signed-off-by: Christophe Fergeau <cfergeau@redhat.com> Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
* randrproto: remove duplicate definition of Atom typeRobert Ancell2015-09-181-2/+0
| | | | | | | The Atom type was defined a second time with the 1.5 changes. It was already previously defined to be a CARD32. Signed-off-by: Robert Ancell <robert.ancell@canonical.com>
* randrproto 1.5.0randrproto-1.5.0Dave Airlie2015-05-170-0/+0
|
* randrproto: clarify output XID lifetimes.Dave Airlie2015-05-041-0/+8
| | | | | | | | This just makes a note that randr won't make outputs disappear dynamically. Reviewed-by: Aaron Plattner <aplattner@nvidia.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
* randrproto: add tile property info for randr 1.5Dave Airlie2015-03-302-0/+32
| | | | | | | expose this as an array of 8 32-bit values. Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
* Add Monitors, update version to 1.5 (v2)Keith Packard2015-03-304-5/+245
| | | | | | | | | v2: [airlied] add get_active to monitor get interface, to allow normal vs configuration clients to see active vs all monitors. (r-b by keithp) Reviewed-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Keith Packard <keithp@keithp.com>
* Fix spelling errors in randrproto.txtKeith Packard2015-03-301-2/+2
| | | | | Reviewed-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Keith Packard <keithp@keithp.com>
* randrproto 1.4.1randrproto-1.4.1Alan Coopersmith2015-03-142-3/+3
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* spec: RRCrtcChangeMask and RROutputChangeMask are not thingsAaron Plattner2014-01-211-7/+7
| | | | | | | | | | The correct names for these are RRCrtcChangeNotifyMask and RROutputChangeNotifyMask, respectively. v2: "when a the configuration" is also not a thing. Signed-off-by: Aaron Plattner <aplattner@nvidia.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* spec: Move the GUID property into a new section since xrandr-1.4.0 was ↵Aaron Plattner2014-01-061-0/+5
| | | | | | | | | | already released I pushed commit 19fc4c5a72eb9919d720ad66734029d9f8e313b1 before I remembered that xrandr-1.4.0 has already been released. Move it to a new 1.4.1 section. Signed-off-by: Aaron Plattner <aplattner@nvidia.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Bug 73176 - randrproto typo (s/fundmentally/fundamentally)Alan Coopersmith2014-01-051-1/+1
| | | | | | https://bugs.freedesktop.org/show_bug.cgi?id=73176 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Add a "GUID" propertyAaron Plattner2014-01-032-0/+13
| | | | | | | | This property represents the globally-unique identifier of the connected display, if one is available. Signed-off-by: Aaron Plattner <aplattner@nvidia.com> Reviewed-by: Andy Ritger <aritger@nvidia.com>
* config: replace deprecated use of AC_OUTPUT with AC_CONFIG_FILESGaetan Nadon2013-10-261-1/+2
| | | | | | | Fix Automake warning: AC_OUTPUT should be used without arguments. www.gnu.org/software/autoconf/manual/autoconf.html#Configuration-Files Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* autogen.sh: Implement GNOME Build APIbaserock/morphColin Walters2013-01-151-1/+3
| | | | | | http://people.gnome.org/~walters/docs/build-api.txt Signed-off-by: Adam Jackson <ajax@redhat.com>
* configure: Remove AM_MAINTAINER_MODEAdam Jackson2013-01-151-1/+0
| | | | Signed-off-by: Adam Jackson <ajax@redhat.com>
* spec: Correct lengths in encoding of OffloadSink & OutputSourceAlan Coopersmith2012-10-021-2/+2
| | | | | | | Make listed lengths match data shown & values in header for RRSetProviderOffloadSink & RRSetProviderOutputSource Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* spec: Add config-timestamp to descriptions of OffloadSink & OutputSourceAlan Coopersmith2012-10-021-2/+2
| | | | | | | Present in header & encoding section, just not in the descriptions of RRSetProviderOffloadSink & RRSetProviderOutputSource Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* spec: Add PROVIDER_CAPS encoding to Appendix AAlan Coopersmith2012-10-021-0/+7
| | | | | | Uses values found in randr.h Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* spec: Make encoding of RRGetProviderInfo match headerAlan Coopersmith2012-10-021-0/+1
| | | | | | | The encoding is missing the 8 bytes of padding at the end of the base reply struct before the variable length lists begin. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* spec: Make encoding of RRGetProviders match description & headerAlan Coopersmith2012-10-021-3/+2
| | | | | | | | The description section matches randrproto.h - neither of which have the "maximum masters" or "flags" members, but do have padding before the providers list starts. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* spec: Make description of RRProviderChangeNotify match encoding & headerAlan Coopersmith2012-10-021-8/+3
| | | | | | | The encoding section matches randrproto.h - neither of which have the config-timestamp, root, or crtc members. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* spec: correct sub-code values for RRProvider*Notify event encodingAlan Coopersmith2012-10-021-3/+3
| | | | | | | | These values match the RRNotify_* definitions in randrproto.h and don't overlap with the RROutput*Notify codes from RandR 1.2. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Dave Airlie <airlied@redhat.com>
* spec: Correct length calculation in encoding of gamma listsAlan Coopersmith2012-08-281-2/+2
| | | | | | | | The padding for RRGetCrtcGamma & RRSetCrtcGamma is a variable p, not a fixed 2 bytes, since it depends on how many values are included in the lists. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* spec: Correct size of outputs in RRSetCrtcConfig encodingAlan Coopersmith2012-08-281-2/+2
| | | | | | Each OUTPUT is 4 bytes, not 8. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* spec: Update data type sectionsAlan Coopersmith2012-08-281-14/+33
| | | | | | | Make definitions more consistent about use of {} for enums, [] for structs Reflect the incorporation of more types from the Render spec in 1.3 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* spec: Fix typos in textAlan Coopersmith2012-08-281-8/+8
| | | | | | At least I'm assuming "providre" is a typo, not just a non-American variant. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* spec: Correct length for RRCreateMode in encoding sectionAlan Coopersmith2012-08-281-1/+1
| | | | | | | (1 + 1 + 2 + 4 + 32) / 4 is 10 words, not 12 10 also matches the sz_xRRCreateModeReq value of 40 in randrproto.h Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* spec: add missing brackets between requests in encoding sectionAlan Coopersmith2012-08-281-3/+4
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* bump to 1.4.0 (for release.sh)randrproto-1.4.0Dave Airlie2012-07-121-0/+1
| | | | | | a trivial commit to make release.sh work. Signed-off-by: Dave Airlie <airlied@redhat.com>
* 1.4 spec: update Extension Versioning section to include 1.4Alan Coopersmith2012-07-121-3/+5
| | | | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Dave Airlie <airlied@gmail.com>
* 1.4 spec: Add descriptions of new RRSELECTMASK bitsAlan Coopersmith2012-07-121-1/+22
| | | | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Dave Airlie <airlied@gmail.com>
* 1.4 spec: Change "LISTof ATOM" to "LISTofATOM" to match other LIST typesAlan Coopersmith2012-07-121-2/+2
| | | | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Dave Airlie <airlied@gmail.com>
* randr: add provider object (v8)Dave Airlie2012-07-053-6/+783
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A provider object represents a GPU or virtual device that provides rendering or output services to the X server. This protocol allow controlling provider objects for output and offload slave devices. v1.1: fix typo add missing define v2: rename nProperties back to nAtoms, makes server simpler to c-n-p, add missing Get request/reply v3: bring back configure property, no point in diverging from the output property code without good reason. also fix typo pointed out on irc by rei4dan. v3.1: drop cut-n-paste, increase RRNumberRequests v4: reviewed by Aaron, address comments: Fix provider error code add missing notify, remove dri2 references, fix c-n-p issues. v5: add provider change notify event with current role. v5.1: fix cut-n-paste v6: document flags, fix whitespace, add better errors for SetProviderRoles, add new events, fix pending language. v6.1: add missing change notify event struct + missing padding v7: fix a bunch more tab/spaces, add appendix sections for requests, events and errors, remove multimaster flag in favour of max master counter, move some members around to follow other events. v7.1 fix maxMaster + wrong comment, one whitespace v7.2 bump to being randr 1.4, fix some too generic names. v7.3 remove dynamic flag, fix some language v8 overhaul complete protocol, remove set provider roles, add specific methods for setting offload sinks and output sources, add a list of associated providers into the get provider info struct. Earlier-review-by: Aaron Plattner <aplattner@nvidia.com> Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
* Revert the unused 1.4.0 protocolDave Airlie2012-06-273-388/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch reverts: Revert "Make SetCrtcConfigs take flags bits to allow partial configuration changes" This reverts commit 105a161a3f5fb67f5fe7e4119629d424672804aa. Revert "Define new semantics for scanout pixmap destruction." This reverts commit 0d32bb0780db35cec31e423faffa7061ec3e697f. Revert "Fix spelling errors, add description of SCANOUTPIXMAPINFO fields." This reverts commit 3e28d3098faa1a420cd0eb0474b2959cecc8813a. Revert "Add some informative text about the reasons for the PCP and ST bits" This reverts commit ebab32deea654d2ceb0538177e78d8ad48cf2a82. Revert "RandR version 1.4 additions" This reverts commit dd14a2275521b4cc50a588c95cc34cca7db51a91. None of this was ever used in the X server and I think it should probably be addressed in smaller pieces later. Acked-by: Keith Packard <keithp@keithp.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
* Add "Border" and "BorderDimensions" propertiesAaron Plattner2011-08-042-5/+88
| | | | | Signed-off-by: Aaron Plattner <aplattner@nvidia.com> Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
* Be more specific about property typesAaron Plattner2011-08-021-8/+24
| | | | | | | | | | | RandR output properties are X properties, which have a type atom, a "format" (i.e. an element size) and a number of items. Be explicit about these fields when describing properties in the protocol document. E.g., instead of specifying "int32 [2 * n] / Atom pairs," say "Type: INTEGER / Format: 32 / Num. items: 2*n." Signed-off-by: Aaron Plattner <aplattner@nvidia.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
* Remove nonsense paragraph about dual-link DVIAdam Jackson2011-05-191-5/+0
| | | | | | I've never heard of any hardware that behaves so. Signed-off-by: Adam Jackson <ajax@redhat.com>
* Make SetCrtcConfigs take flags bits to allow partial configuration changesKeith Packard2011-02-163-32/+92
| | | | | | | | | | | | Instead of requiring a complete new configuration to be computed, allow the client to send a partial configuration with only the changed values included. This simplifies clients so that they need not change things they don't understand. This also removes the 'CurrentScanoutPixmap' hack as that is no longer necessary. Signed-off-by: Keith Packard <keithp@keithp.com>
* Add missing Red Hat copyright notice to COPYINGAlan Coopersmith2011-01-061-0/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Define new semantics for scanout pixmap destruction.Keith Packard2010-12-061-0/+6
| | | | | | This is not yet implemented in the X server... Signed-off-by: Keith Packard <keithp@keithp.com>
* Fix spelling errors, add description of SCANOUTPIXMAPINFO fields.Keith Packard2010-12-062-4/+20
| | | | | | Review results from Aaron Plattner. Signed-off-by: Keith Packard <keithp@keithp.com>
* Add some informative text about the reasons for the PCP and ST bitsKeith Packard2010-12-061-0/+32
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* RandR version 1.4 additionsKeith Packard2010-12-064-4/+278
| | | | | | | | | | | This adds the specification and protocol header definitions for the RandR 1.4 protocol changes, including * Per crtc pixmaps and pixmap origins * Sprite position and image transforms * SetCrtcConfigs request Signed-off-by: Keith Packard <keithp@keithp.com>
* Whitespace cleanups in randrproto.txtKeith Packard2010-12-061-39/+39
| | | | | | | This just eliminates some ugly space/tab combos Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Cyril Brulebois <kibi@debian.org>
* randrproto 1.3.2randrproto-1.3.2Alan Coopersmith2010-10-291-1/+2
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* config: remove the pkgconfig pc.in file from EXTRA_DISTGaetan Nadon2010-03-281-1/+0
| | | | | | Automake always includes it in the tarball. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>