From 45d8361e598459eb89a53149baf91de6bf8a1a62 Mon Sep 17 00:00:00 2001 From: Daniel Martin Date: Tue, 4 Jun 2013 21:27:30 +0200 Subject: randr: Add provider object support (RandR v1.4) With RandR 1.4 provider objects have been introduced. "A provider object represents a GPU or virtual device providing services to the X server." To handle provider objects the following requests have been added: - GetProviders - GetProviderInfo - SetProviderOffloadSink - SetProviderOutputSource - ListProviderProperties - QueryProviderProperty - ConfigureProviderProperty - ChangeProviderProperty - DeleteProviderProperty - GetProviderProperty And the Notify event got 3 new subcodes: - ProviderChange - ProviderProperty - ResourceChange v2: - add missing name field to GetProviderInfo v3: - changed ProviderCapability enum o replaced with o removed None - replaced "alignment pad list" with commented out to be prepared for future enhancements - add brief description to commit msg about additions Signed-off-by: Daniel Martin Signed-off-by: Peter Harris --- src/randr.xml | 231 ++++++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 216 insertions(+), 15 deletions(-) diff --git a/src/randr.xml b/src/randr.xml index 4f0716f..1ec3234 100644 --- a/src/randr.xml +++ b/src/randr.xml @@ -27,7 +27,7 @@ authorization from the authors. --> + major-version="1" minor-version="4"> xproto render @@ -36,12 +36,14 @@ authorization from the authors. + - - - + + + + @@ -113,11 +115,15 @@ authorization from the authors. - 0 - - 1 - 2 - 3 + 0 + + 1 + 2 + 3 + + 4 + 5 + 6 @@ -506,6 +512,14 @@ authorization from the authors. + + + 0 + 1 + 2 + 3 + + @@ -599,6 +613,163 @@ authorization from the authors. + + + + + + + + + + + num_providers + + + + + + 0 + 1 + 2 + 3 + + + + + + + + + + + + + + + + num_crtcs + + + num_outputs + + + num_associated_providers + + + num_associated_providers + + + name_len + + + + + + + + + + + + + + + + + + + + + + + + + num_atoms + + + + + + + + + + + + + + + length + + + + + + + + + + + + + + + + + + + + + + + + num_items + + format + 8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + num_items + + format + 8 + + + + + + @@ -619,9 +790,12 @@ authorization from the authors. - 0 - 1 - 2 + 0 + 1 + 2 + 3 + 4 + 5 @@ -658,10 +832,37 @@ authorization from the authors. + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + + + + -- cgit v1.2.3