From patchwork Sun Jun 5 00:06:30 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chad Versace X-Patchwork-Id: 849442 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by demeter2.kernel.org (8.14.4/8.14.3) with ESMTP id p550G00N005447 for ; Sun, 5 Jun 2011 00:16:21 GMT Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E74829EBBC for ; Sat, 4 Jun 2011 17:16:00 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from cloud01.chad-versace.us (184-106-247-128.static.cloud-ips.com [184.106.247.128]) by gabe.freedesktop.org (Postfix) with ESMTP id C5D449E7A0 for ; Sat, 4 Jun 2011 17:14:47 -0700 (PDT) Received: from localhost (c-76-105-164-10.hsd1.or.comcast.net [76.105.164.10]) by cloud01.chad-versace.us (Postfix) with ESMTPSA id BC3291D408B; Sun, 5 Jun 2011 00:08:52 +0000 (UTC) From: Chad Versace To: intel-gfx@lists.freedesktop.org Date: Sat, 4 Jun 2011 17:06:30 -0700 Message-Id: <1307232391-26973-2-git-send-email-chad@chad-versace.us> X-Mailer: git-send-email 1.7.5.2 In-Reply-To: <1307232391-26973-1-git-send-email-chad@chad-versace.us> References: <1307232391-26973-1-git-send-email-chad@chad-versace.us> MIME-Version: 1.0 Subject: [Intel-gfx] =?utf-8?q?=5BPATCH_1/2=5D_Add_attachment_token_DRI2Bu?= =?utf-8?q?fferHiz?= X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Sun, 05 Jun 2011 00:16:21 +0000 (UTC) X-MIME-Autoconverted: from base64 to 8bit by demeter2.kernel.org id p550G00N005447 Reviewed-by: Kenneth Graunke diff --git a/configure.ac b/configure.ac index 297be0e..d671f5a 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ AC_PREREQ([2.60]) -AC_INIT([DRI2Proto], [2.5], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg]) +AC_INIT([DRI2Proto], [2.6], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg]) AM_INIT_AUTOMAKE([foreign dist-bzip2]) AM_MAINTAINER_MODE diff --git a/dri2proto.txt b/dri2proto.txt index dc46e58..df763c7 100644 --- a/dri2proto.txt +++ b/dri2proto.txt @@ -178,7 +178,8 @@ DRI2ATTACHMENT { DRI2BufferFrontLeft DRI2BufferAccum DRI2BufferFakeFrontLeft DRI2BufferFakeFrontRight - DRI2BufferDepthStencil } + DRI2BufferDepthStencil + DRI2BufferHiz } These values describe various attachment points for DRI2 buffers. @@ -509,6 +510,8 @@ The DRI2 extension has undergone a number of revisions before 2.3: Added the DRI2InvalidateBuffers event. + 2.6: Enlightenment attained. Added the DRI2BufferHiz attachment. + Compatibility up to 2.0 is not preserved, but was also never released. @@ -569,6 +572,7 @@ A.1 Common Types 0x7 DRI2BufferFakeFrontLeft 0x8 DRI2BufferFakeFrontRight 0x9 DRI2BufferDepthStencil + 0xa DRI2BufferHiz ???? Used to encode the possible attachment points. The attachment DRI2BufferDepthStencil is only available with protocol version 1.1 or diff --git a/dri2tokens.h b/dri2tokens.h index 7804e4d..16c9008 100644 --- a/dri2tokens.h +++ b/dri2tokens.h @@ -43,6 +43,7 @@ #define DRI2BufferFakeFrontLeft 7 #define DRI2BufferFakeFrontRight 8 #define DRI2BufferDepthStencil 9 +#define DRI2BufferHiz 10 #define DRI2DriverDRI 0 #define DRI2DriverVDPAU 1