mirror of
https://github.com/openbsd/xenocara.git
synced 2025-12-08 18:28:43 +00:00
Update to xserver 1.11.2
This commit is contained in:
@@ -42,7 +42,10 @@ DIST_COMMON = $(am__sdk_HEADERS_DIST) $(srcdir)/Makefile.am \
|
||||
$(srcdir)/Makefile.in
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/m4/ac_define_dir.m4 \
|
||||
$(top_srcdir)/m4/dolt.m4 $(top_srcdir)/configure.ac
|
||||
$(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
|
||||
$(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
|
||||
$(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/xorg-tls.m4 \
|
||||
$(top_srcdir)/configure.ac
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
mkinstalldirs = $(SHELL) $(install_sh) -d
|
||||
@@ -66,6 +69,9 @@ depcomp = $(SHELL) $(top_srcdir)/depcomp
|
||||
am__depfiles_maybe = depfiles
|
||||
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
|
||||
$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
|
||||
$(AM_CFLAGS) $(CFLAGS)
|
||||
CCLD = $(CC)
|
||||
LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
||||
$(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||
@@ -89,8 +95,8 @@ ADMIN_MAN_DIR = @ADMIN_MAN_DIR@
|
||||
ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@
|
||||
AGP_FALSE = @AGP_FALSE@
|
||||
AGP_TRUE = @AGP_TRUE@
|
||||
AIGLX_FALSE = @AIGLX_FALSE@
|
||||
AIGLX_TRUE = @AIGLX_TRUE@
|
||||
AIGLX_DRI_LOADER_FALSE = @AIGLX_DRI_LOADER_FALSE@
|
||||
AIGLX_DRI_LOADER_TRUE = @AIGLX_DRI_LOADER_TRUE@
|
||||
ALLOCA = @ALLOCA@
|
||||
ALPHA_VIDEO_FALSE = @ALPHA_VIDEO_FALSE@
|
||||
ALPHA_VIDEO_TRUE = @ALPHA_VIDEO_TRUE@
|
||||
@@ -103,7 +109,6 @@ APPLE_APPLICATION_NAME = @APPLE_APPLICATION_NAME@
|
||||
APP_MAN_DIR = @APP_MAN_DIR@
|
||||
APP_MAN_SUFFIX = @APP_MAN_SUFFIX@
|
||||
AR = @AR@
|
||||
ARM_BACKTRACE_CFLAGS = @ARM_BACKTRACE_CFLAGS@
|
||||
ARM_VIDEO_FALSE = @ARM_VIDEO_FALSE@
|
||||
ARM_VIDEO_TRUE = @ARM_VIDEO_TRUE@
|
||||
AS = @AS@
|
||||
@@ -116,18 +121,19 @@ BSD_APM_FALSE = @BSD_APM_FALSE@
|
||||
BSD_APM_TRUE = @BSD_APM_TRUE@
|
||||
BSD_KQUEUE_APM_FALSE = @BSD_KQUEUE_APM_FALSE@
|
||||
BSD_KQUEUE_APM_TRUE = @BSD_KQUEUE_APM_TRUE@
|
||||
BUILDDOCS_FALSE = @BUILDDOCS_FALSE@
|
||||
BUILDDOCS_TRUE = @BUILDDOCS_TRUE@
|
||||
BUILD_DATE = @BUILD_DATE@
|
||||
BUILD_KDRIVEFBDEVLIB_FALSE = @BUILD_KDRIVEFBDEVLIB_FALSE@
|
||||
BUILD_KDRIVEFBDEVLIB_TRUE = @BUILD_KDRIVEFBDEVLIB_TRUE@
|
||||
BUILD_TIME = @BUILD_TIME@
|
||||
BUNDLE_ID_PREFIX = @BUNDLE_ID_PREFIX@
|
||||
CC = @CC@
|
||||
CCAS = @CCAS@
|
||||
CCASFLAGS = @CCASFLAGS@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
CFLAGS = @CFLAGS@
|
||||
CHANGELOG_CMD = @CHANGELOG_CMD@
|
||||
CLIENTIDS_FALSE = @CLIENTIDS_FALSE@
|
||||
CLIENTIDS_TRUE = @CLIENTIDS_TRUE@
|
||||
COMPILEDDEFAULTFONTPATH = @COMPILEDDEFAULTFONTPATH@
|
||||
COMPOSITE_FALSE = @COMPOSITE_FALSE@
|
||||
COMPOSITE_TRUE = @COMPOSITE_TRUE@
|
||||
@@ -144,12 +150,7 @@ CONFIG_WSCONS_TRUE = @CONFIG_WSCONS_TRUE@
|
||||
CPP = @CPP@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CWARNFLAGS = @CWARNFLAGS@
|
||||
CXX = @CXX@
|
||||
CXXCPP = @CXXCPP@
|
||||
CXXDEPMODE = @CXXDEPMODE@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DARWIN_LIBS = @DARWIN_LIBS@
|
||||
DBE_FALSE = @DBE_FALSE@
|
||||
DBE_TRUE = @DBE_TRUE@
|
||||
DBUS_CFLAGS = @DBUS_CFLAGS@
|
||||
@@ -184,7 +185,6 @@ DMX_BUILD_USB_FALSE = @DMX_BUILD_USB_FALSE@
|
||||
DMX_BUILD_USB_TRUE = @DMX_BUILD_USB_TRUE@
|
||||
DMX_FALSE = @DMX_FALSE@
|
||||
DMX_TRUE = @DMX_TRUE@
|
||||
DOLT_BASH = @DOLT_BASH@
|
||||
DOXYGEN = @DOXYGEN@
|
||||
DPMSExtension_FALSE = @DPMSExtension_FALSE@
|
||||
DPMSExtension_TRUE = @DPMSExtension_TRUE@
|
||||
@@ -205,7 +205,7 @@ DRI_LIBS = @DRI_LIBS@
|
||||
DRI_TRUE = @DRI_TRUE@
|
||||
DSYMUTIL = @DSYMUTIL@
|
||||
DTRACE = @DTRACE@
|
||||
ECHO = @ECHO@
|
||||
DUMPBIN = @DUMPBIN@
|
||||
ECHO_C = @ECHO_C@
|
||||
ECHO_N = @ECHO_N@
|
||||
ECHO_T = @ECHO_T@
|
||||
@@ -214,11 +214,12 @@ ENABLE_DEVEL_DOCS_FALSE = @ENABLE_DEVEL_DOCS_FALSE@
|
||||
ENABLE_DEVEL_DOCS_TRUE = @ENABLE_DEVEL_DOCS_TRUE@
|
||||
ENABLE_DOCS_FALSE = @ENABLE_DOCS_FALSE@
|
||||
ENABLE_DOCS_TRUE = @ENABLE_DOCS_TRUE@
|
||||
ENABLE_UNIT_TESTS_FALSE = @ENABLE_UNIT_TESTS_FALSE@
|
||||
ENABLE_UNIT_TESTS_TRUE = @ENABLE_UNIT_TESTS_TRUE@
|
||||
EXEEXT = @EXEEXT@
|
||||
F77 = @F77@
|
||||
FBDEVHW_FALSE = @FBDEVHW_FALSE@
|
||||
FBDEVHW_TRUE = @FBDEVHW_TRUE@
|
||||
FFLAGS = @FFLAGS@
|
||||
FGREP = @FGREP@
|
||||
FILE_MAN_DIR = @FILE_MAN_DIR@
|
||||
FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
|
||||
FONT100DPIDIR = @FONT100DPIDIR@
|
||||
@@ -231,11 +232,10 @@ FONTTYPE1DIR = @FONTTYPE1DIR@
|
||||
FOP = @FOP@
|
||||
FREEBSD_KLDLOAD_FALSE = @FREEBSD_KLDLOAD_FALSE@
|
||||
FREEBSD_KLDLOAD_TRUE = @FREEBSD_KLDLOAD_TRUE@
|
||||
GLIB_CFLAGS = @GLIB_CFLAGS@
|
||||
GLIB_LIBS = @GLIB_LIBS@
|
||||
GLX_ARCH_DEFINES = @GLX_ARCH_DEFINES@
|
||||
GLX_DEFINES = @GLX_DEFINES@
|
||||
GLX_FALSE = @GLX_FALSE@
|
||||
GLX_TLS = @GLX_TLS@
|
||||
GLX_TRUE = @GLX_TRUE@
|
||||
GL_CFLAGS = @GL_CFLAGS@
|
||||
GL_LIBS = @GL_LIBS@
|
||||
@@ -248,12 +248,16 @@ HAVE_DOXYGEN_FALSE = @HAVE_DOXYGEN_FALSE@
|
||||
HAVE_DOXYGEN_TRUE = @HAVE_DOXYGEN_TRUE@
|
||||
HAVE_FOP_FALSE = @HAVE_FOP_FALSE@
|
||||
HAVE_FOP_TRUE = @HAVE_FOP_TRUE@
|
||||
HAVE_LD_WRAP_FALSE = @HAVE_LD_WRAP_FALSE@
|
||||
HAVE_LD_WRAP_TRUE = @HAVE_LD_WRAP_TRUE@
|
||||
HAVE_STYLESHEETS_FALSE = @HAVE_STYLESHEETS_FALSE@
|
||||
HAVE_STYLESHEETS_TRUE = @HAVE_STYLESHEETS_TRUE@
|
||||
HAVE_XMLTO_FALSE = @HAVE_XMLTO_FALSE@
|
||||
HAVE_XMLTO_TEXT_FALSE = @HAVE_XMLTO_TEXT_FALSE@
|
||||
HAVE_XMLTO_TEXT_TRUE = @HAVE_XMLTO_TEXT_TRUE@
|
||||
HAVE_XMLTO_TRUE = @HAVE_XMLTO_TRUE@
|
||||
HAVE_XSLTPROC_FALSE = @HAVE_XSLTPROC_FALSE@
|
||||
HAVE_XSLTPROC_TRUE = @HAVE_XSLTPROC_TRUE@
|
||||
HP300_VIDEO_FALSE = @HP300_VIDEO_FALSE@
|
||||
HP300_VIDEO_TRUE = @HP300_VIDEO_TRUE@
|
||||
HPPA_VIDEO_FALSE = @HPPA_VIDEO_FALSE@
|
||||
@@ -299,7 +303,10 @@ KDRIVE_MOUSE_TRUE = @KDRIVE_MOUSE_TRUE@
|
||||
KDRIVE_PURE_INCS = @KDRIVE_PURE_INCS@
|
||||
KDRIVE_PURE_LIBS = @KDRIVE_PURE_LIBS@
|
||||
KDRIVE_TRUE = @KDRIVE_TRUE@
|
||||
LAUNCHD_ID_PREFIX = @LAUNCHD_ID_PREFIX@
|
||||
KHRONOS_OPENGL_REGISTRY_CFLAGS = @KHRONOS_OPENGL_REGISTRY_CFLAGS@
|
||||
KHRONOS_OPENGL_REGISTRY_LIBS = @KHRONOS_OPENGL_REGISTRY_LIBS@
|
||||
KHRONOS_SPEC_DIR = @KHRONOS_SPEC_DIR@
|
||||
LD = @LD@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LD_EXPORT_SYMBOLS_FLAG = @LD_EXPORT_SYMBOLS_FLAG@
|
||||
LEX = @LEX@
|
||||
@@ -318,19 +325,19 @@ LINUX_ALPHA_FALSE = @LINUX_ALPHA_FALSE@
|
||||
LINUX_ALPHA_TRUE = @LINUX_ALPHA_TRUE@
|
||||
LINUX_IA64_FALSE = @LINUX_IA64_FALSE@
|
||||
LINUX_IA64_TRUE = @LINUX_IA64_TRUE@
|
||||
LIPO = @LIPO@
|
||||
LNXACPI_FALSE = @LNXACPI_FALSE@
|
||||
LNXACPI_TRUE = @LNXACPI_TRUE@
|
||||
LNXAPM_FALSE = @LNXAPM_FALSE@
|
||||
LNXAPM_TRUE = @LNXAPM_TRUE@
|
||||
LN_S = @LN_S@
|
||||
LTCOMPILE = @LTCOMPILE@
|
||||
LTCXXCOMPILE = @LTCXXCOMPILE@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAINT = @MAINT@
|
||||
MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
|
||||
MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
|
||||
MAIN_LIB = @MAIN_LIB@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MANIFEST_TOOL = @MANIFEST_TOOL@
|
||||
MAN_SUBSTS = @MAN_SUBSTS@
|
||||
MISC_MAN_DIR = @MISC_MAN_DIR@
|
||||
MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@
|
||||
@@ -340,6 +347,7 @@ NEED_STRLCAT_FALSE = @NEED_STRLCAT_FALSE@
|
||||
NEED_STRLCAT_TRUE = @NEED_STRLCAT_TRUE@
|
||||
NEED_VSNPRINTF_FALSE = @NEED_VSNPRINTF_FALSE@
|
||||
NEED_VSNPRINTF_TRUE = @NEED_VSNPRINTF_TRUE@
|
||||
NM = @NM@
|
||||
NMEDIT = @NMEDIT@
|
||||
OBJC = @OBJC@
|
||||
OBJCCLD = @OBJCCLD@
|
||||
@@ -351,6 +359,8 @@ OBJEXT = @OBJEXT@
|
||||
OPENSSL_CFLAGS = @OPENSSL_CFLAGS@
|
||||
OPENSSL_LIBS = @OPENSSL_LIBS@
|
||||
OS_LIB = @OS_LIB@
|
||||
OTOOL = @OTOOL@
|
||||
OTOOL64 = @OTOOL64@
|
||||
PACKAGE = @PACKAGE@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
PACKAGE_NAME = @PACKAGE_NAME@
|
||||
@@ -361,7 +371,6 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||
PCIACCESS_CFLAGS = @PCIACCESS_CFLAGS@
|
||||
PCIACCESS_LIBS = @PCIACCESS_LIBS@
|
||||
PCI_TXT_IDS_PATH = @PCI_TXT_IDS_PATH@
|
||||
PERL = @PERL@
|
||||
PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
|
||||
PIXMAN_LIBS = @PIXMAN_LIBS@
|
||||
PKG_CONFIG = @PKG_CONFIG@
|
||||
@@ -406,6 +415,7 @@ SPECIAL_DTRACE_OBJECTS_FALSE = @SPECIAL_DTRACE_OBJECTS_FALSE@
|
||||
SPECIAL_DTRACE_OBJECTS_TRUE = @SPECIAL_DTRACE_OBJECTS_TRUE@
|
||||
STANDALONE_XPBPROXY_FALSE = @STANDALONE_XPBPROXY_FALSE@
|
||||
STANDALONE_XPBPROXY_TRUE = @STANDALONE_XPBPROXY_TRUE@
|
||||
STRICT_CFLAGS = @STRICT_CFLAGS@
|
||||
STRIP = @STRIP@
|
||||
STYLESHEET_SRCDIR = @STYLESHEET_SRCDIR@
|
||||
SYSCONFDIR = @SYSCONFDIR@
|
||||
@@ -415,8 +425,6 @@ TSLIB_LIBS = @TSLIB_LIBS@
|
||||
TSLIB_TRUE = @TSLIB_TRUE@
|
||||
UDEV_CFLAGS = @UDEV_CFLAGS@
|
||||
UDEV_LIBS = @UDEV_LIBS@
|
||||
UNITTESTS_FALSE = @UNITTESTS_FALSE@
|
||||
UNITTESTS_TRUE = @UNITTESTS_TRUE@
|
||||
UTILS_SYS_LIBS = @UTILS_SYS_LIBS@
|
||||
VBE_FALSE = @VBE_FALSE@
|
||||
VBE_TRUE = @VBE_TRUE@
|
||||
@@ -433,8 +441,6 @@ XAA_FALSE = @XAA_FALSE@
|
||||
XAA_TRUE = @XAA_TRUE@
|
||||
XACE_FALSE = @XACE_FALSE@
|
||||
XACE_TRUE = @XACE_TRUE@
|
||||
XCALIBRATE_FALSE = @XCALIBRATE_FALSE@
|
||||
XCALIBRATE_TRUE = @XCALIBRATE_TRUE@
|
||||
XCSECURITY_FALSE = @XCSECURITY_FALSE@
|
||||
XCSECURITY_TRUE = @XCSECURITY_TRUE@
|
||||
XDMAUTH_FALSE = @XDMAUTH_FALSE@
|
||||
@@ -470,6 +476,11 @@ XINERAMA_TRUE = @XINERAMA_TRUE@
|
||||
XKB_BASE_DIRECTORY = @XKB_BASE_DIRECTORY@
|
||||
XKB_BIN_DIRECTORY = @XKB_BIN_DIRECTORY@
|
||||
XKB_COMPILED_DIR = @XKB_COMPILED_DIR@
|
||||
XKB_DFLT_LAYOUT = @XKB_DFLT_LAYOUT@
|
||||
XKB_DFLT_MODEL = @XKB_DFLT_MODEL@
|
||||
XKB_DFLT_OPTIONS = @XKB_DFLT_OPTIONS@
|
||||
XKB_DFLT_RULES = @XKB_DFLT_RULES@
|
||||
XKB_DFLT_VARIANT = @XKB_DFLT_VARIANT@
|
||||
XKM_OUTPUT_DIR = @XKM_OUTPUT_DIR@
|
||||
XLIB_CFLAGS = @XLIB_CFLAGS@
|
||||
XLIB_LIBS = @XLIB_LIBS@
|
||||
@@ -501,6 +512,7 @@ XORG_TRUE = @XORG_TRUE@
|
||||
XPBPROXY_CFLAGS = @XPBPROXY_CFLAGS@
|
||||
XPBPROXY_LIBS = @XPBPROXY_LIBS@
|
||||
XQUARTZ_FALSE = @XQUARTZ_FALSE@
|
||||
XQUARTZ_LIBS = @XQUARTZ_LIBS@
|
||||
XQUARTZ_SPARKLE = @XQUARTZ_SPARKLE@
|
||||
XQUARTZ_SPARKLE_FALSE = @XQUARTZ_SPARKLE_FALSE@
|
||||
XQUARTZ_SPARKLE_TRUE = @XQUARTZ_SPARKLE_TRUE@
|
||||
@@ -519,6 +531,7 @@ XSERVER_DTRACE_FALSE = @XSERVER_DTRACE_FALSE@
|
||||
XSERVER_DTRACE_TRUE = @XSERVER_DTRACE_TRUE@
|
||||
XSERVER_LIBS = @XSERVER_LIBS@
|
||||
XSERVER_SYS_LIBS = @XSERVER_SYS_LIBS@
|
||||
XSLTPROC = @XSLTPROC@
|
||||
XSL_STYLESHEET = @XSL_STYLESHEET@
|
||||
XTSTEXAMPLES_DEP_CFLAGS = @XTSTEXAMPLES_DEP_CFLAGS@
|
||||
XTSTEXAMPLES_DEP_LIBS = @XTSTEXAMPLES_DEP_LIBS@
|
||||
@@ -563,13 +576,11 @@ abi_ansic = @abi_ansic@
|
||||
abi_extension = @abi_extension@
|
||||
abi_videodrv = @abi_videodrv@
|
||||
abi_xinput = @abi_xinput@
|
||||
ac_ct_AR = @ac_ct_AR@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_CXX = @ac_ct_CXX@
|
||||
ac_ct_F77 = @ac_ct_F77@
|
||||
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
|
||||
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
|
||||
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
|
||||
am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
|
||||
am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
|
||||
am__fastdepOBJC_FALSE = @am__fastdepOBJC_FALSE@
|
||||
am__fastdepOBJC_TRUE = @am__fastdepOBJC_TRUE@
|
||||
am__include = @am__include@
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Copyright <EFBFBD> 2001 Keith Packard
|
||||
* Copyright © 2001 Keith Packard
|
||||
*
|
||||
* Partly based on code that is Copyright <EFBFBD> The XFree86 Project Inc.
|
||||
* Partly based on code that is Copyright © The XFree86 Project Inc.
|
||||
*
|
||||
* Permission to use, copy, modify, distribute, and sell this software and its
|
||||
* documentation for any purpose is hereby granted without fee, provided that
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Copyright <EFBFBD> 2001 Keith Packard
|
||||
* Copyright © 2001 Keith Packard
|
||||
*
|
||||
* Partly based on code that is Copyright <EFBFBD> The XFree86 Project Inc.
|
||||
* Partly based on code that is Copyright © The XFree86 Project Inc.
|
||||
*
|
||||
* Permission to use, copy, modify, distribute, and sell this software and its
|
||||
* documentation for any purpose is hereby granted without fee, provided that
|
||||
@@ -23,7 +23,7 @@
|
||||
*
|
||||
* Authors:
|
||||
* Eric Anholt <eric@anholt.net>
|
||||
* Michel D<EFBFBD>nzer <michel@tungstengraphics.com>
|
||||
* Michel Dänzer <michel@tungstengraphics.com>
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright <EFBFBD> 2009 Maarten Maathuis
|
||||
* Copyright © 2009 Maarten Maathuis
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright <EFBFBD> 2009 Maarten Maathuis
|
||||
* Copyright © 2009 Maarten Maathuis
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
@@ -115,6 +115,8 @@ exaCreatePixmap_driver(ScreenPtr pScreen, int w, int h, int depth,
|
||||
exaSetAccelBlock(pExaScr, pExaPixmap,
|
||||
w, h, bpp);
|
||||
|
||||
pExaPixmap->use_gpu_copy = exaPixmapHasGpuCopy(pPixmap);
|
||||
|
||||
/* During a fallback we must prepare access. */
|
||||
if (pExaScr->fallback_counter)
|
||||
exaPrepareAccess(&pPixmap->drawable, EXA_PREPARE_AUX_DEST);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright <EFBFBD> 2006 Intel Corporation
|
||||
* Copyright © 2006 Intel Corporation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
@@ -22,7 +22,7 @@
|
||||
*
|
||||
* Authors:
|
||||
* Eric Anholt <eric@anholt.net>
|
||||
* Michel D<EFBFBD>nzer <michel@tungstengraphics.com>
|
||||
* Michel Dänzer <michel@tungstengraphics.com>
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright <EFBFBD> 2009 Maarten Maathuis
|
||||
* Copyright © 2009 Maarten Maathuis
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright <EFBFBD> 2009 Maarten Maathuis
|
||||
* Copyright © 2009 Maarten Maathuis
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
@@ -186,17 +186,20 @@ exaModifyPixmapHeader_mixed(PixmapPtr pPixmap, int width, int height, int depth,
|
||||
}
|
||||
|
||||
/* Need to re-create system copy if there's also a GPU copy */
|
||||
if (has_gpu_copy && pExaPixmap->sys_ptr) {
|
||||
free(pExaPixmap->sys_ptr);
|
||||
pExaPixmap->sys_ptr = NULL;
|
||||
pExaPixmap->sys_pitch = PixmapBytePad(width, depth);
|
||||
DamageUnregister(&pPixmap->drawable, pExaPixmap->pDamage);
|
||||
DamageDestroy(pExaPixmap->pDamage);
|
||||
pExaPixmap->pDamage = NULL;
|
||||
RegionEmpty(&pExaPixmap->validSys);
|
||||
if (has_gpu_copy) {
|
||||
if (pExaPixmap->sys_ptr) {
|
||||
free(pExaPixmap->sys_ptr);
|
||||
pExaPixmap->sys_ptr = NULL;
|
||||
DamageUnregister(&pPixmap->drawable, pExaPixmap->pDamage);
|
||||
DamageDestroy(pExaPixmap->pDamage);
|
||||
pExaPixmap->pDamage = NULL;
|
||||
RegionEmpty(&pExaPixmap->validSys);
|
||||
|
||||
if (pExaScr->deferred_mixed_pixmap == pPixmap)
|
||||
pExaScr->deferred_mixed_pixmap = NULL;
|
||||
if (pExaScr->deferred_mixed_pixmap == pPixmap)
|
||||
pExaScr->deferred_mixed_pixmap = NULL;
|
||||
}
|
||||
|
||||
pExaPixmap->sys_pitch = PixmapBytePad(width, depth);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -228,10 +228,10 @@ extern DevPrivateKeyRec exaPixmapPrivateKeyRec;
|
||||
extern DevPrivateKeyRec exaGCPrivateKeyRec;
|
||||
#define exaGCPrivateKey (&exaGCPrivateKeyRec)
|
||||
|
||||
#define ExaGetScreenPriv(s) ((ExaScreenPrivPtr)dixLookupPrivate(&(s)->devPrivates, exaScreenPrivateKey))
|
||||
#define ExaGetScreenPriv(s) ((ExaScreenPrivPtr)dixGetPrivate(&(s)->devPrivates, exaScreenPrivateKey))
|
||||
#define ExaScreenPriv(s) ExaScreenPrivPtr pExaScr = ExaGetScreenPriv(s)
|
||||
|
||||
#define ExaGetGCPriv(gc) ((ExaGCPrivPtr)dixLookupPrivate(&(gc)->devPrivates, exaGCPrivateKey))
|
||||
#define ExaGetGCPriv(gc) ((ExaGCPrivPtr)dixGetPrivateAddr(&(gc)->devPrivates, exaGCPrivateKey))
|
||||
#define ExaGCPriv(gc) ExaGCPrivPtr pExaGC = ExaGetGCPriv(gc)
|
||||
|
||||
/*
|
||||
@@ -282,8 +282,7 @@ extern DevPrivateKeyRec exaGCPrivateKeyRec;
|
||||
#define EXA_PIXMAP_SCORE_PINNED 1000
|
||||
#define EXA_PIXMAP_SCORE_INIT 1001
|
||||
|
||||
#define ExaGetPixmapPriv(p) ((ExaPixmapPrivPtr)dixLookupPrivate(&(p)->devPrivates, exaPixmapPrivateKey))
|
||||
#define ExaSetPixmapPriv(p,a) dixSetPrivate(&(p)->devPrivates, exaPixmapPrivateKey, a)
|
||||
#define ExaGetPixmapPriv(p) ((ExaPixmapPrivPtr)dixGetPrivateAddr(&(p)->devPrivates, exaPixmapPrivateKey))
|
||||
#define ExaPixmapPriv(p) ExaPixmapPrivPtr pExaPixmap = ExaGetPixmapPriv(p)
|
||||
|
||||
#define EXA_RANGE_PITCH (1 << 0)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
*
|
||||
* Copyright <EFBFBD> 1999 Keith Packard
|
||||
* Copyright © 1999 Keith Packard
|
||||
*
|
||||
* Permission to use, copy, modify, distribute, and sell this software and its
|
||||
* documentation for any purpose is hereby granted without fee, provided that
|
||||
@@ -127,11 +127,10 @@ ExaCheckCopyNtoN (DrawablePtr pSrc, DrawablePtr pDst, GCPtr pGC,
|
||||
EXA_FALLBACK(("from %p to %p (%c,%c)\n", pSrc, pDst,
|
||||
exaDrawableLocation(pSrc), exaDrawableLocation(pDst)));
|
||||
|
||||
if (pExaScr->prepare_access_reg) {
|
||||
if (pExaScr->prepare_access_reg && RegionInitBoxes(®, pbox, nbox)) {
|
||||
PixmapPtr pPixmap = exaGetDrawablePixmap(pSrc);
|
||||
|
||||
exaGetDrawableDeltas(pSrc, pPixmap, &xoff, &yoff);
|
||||
RegionInit(®, pbox, nbox);
|
||||
RegionTranslate(®, xoff + dx, yoff + dy);
|
||||
pExaScr->prepare_access_reg(pPixmap, EXA_PREPARE_SRC, ®);
|
||||
RegionUninit(®);
|
||||
@@ -140,11 +139,11 @@ ExaCheckCopyNtoN (DrawablePtr pSrc, DrawablePtr pDst, GCPtr pGC,
|
||||
|
||||
if (pExaScr->prepare_access_reg &&
|
||||
!exaGCReadsDestination(pDst, pGC->planemask, pGC->fillStyle,
|
||||
pGC->alu, pGC->clientClipType)) {
|
||||
pGC->alu, pGC->clientClipType) &&
|
||||
RegionInitBoxes (®, pbox, nbox)) {
|
||||
PixmapPtr pPixmap = exaGetDrawablePixmap(pDst);
|
||||
|
||||
exaGetDrawableDeltas(pSrc, pPixmap, &xoff, &yoff);
|
||||
RegionInit(®, pbox, nbox);
|
||||
exaGetDrawableDeltas(pDst, pPixmap, &xoff, &yoff);
|
||||
RegionTranslate(®, xoff, yoff);
|
||||
pExaScr->prepare_access_reg(pPixmap, EXA_PREPARE_DEST, ®);
|
||||
RegionUninit(®);
|
||||
@@ -438,7 +437,8 @@ ExaSrcValidate(DrawablePtr pDrawable,
|
||||
int x,
|
||||
int y,
|
||||
int width,
|
||||
int height)
|
||||
int height,
|
||||
unsigned int subWindowMode)
|
||||
{
|
||||
ScreenPtr pScreen = pDrawable->pScreen;
|
||||
ExaScreenPriv(pScreen);
|
||||
@@ -464,7 +464,7 @@ ExaSrcValidate(DrawablePtr pDrawable,
|
||||
|
||||
if (pExaScr->SavedSourceValidate) {
|
||||
swap(pExaScr, pScreen, SourceValidate);
|
||||
pScreen->SourceValidate(pDrawable, x, y, width, height);
|
||||
pScreen->SourceValidate(pDrawable, x, y, width, height, subWindowMode);
|
||||
swap(pExaScr, pScreen, SourceValidate);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user