Gentoo Archives: gentoo-commits

From: "Matt Turner (mattst88)" <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/mesa/files: mesa-10.0.2-update-glxext.h.patch
Date: Sun, 26 Jan 2014 03:24:26
Message-Id: 20140126032422.C9B052004E@flycatcher.gentoo.org
1 mattst88 14/01/26 03:24:22
2
3 Added: mesa-10.0.2-update-glxext.h.patch
4 Log:
5 Update glxext.h for bug #491644.
6
7 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 974CA72A)
8
9 Revision Changes Path
10 1.1 media-libs/mesa/files/mesa-10.0.2-update-glxext.h.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/mesa/files/mesa-10.0.2-update-glxext.h.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/mesa/files/mesa-10.0.2-update-glxext.h.patch?rev=1.1&content-type=text/plain
14
15 Index: mesa-10.0.2-update-glxext.h.patch
16 ===================================================================
17 From faa518dd947f35bca46dcc59493d3fbecf376d39 Mon Sep 17 00:00:00 2001
18 From: Matt Turner <mattst88@×××××.com>
19 Date: Sat, 25 Jan 2014 19:16:38 -0800
20 Subject: [PATCH] glx: Update glxext.h to revision 24777.
21
22 It readds the GLXContextID typedef, but under #ifndef GLX_VERSION_1_3.
23
24 Bugzilla: https://cvs.khronos.org/bugzilla/show_bug.cgi?id=11454
25 ---
26 include/GL/glxext.h | 14 +++++++++++---
27 1 file changed, 11 insertions(+), 3 deletions(-)
28
29 diff --git a/include/GL/glxext.h b/include/GL/glxext.h
30 index cfabe8c..8c642f3 100644
31 --- a/include/GL/glxext.h
32 +++ b/include/GL/glxext.h
33 @@ -33,10 +33,10 @@ extern "C" {
34 ** used to make the header, and the header can be found at
35 ** http://www.opengl.org/registry/
36 **
37 -** Khronos $Revision: 1.1 $ on $Date: 2014/01/26 03:24:22 $
38 +** Khronos $Revision: 1.1 $ on $Date: 2014/01/26 03:24:22 $
39 */
40
41 -#define GLX_GLXEXT_VERSION 20131008
42 +#define GLX_GLXEXT_VERSION 20140114
43
44 /* Generated C header for:
45 * API: glx
46 @@ -49,6 +49,7 @@ extern "C" {
47
48 #ifndef GLX_VERSION_1_3
49 #define GLX_VERSION_1_3 1
50 +typedef XID GLXContextID;
51 typedef struct __GLXFBConfigRec *GLXFBConfig;
52 typedef XID GLXWindow;
53 typedef XID GLXPbuffer;
54 @@ -272,7 +273,6 @@ __GLXextFuncPtr glXGetProcAddressARB (const GLubyte *procName);
55
56 #ifndef GLX_EXT_import_context
57 #define GLX_EXT_import_context 1
58 -typedef XID GLXContextID;
59 #define GLX_SHARE_CONTEXT_EXT 0x800A
60 #define GLX_VISUAL_ID_EXT 0x800B
61 #define GLX_SCREEN_EXT 0x800C
62 @@ -433,6 +433,14 @@ void glXCopyImageSubDataNV (Display *dpy, GLXContext srcCtx, GLuint srcName, GLe
63 #endif
64 #endif /* GLX_NV_copy_image */
65
66 +#ifndef GLX_NV_delay_before_swap
67 +#define GLX_NV_delay_before_swap 1
68 +typedef Bool ( *PFNGLXDELAYBEFORESWAPNVPROC) (Display *dpy, GLXDrawable drawable, GLfloat seconds);
69 +#ifdef GLX_GLXEXT_PROTOTYPES
70 +Bool glXDelayBeforeSwapNV (Display *dpy, GLXDrawable drawable, GLfloat seconds);
71 +#endif
72 +#endif /* GLX_NV_delay_before_swap */
73 +
74 #ifndef GLX_NV_float_buffer
75 #define GLX_NV_float_buffer 1
76 #define GLX_FLOAT_COMPONENTS_NV 0x20B0
77 --
78 1.8.3.2