summaryrefslogtreecommitdiff
path: root/randr.h
AgeCommit message (Collapse)Author
2018-01-30Move the headers under include/X11/...Adam Jackson
I kinda hate to do this, it was nice to have everything in one place. However, the meson build wants to be able to wrap this module as a dependency, and code that depends on these headers includes them in the form: #include <X11/Xfuncproto.h> As a result, any include path meson can construct needs to point to the root of a hierarchy that has the same path layout as an installed copy, hence this change. Signed-off-by: Adam Jackson <ajax@redhat.com>
2015-03-30randrproto: add tile property info for randr 1.5Dave Airlie
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>
2015-03-30Add Monitors, update version to 1.5 (v2)Keith Packard
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>
2014-01-03Add a "GUID" propertyAaron Plattner
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>
2012-07-05randr: add provider object (v8)Dave Airlie
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>
2012-06-27Revert the unused 1.4.0 protocolDave Airlie
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>
2011-08-04Add "Border" and "BorderDimensions" propertiesAaron Plattner
Signed-off-by: Aaron Plattner <aplattner@nvidia.com> Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
2011-02-16Make SetCrtcConfigs take flags bits to allow partial configuration changesKeith Packard
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>
2010-12-06RandR version 1.4 additionsKeith Packard
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>
2009-08-18Add Backlight property description.Matthias Hopf
2008-12-16Fix typo in 83f3f29dd3ac5d3875b5edef5805d6adb6a02698.Maarten Maathuis
2008-12-16Add standard property name defines.Matthias Hopf
2008-12-10Add [GS]etOutputPrimaryAdam Jackson
2008-12-04Panning protocol extensionMatthias Hopf
2008-11-24Merge branch 'transform-proposal'Keith Packard
Conflicts: randr.h randrproto.h randrproto.txt
2008-11-24Fix RRNumberRequestsAdam Jackson
2008-11-24Add GetScreenResourcesCurrentAdam Jackson
2008-02-15Add Transform request proposal for 1.3Keith Packard
2006-11-20Change properties to have a pending value and report valid values.Keith Packard
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-16Remove output options. Clean up other sizes.Keith Packard
Output options will be controlled by properties instead. Also found a few instances in randrproto.txt using the wrong size for MODEINFO.
2006-11-01Fix RRNumberErrors, start adding standard property namesKeith Packard
2006-10-04Remove mode origins. Add preferred mode count.Keith Packard
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-04Get rid of mode origins.Keith Packard
2006-10-03Add mode origins and output options.Keith Packard
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-09-19Update package version to 1.2.0. Fix various goofs found by building stuff.Keith Packard
2006-09-17Fix various random typos found while attempting to use header filesKeith Packard
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-15Add CONNECTION values to spec and header.Keith Packard
Missing CONNECTION values in encoding and header file.
2006-09-14Update header files for new 1.2 spec. Fix missing bits in spec.Keith Packard
Spec was missing a few things in the encoding section.
2006-06-26move protocol.txt to randrproto.txt. Start updating headers for version 1.2Keith Packard
2006-06-24Reformat license text, add Intel copyrightKeith Packard
2004-12-04Encoding of numerous files changed to UTF-8Markus Kuhn
2004-04-23Merging XORG-CURRENT into trunkEgbert Eich
2004-03-14Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004Egbert Eich
2004-03-03Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004Egbert Eich
2004-02-26readding XFree86's cvs IDsEgbert Eich
2004-02-26Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004Egbert Eich
2003-11-14Initial revisionKaleb Keithley