Update to xserver 1.17.2. tested by dcoppa@, jsg@, jasper@ & naddy@

This commit is contained in:
matthieu
2015-09-16 19:10:19 +00:00
parent c10cac3b1e
commit 86ea9f12e2
761 changed files with 30813 additions and 28465 deletions

View File

@@ -262,6 +262,7 @@ KDRIVE_CFLAGS = @KDRIVE_CFLAGS@
KDRIVE_INCS = @KDRIVE_INCS@
KDRIVE_LIBS = @KDRIVE_LIBS@
KDRIVE_LOCAL_LIBS = @KDRIVE_LOCAL_LIBS@
KDRIVE_MAIN_LIB = @KDRIVE_MAIN_LIB@
KDRIVE_PURE_INCS = @KDRIVE_PURE_INCS@
KDRIVE_PURE_LIBS = @KDRIVE_PURE_LIBS@
KHRONOS_OPENGL_REGISTRY_CFLAGS = @KHRONOS_OPENGL_REGISTRY_CFLAGS@

View File

@@ -30,6 +30,8 @@ int dri3_request;
DevPrivateKeyRec dri3_screen_private_key;
DevPrivateKeyRec dri3_window_private_key;
static int dri3_screen_generation;
static Bool
dri3_close_screen(ScreenPtr screen)
{
@@ -44,6 +46,8 @@ dri3_close_screen(ScreenPtr screen)
Bool
dri3_screen_init(ScreenPtr screen, dri3_screen_info_ptr info)
{
dri3_screen_generation = serverGeneration;
if (!dixRegisterPrivateKey(&dri3_screen_private_key, PRIVATE_SCREEN, 0))
return FALSE;
@@ -68,6 +72,12 @@ dri3_extension_init(void)
ExtensionEntry *extension;
int i;
/* If no screens support DRI3, there's no point offering the
* extension at all
*/
if (dri3_screen_generation != serverGeneration)
return;
#ifdef PANORAMIX
if (!noPanoramiXExtension)
return;

View File

@@ -23,8 +23,6 @@
#ifndef _DRI3_H_
#define _DRI3_H_
#include <xorg-server.h>
#ifdef DRI3
#include <X11/extensions/dri3proto.h>