hardware/intel/libva
Revision | f3c45caf73a5af03d4ed386ff219848396a83f19 (tree) |
---|---|
Zeit | 2009-06-04 03:03:57 |
Autor | Austin Yuan <shengquan.yuan@inte...> |
Commiter | Austin Yuan |
Added va_dri2tokens.h for DRI2 tokens definition
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
@@ -38,9 +38,9 @@ | ||
38 | 38 | #include "xf86drm.h" |
39 | 39 | #include "va_dri2.h" |
40 | 40 | #include "va_dri2str.h" |
41 | +#include "va_dri2tokens.h" | |
41 | 42 | |
42 | 43 | #ifndef DRI2DriverDRI |
43 | -#include "va_dri2tokens.h" | |
44 | 44 | #define DRI2DriverDRI 0 |
45 | 45 | #endif |
46 | 46 |
@@ -34,7 +34,6 @@ | ||
34 | 34 | #define _VA_DRI2_H_ |
35 | 35 | |
36 | 36 | #include <X11/extensions/Xfixes.h> |
37 | -#include <X11/extensions/dri2tokens.h> | |
38 | 37 | #include <X11/Xfuncproto.h> |
39 | 38 | #include <xf86drm.h> |
40 | 39 |
@@ -0,0 +1,48 @@ | ||
1 | +/* | |
2 | + * Copyright © 2008 Red Hat, Inc. | |
3 | + * | |
4 | + * Permission is hereby granted, free of charge, to any person obtaining a | |
5 | + * copy of this software and associated documentation files (the "Soft- | |
6 | + * ware"), to deal in the Software without restriction, including without | |
7 | + * limitation the rights to use, copy, modify, merge, publish, distribute, | |
8 | + * and/or sell copies of the Software, and to permit persons to whom the | |
9 | + * Software is furnished to do so, provided that the above copyright | |
10 | + * notice(s) and this permission notice appear in all copies of the Soft- | |
11 | + * ware and that both the above copyright notice(s) and this permission | |
12 | + * notice appear in supporting documentation. | |
13 | + * | |
14 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS | |
15 | + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABIL- | |
16 | + * ITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY | |
17 | + * RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN | |
18 | + * THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSE- | |
19 | + * QUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, | |
20 | + * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER | |
21 | + * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFOR- | |
22 | + * MANCE OF THIS SOFTWARE. | |
23 | + * | |
24 | + * Except as contained in this notice, the name of a copyright holder shall | |
25 | + * not be used in advertising or otherwise to promote the sale, use or | |
26 | + * other dealings in this Software without prior written authorization of | |
27 | + * the copyright holder. | |
28 | + * | |
29 | + * Authors: | |
30 | + * Kristian Høgsberg (krh@redhat.com) | |
31 | + */ | |
32 | + | |
33 | +#ifndef _DRI2_TOKENS_H_ | |
34 | +#define _DRI2_TOKENS_H_ | |
35 | + | |
36 | +#define DRI2BufferFrontLeft 0 | |
37 | +#define DRI2BufferBackLeft 1 | |
38 | +#define DRI2BufferFrontRight 2 | |
39 | +#define DRI2BufferBackRight 3 | |
40 | +#define DRI2BufferDepth 4 | |
41 | +#define DRI2BufferStencil 5 | |
42 | +#define DRI2BufferAccum 6 | |
43 | +#define DRI2BufferFakeFrontLeft 7 | |
44 | +#define DRI2BufferFakeFrontRight 8 | |
45 | + | |
46 | +#define DRI2DriverDRI 0 | |
47 | + | |
48 | +#endif |