[PATCH] Xserver-spec: Update ChangeGC prototype, add ChangeGCXIDs

Jamey Sharp jamey at minilop.net
Thu Jul 29 21:44:50 PDT 2010


I didn't notice those had documentation. Good catch!
Reviewed-by: Jamey Sharp <jamey at minilop.net>

On Thu, Jul 29, 2010 at 8:24 PM, Alan Coopersmith
<alan.coopersmith at oracle.com> wrote:
> Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
> ---
>  doc/xml/Xserver-spec.xml |   13 ++++++++++---
>  1 files changed, 10 insertions(+), 3 deletions(-)
>
> diff --git a/doc/xml/Xserver-spec.xml b/doc/xml/Xserver-spec.xml
> index c5fd191..563705f 100644
> --- a/doc/xml/Xserver-spec.xml
> +++ b/doc/xml/Xserver-spec.xml
> @@ -3760,7 +3760,7 @@ Also included in each GC is support for dynamic devPrivates, which the
>  DDX can use for any purpose (see <xref linkend="wrappers_and_privates"/> below).</para>
>  <para>
>  The DIX routines available for manipulating GCs are
> -CreateGC, ChangeGC, CopyGC, SetClipRects, SetDashes, and FreeGC.
> +CreateGC, ChangeGC, ChangeGCXIDs, CopyGC, SetClipRects, SetDashes, and FreeGC.
>  <blockquote><programlisting>
>
>        GCPtr CreateGC(pDrawable, mask, pval, pStatus)
> @@ -3769,10 +3769,17 @@ CreateGC, ChangeGC, CopyGC, SetClipRects, SetDashes, and FreeGC.
>            XID *pval;
>            int *pStatus;
>
> -       int ChangeGC(pGC, mask, pval)
> +       int ChangeGC(client, pGC, mask, pUnion)
> +           ClientPtr client;
>            GCPtr pGC;
>            BITS32 mask;
> -           XID *pval;
> +           ChangeGCValPtr pUnion;
> +
> +       int ChangeGCXIDs(client, pGC, mask, pC32)
> +           ClientPtr client;
> +           GCPtr pGC;
> +           BITS32 mask;
> +           CARD32 *pC32;
>
>        int CopyGC(pgcSrc, pgcDst, mask)
>            GCPtr pgcSrc;
> --
> 1.5.6.5
>
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
>


More information about the xorg-devel mailing list