Add a DRI2DriverVDPAU driver type.

Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
Acked-by: Kristian Høgsberg <krh@bitplanet.net>
This commit is contained in:
Aaron Plattner 2009-10-12 13:11:47 -07:00
parent 0a5e388ae9
commit 499241b743
4 changed files with 6 additions and 3 deletions

View file

@ -1,5 +1,5 @@
AC_PREREQ([2.57]) AC_PREREQ([2.57])
AC_INIT([DRI2Proto], [2.1], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg]) AC_INIT([DRI2Proto], [2.2], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg])
AM_INIT_AUTOMAKE([foreign dist-bzip2]) AM_INIT_AUTOMAKE([foreign dist-bzip2])
AM_MAINTAINER_MODE AM_MAINTAINER_MODE

View file

@ -35,7 +35,7 @@
#define DRI2_NAME "DRI2" #define DRI2_NAME "DRI2"
#define DRI2_MAJOR 1 #define DRI2_MAJOR 1
#define DRI2_MINOR 1 #define DRI2_MINOR 2
#define DRI2NumberErrors 0 #define DRI2NumberErrors 0
#define DRI2NumberEvents 0 #define DRI2NumberEvents 0

View file

@ -128,7 +128,8 @@ No errrors defined by the DRI2 extension.
5. Protocol Types 5. Protocol Types
DRI2DRIVER { DRI2DriverDRI } DRI2DRIVER { DRI2DriverDRI
DRI2DriverVDPAU }
These values describe the type of driver the client will want These values describe the type of driver the client will want
to load. The server sends back the name of the driver to use to load. The server sends back the name of the driver to use
@ -386,6 +387,7 @@ A.1 Common Types
┌─── ┌───
DRI2DRIVER DRI2DRIVER
0x0 DRI2DriverDRI 0x0 DRI2DriverDRI
0x1 DRI2DriverVDPAU
└─── └───
┌─── ┌───

View file

@ -45,5 +45,6 @@
#define DRI2BufferDepthStencil 9 #define DRI2BufferDepthStencil 9
#define DRI2DriverDRI 0 #define DRI2DriverDRI 0
#define DRI2DriverVDPAU 1
#endif #endif