Drop trailing whitespaces
sed -i "s/[ ]\+$//g" **/*.(c|h) happy reviewing... git diff -w is an empty diff. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
96143d6dc3
commit
732fd7e571
10
Xext/dpms.c
10
Xext/dpms.c
|
@ -14,14 +14,14 @@ all copies or substantial portions of the Software.
|
|||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES, INCLUDING,
|
||||
BUT NOT LIMITED TO CONSEQUENTIAL OR INCIDENTAL DAMAGES, OR OTHER LIABILITY,
|
||||
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
||||
DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES, INCLUDING,
|
||||
BUT NOT LIMITED TO CONSEQUENTIAL OR INCIDENTAL DAMAGES, OR OTHER LIABILITY,
|
||||
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
||||
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
Except as contained in this notice, the name of Digital Equipment Corporation
|
||||
Except as contained in this notice, the name of Digital Equipment Corporation
|
||||
shall not be used in advertising or otherwise to promote the sale, use or other
|
||||
dealings in this Software without prior written authorization from Digital
|
||||
dealings in this Software without prior written authorization from Digital
|
||||
Equipment Corporation.
|
||||
|
||||
******************************************************************/
|
||||
|
|
|
@ -14,14 +14,14 @@ all copies or substantial portions of the Software.
|
|||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES, INCLUDING,
|
||||
BUT NOT LIMITED TO CONSEQUENTIAL OR INCIDENTAL DAMAGES, OR OTHER LIABILITY,
|
||||
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
||||
DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES, INCLUDING,
|
||||
BUT NOT LIMITED TO CONSEQUENTIAL OR INCIDENTAL DAMAGES, OR OTHER LIABILITY,
|
||||
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
||||
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
Except as contained in this notice, the name of Digital Equipment Corporation
|
||||
Except as contained in this notice, the name of Digital Equipment Corporation
|
||||
shall not be used in advertising or otherwise to promote the sale, use or other
|
||||
dealings in this Software without prior written authorization from Digital
|
||||
dealings in this Software without prior written authorization from Digital
|
||||
Equipment Corporation.
|
||||
|
||||
******************************************************************/
|
||||
|
|
|
@ -427,7 +427,7 @@ XineramaReinitData(void)
|
|||
|
||||
/*
|
||||
* PanoramiXExtensionInit():
|
||||
* Called from InitExtensions in main().
|
||||
* Called from InitExtensions in main().
|
||||
* Register PanoramiXeen Extension
|
||||
* Initialize global variables.
|
||||
*/
|
||||
|
|
|
@ -28,7 +28,7 @@ Equipment Corporation.
|
|||
|
||||
/* THIS IS NOT AN X PROJECT TEAM SPECIFICATION */
|
||||
|
||||
/*
|
||||
/*
|
||||
* PanoramiX definitions
|
||||
*/
|
||||
|
||||
|
|
|
@ -509,7 +509,7 @@ PanoramiXConfigureWindow(ClientPtr client)
|
|||
}
|
||||
}
|
||||
|
||||
/* have to go forward or you get expose events before
|
||||
/* have to go forward or you get expose events before
|
||||
ConfigureNotify events */
|
||||
FOR_NSCREENS_FORWARD(j) {
|
||||
stuff->window = win->info[j].id;
|
||||
|
@ -1037,7 +1037,7 @@ PanoramiXClearToBackground(ClientPtr client)
|
|||
return result;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
For Window to Pixmap copies you're screwed since each screen's
|
||||
pixmap will look like what it sees on its screen. Unless the
|
||||
screens overlap and the window lies on each, the two copies
|
||||
|
|
|
@ -928,12 +928,12 @@ SecurityReceive(CallbackListPtr *pcbl, void *unused, void *calldata)
|
|||
* Returns: nothing.
|
||||
*
|
||||
* Side Effects:
|
||||
*
|
||||
*
|
||||
* If a new client is connecting, its authorization ID is copied to
|
||||
* client->authID. If this is a generated authorization, its reference
|
||||
* count is bumped, its timer is cancelled if it was running, and its
|
||||
* trustlevel is copied to TRUSTLEVEL(client).
|
||||
*
|
||||
*
|
||||
* If a client is disconnecting and the client was using a generated
|
||||
* authorization, the authorization's reference count is decremented, and
|
||||
* if it is now zero, the timer for this authorization is started.
|
||||
|
|
|
@ -404,7 +404,7 @@ ProcShmAttach(ClientPtr client)
|
|||
}
|
||||
|
||||
/* The attach was performed with root privs. We must
|
||||
* do manual checking of access rights for the credentials
|
||||
* do manual checking of access rights for the credentials
|
||||
* of the client */
|
||||
|
||||
if (shm_access(client, &(SHM_PERM(buf)), stuff->readOnly) == -1) {
|
||||
|
|
|
@ -2715,7 +2715,7 @@ IdleTimeBlockHandler(void *pCounter, struct timeval **wt, void *LastSelectMask)
|
|||
break;
|
||||
}
|
||||
}
|
||||
/*
|
||||
/*
|
||||
* We've been called exactly on the idle time, but we have a
|
||||
* NegativeTransition trigger which requires a transition from an
|
||||
* idle time greater than this. Schedule a wakeup for the next
|
||||
|
|
|
@ -30,13 +30,13 @@ and Olivetti Research Limited, Cambridge, England.
|
|||
|
||||
All Rights Reserved
|
||||
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
provided that the above copyright notice appear in all copies and that
|
||||
both that copyright notice and this permission notice appear in
|
||||
both that copyright notice and this permission notice appear in
|
||||
supporting documentation, and that the names of Digital or Olivetti
|
||||
not be used in advertising or publicity pertaining to distribution of the
|
||||
software without specific, written prior permission.
|
||||
software without specific, written prior permission.
|
||||
|
||||
DIGITAL AND OLIVETTI DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
|
||||
SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
||||
|
|
12
Xext/xres.c
12
Xext/xres.c
|
@ -358,8 +358,8 @@ ResGetApproxPixmapBytes(PixmapPtr pix)
|
|||
bytesPerPixel = (float)pix->drawable.bitsPerPixel / 8.0;
|
||||
nPixels = pix->drawable.width * pix->drawable.height;
|
||||
|
||||
/* Divide by refcnt as pixmap could be shared between clients,
|
||||
* so total pixmap mem is shared between these.
|
||||
/* Divide by refcnt as pixmap could be shared between clients,
|
||||
* so total pixmap mem is shared between these.
|
||||
*/
|
||||
return (nPixels * bytesPerPixel) / pix->refcnt;
|
||||
}
|
||||
|
@ -375,7 +375,7 @@ ResFindResourcePixmaps(void *value, XID id, RESTYPE type, void *cdata)
|
|||
*bytes += size.pixmapRefSize;
|
||||
}
|
||||
|
||||
static void
|
||||
static void
|
||||
ResFindPixmaps(void *value, XID id, void *cdata)
|
||||
{
|
||||
unsigned long *bytes = (unsigned long *) cdata;
|
||||
|
@ -448,13 +448,13 @@ ProcXResQueryClientPixmapBytes(ClientPtr client)
|
|||
FindClientResourcesByType(clients[clientID], RT_PIXMAP, ResFindPixmaps,
|
||||
(void *) (&bytes));
|
||||
|
||||
/*
|
||||
* Make sure win background pixmaps also held to account.
|
||||
/*
|
||||
* Make sure win background pixmaps also held to account.
|
||||
*/
|
||||
FindClientResourcesByType(clients[clientID], RT_WINDOW,
|
||||
ResFindWindowPixmaps, (void *) (&bytes));
|
||||
|
||||
/*
|
||||
/*
|
||||
* GC Tile & Stipple pixmaps too.
|
||||
*/
|
||||
FindClientResourcesByType(clients[clientID], RT_GC,
|
||||
|
|
|
@ -4,13 +4,13 @@ and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
|
|||
|
||||
All Rights Reserved
|
||||
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
provided that the above copyright notice appear in all copies and that
|
||||
both that copyright notice and this permission notice appear in
|
||||
both that copyright notice and this permission notice appear in
|
||||
supporting documentation, and that the names of Digital or MIT not be
|
||||
used in advertising or publicity pertaining to distribution of the
|
||||
software without specific, written prior permission.
|
||||
software without specific, written prior permission.
|
||||
|
||||
DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
|
||||
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
|
||||
|
|
14
Xext/xvdix.h
14
Xext/xvdix.h
|
@ -4,13 +4,13 @@ and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
|
|||
|
||||
All Rights Reserved
|
||||
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
provided that the above copyright notice appear in all copies and that
|
||||
both that copyright notice and this permission notice appear in
|
||||
both that copyright notice and this permission notice appear in
|
||||
supporting documentation, and that the names of Digital or MIT not be
|
||||
used in advertising or publicity pertaining to distribution of the
|
||||
software without specific, written prior permission.
|
||||
software without specific, written prior permission.
|
||||
|
||||
DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
|
||||
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
|
||||
|
@ -25,18 +25,18 @@ SOFTWARE.
|
|||
#ifndef XVDIX_H
|
||||
#define XVDIX_H
|
||||
/*
|
||||
** File:
|
||||
** File:
|
||||
**
|
||||
** xvdix.h --- Xv device independent header file
|
||||
**
|
||||
** Author:
|
||||
** Author:
|
||||
**
|
||||
** David Carver (Digital Workstation Engineering/Project Athena)
|
||||
**
|
||||
** Revisions:
|
||||
**
|
||||
** 29.08.91 Carver
|
||||
** - removed UnrealizeWindow wrapper unrealizing windows no longer
|
||||
** - removed UnrealizeWindow wrapper unrealizing windows no longer
|
||||
** preempts video
|
||||
**
|
||||
** 11.06.91 Carver
|
||||
|
|
|
@ -4,13 +4,13 @@ and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
|
|||
|
||||
All Rights Reserved
|
||||
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
provided that the above copyright notice appear in all copies and that
|
||||
both that copyright notice and this permission notice appear in
|
||||
both that copyright notice and this permission notice appear in
|
||||
supporting documentation, and that the names of Digital or MIT not be
|
||||
used in advertising or publicity pertaining to distribution of the
|
||||
software without specific, written prior permission.
|
||||
software without specific, written prior permission.
|
||||
|
||||
DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
|
||||
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
|
||||
|
@ -23,11 +23,11 @@ SOFTWARE.
|
|||
******************************************************************/
|
||||
|
||||
/*
|
||||
** File:
|
||||
** File:
|
||||
**
|
||||
** xvmain.c --- Xv server extension main device independent module.
|
||||
**
|
||||
** Author:
|
||||
**
|
||||
** Author:
|
||||
**
|
||||
** David Carver (Digital Workstation Engineering/Project Athena)
|
||||
**
|
||||
|
@ -58,7 +58,7 @@ SOFTWARE.
|
|||
**
|
||||
** 24.01.91 Carver
|
||||
** - version 1.4 upgrade
|
||||
**
|
||||
**
|
||||
** Notes:
|
||||
**
|
||||
** Port structures reference client structures in a two different
|
||||
|
@ -915,7 +915,7 @@ XvdiSelectPortNotify(ClientPtr client, XvPortPtr pPort, BOOL onoff)
|
|||
return Success;
|
||||
}
|
||||
|
||||
/* DIDN'T FIND IT; SO REUSE LIST ELEMENT IF ONE IS FREE OTHERWISE
|
||||
/* DIDN'T FIND IT; SO REUSE LIST ELEMENT IF ONE IS FREE OTHERWISE
|
||||
CREATE A NEW ONE AND ADD IT TO THE BEGINNING OF THE LIST */
|
||||
|
||||
if (!tpn) {
|
||||
|
|
|
@ -156,7 +156,7 @@ compRedirectWindow(ClientPtr pClient, WindowPtr pWin, int update)
|
|||
return BadAccess;
|
||||
|
||||
/*
|
||||
* Allocate per-client per-window structure
|
||||
* Allocate per-client per-window structure
|
||||
* The client *could* allocate multiple, but while supported,
|
||||
* it is not expected to be common
|
||||
*/
|
||||
|
@ -353,7 +353,7 @@ compRedirectSubwindows(ClientPtr pClient, WindowPtr pWin, int update)
|
|||
if (ccw->update == CompositeRedirectManual)
|
||||
return BadAccess;
|
||||
/*
|
||||
* Allocate per-client per-window structure
|
||||
* Allocate per-client per-window structure
|
||||
* The client *could* allocate multiple, but while supported,
|
||||
* it is not expected to be common
|
||||
*/
|
||||
|
@ -401,7 +401,7 @@ compRedirectSubwindows(ClientPtr pClient, WindowPtr pWin, int update)
|
|||
return BadAlloc;
|
||||
if (ccw->update == CompositeRedirectManual) {
|
||||
csw->update = CompositeRedirectManual;
|
||||
/*
|
||||
/*
|
||||
* tell damage extension that damage events for this client are
|
||||
* critical output
|
||||
*/
|
||||
|
@ -430,7 +430,7 @@ compFreeClientSubwindows(WindowPtr pWin, XID id)
|
|||
|
||||
*prev = ccw->next;
|
||||
if (ccw->update == CompositeRedirectManual) {
|
||||
/*
|
||||
/*
|
||||
* tell damage extension that damage events for this client are
|
||||
* critical output
|
||||
*/
|
||||
|
|
|
@ -299,7 +299,7 @@ ProcCompositeGetOverlayWindow(ClientPtr client)
|
|||
VERIFY_WINDOW(pWin, stuff->window, client, DixGetAttrAccess);
|
||||
pScreen = pWin->drawable.pScreen;
|
||||
|
||||
/*
|
||||
/*
|
||||
* Create an OverlayClient structure to mark this client's
|
||||
* interest in the overlay window
|
||||
*/
|
||||
|
@ -351,7 +351,7 @@ ProcCompositeReleaseOverlayWindow(ClientPtr client)
|
|||
REQUEST_SIZE_MATCH(xCompositeReleaseOverlayWindowReq);
|
||||
VERIFY_WINDOW(pWin, stuff->window, client, DixGetAttrAccess);
|
||||
|
||||
/*
|
||||
/*
|
||||
* Has client queried a reference to the overlay window
|
||||
* on this screen? If not, generate an error.
|
||||
*/
|
||||
|
|
|
@ -209,7 +209,7 @@ compFindVisuallessDepth(ScreenPtr pScreen, int d)
|
|||
}
|
||||
}
|
||||
/*
|
||||
* If there isn't one, then it's gonna be hard to have
|
||||
* If there isn't one, then it's gonna be hard to have
|
||||
* an associated visual
|
||||
*/
|
||||
return 0;
|
||||
|
|
|
@ -76,7 +76,7 @@
|
|||
|
||||
/*
|
||||
* enable this for debugging
|
||||
|
||||
|
||||
#define COMPOSITE_DEBUG
|
||||
*/
|
||||
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
#include "panoramiXsrv.h"
|
||||
#endif
|
||||
|
||||
/*
|
||||
/*
|
||||
* Delete the given overlay client list element from its screen list.
|
||||
*/
|
||||
void
|
||||
|
@ -110,7 +110,7 @@ compCreateOverlayClient(ScreenPtr pScreen, ClientPtr pClient)
|
|||
pOc->pNext = cs->pOverlayClients;
|
||||
cs->pOverlayClients = pOc;
|
||||
|
||||
/*
|
||||
/*
|
||||
* Create a resource for this element so it can be deleted
|
||||
* when the client goes away.
|
||||
*/
|
||||
|
|
16
dbe/dbe.c
16
dbe/dbe.c
|
@ -1,5 +1,5 @@
|
|||
/******************************************************************************
|
||||
*
|
||||
*
|
||||
* Copyright (c) 1994, 1995 Hewlett-Packard Company
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
|
@ -9,10 +9,10 @@
|
|||
* distribute, sublicense, and/or sell copies of the Software, and to
|
||||
* permit persons to whom the Software is furnished to do so, subject to
|
||||
* the following conditions:
|
||||
*
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
|
@ -20,12 +20,12 @@
|
|||
* DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
||||
* OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
|
||||
* THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*
|
||||
*
|
||||
* Except as contained in this notice, the name of the Hewlett-Packard
|
||||
* Company shall not be used in advertising or otherwise to promote the
|
||||
* sale, use or other dealings in this Software without prior written
|
||||
* authorization from the Hewlett-Packard Company.
|
||||
*
|
||||
*
|
||||
* DIX DBE code
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
@ -152,7 +152,7 @@ ProcDbeGetVersion(ClientPtr client)
|
|||
* BadIDChoice - id is out of range for client; id is already in use
|
||||
* BadMatch - window is not an InputOutput window;
|
||||
* visual of window is not on list returned by
|
||||
* DBEGetVisualInfo;
|
||||
* DBEGetVisualInfo;
|
||||
* BadValue - invalid swap action is specified
|
||||
* BadWindow - window is not a valid window
|
||||
* Success
|
||||
|
@ -835,7 +835,7 @@ SProcDbeGetVersion(ClientPtr client)
|
|||
* BadIDChoice - id is out of range for client; id is already in use
|
||||
* BadMatch - window is not an InputOutput window;
|
||||
* visual of window is not on list returned by
|
||||
* DBEGetVisualInfo;
|
||||
* DBEGetVisualInfo;
|
||||
* BadValue - invalid swap action is specified
|
||||
* BadWindow - window is not a valid window
|
||||
* Success
|
||||
|
@ -1058,7 +1058,7 @@ SProcDbeDispatch(ClientPtr client)
|
|||
*
|
||||
* TRUE - setup was successful
|
||||
* FALSE - the window's background state is NONE
|
||||
*
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
static Bool
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/******************************************************************************
|
||||
*
|
||||
*
|
||||
* Copyright (c) 1994, 1995 Hewlett-Packard Company
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
|
@ -9,10 +9,10 @@
|
|||
* distribute, sublicense, and/or sell copies of the Software, and to
|
||||
* permit persons to whom the Software is furnished to do so, subject to
|
||||
* the following conditions:
|
||||
*
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
|
@ -20,12 +20,12 @@
|
|||
* DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
||||
* OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
|
||||
* THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*
|
||||
*
|
||||
* Except as contained in this notice, the name of the Hewlett-Packard
|
||||
* Company shall not be used in advertising or otherwise to promote the
|
||||
* sale, use or other dealings in this Software without prior written
|
||||
* authorization from the Hewlett-Packard Company.
|
||||
*
|
||||
*
|
||||
* Header file for DIX-related DBE
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
@ -139,7 +139,7 @@ typedef struct _DbeWindowPrivRec {
|
|||
* possibly resulting in a page swap and loss of performance. Initially we
|
||||
* will use this array to store buffer IDs. For situations where we have
|
||||
* more IDs than can fit in this static array, we will allocate a larger
|
||||
* array to use, possibly suffering a performance loss.
|
||||
* array to use, possibly suffering a performance loss.
|
||||
*/
|
||||
XID initIDs[DBE_INIT_MAX_IDS];
|
||||
|
||||
|
|
14
dbe/midbe.c
14
dbe/midbe.c
|
@ -1,5 +1,5 @@
|
|||
/******************************************************************************
|
||||
*
|
||||
*
|
||||
* Copyright (c) 1994, 1995 Hewlett-Packard Company
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
|
@ -9,10 +9,10 @@
|
|||
* distribute, sublicense, and/or sell copies of the Software, and to
|
||||
* permit persons to whom the Software is furnished to do so, subject to
|
||||
* the following conditions:
|
||||
*
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
|
@ -20,12 +20,12 @@
|
|||
* DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
||||
* OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
|
||||
* THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*
|
||||
*
|
||||
* Except as contained in this notice, the name of the Hewlett-Packard
|
||||
* Company shall not be used in advertising or otherwise to promote the
|
||||
* sale, use or other dealings in this Software without prior written
|
||||
* authorization from the Hewlett-Packard Company.
|
||||
*
|
||||
*
|
||||
* Machine-independent DBE code
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
@ -396,7 +396,7 @@ miDbeSwapBuffers(ClientPtr client, int *pNumWindows, DbeSwapInfoPtr swapInfo)
|
|||
* resource deletion easier. It is not guaranteed which delete function is
|
||||
* called first. Hence, we will let miDbeWinPrivDelete() free all DBE
|
||||
* resources.
|
||||
*
|
||||
*
|
||||
* This function deletes/frees the following stuff associated with
|
||||
* the window private:
|
||||
*
|
||||
|
@ -443,7 +443,7 @@ miDbeWinPrivDelete(DbeWindowPrivPtr pDbeWindowPriv, XID bufId)
|
|||
*
|
||||
* Description:
|
||||
*
|
||||
* This function was cloned from miMbxPositionWindow() in mimultibuf.c.
|
||||
* This function was cloned from miMbxPositionWindow() in mimultibuf.c.
|
||||
* This function resizes the buffer when the window is resized.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
|
|
@ -8,10 +8,10 @@
|
|||
* distribute, sublicense, and/or sell copies of the Software, and to
|
||||
* permit persons to whom the Software is furnished to do so, subject to
|
||||
* the following conditions:
|
||||
*
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
|
@ -19,12 +19,12 @@
|
|||
* DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
||||
* OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
|
||||
* THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*
|
||||
*
|
||||
* Except as contained in this notice, the name of the Hewlett-Packard
|
||||
* Company shall not be used in advertising or otherwise to promote the
|
||||
* sale, use or other dealings in this Software without prior written
|
||||
* authorization from the Hewlett-Packard Company.
|
||||
*
|
||||
*
|
||||
* Header file for users of machine-independent DBE code
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
|
|
@ -26,13 +26,13 @@ Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
|
|||
|
||||
All Rights Reserved
|
||||
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
provided that the above copyright notice appear in all copies and that
|
||||
both that copyright notice and this permission notice appear in
|
||||
both that copyright notice and this permission notice appear in
|
||||
supporting documentation, and that the name of Digital not be
|
||||
used in advertising or publicity pertaining to distribution of the
|
||||
software without specific, written prior permission.
|
||||
software without specific, written prior permission.
|
||||
|
||||
DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
|
||||
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
|
||||
|
|
|
@ -26,13 +26,13 @@ Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
|
|||
|
||||
All Rights Reserved
|
||||
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
provided that the above copyright notice appear in all copies and that
|
||||
both that copyright notice and this permission notice appear in
|
||||
both that copyright notice and this permission notice appear in
|
||||
supporting documentation, and that the name of Digital not be
|
||||
used in advertising or publicity pertaining to distribution of the
|
||||
software without specific, written prior permission.
|
||||
software without specific, written prior permission.
|
||||
|
||||
DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
|
||||
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
|
||||
|
@ -181,11 +181,11 @@ static void FindColorInRootCmap(ColormapPtr /* pmap */ ,
|
|||
|
||||
#define RGBMASK(vis) (vis->redMask | vis->greenMask | vis->blueMask | ALPHAMASK(vis))
|
||||
|
||||
/* GetNextBitsOrBreak(bits, mask, base) --
|
||||
/* GetNextBitsOrBreak(bits, mask, base) --
|
||||
* (Suggestion: First read the macro, then read this explanation.
|
||||
*
|
||||
* Either generate the next value to OR in to a pixel or break out of this
|
||||
* while loop
|
||||
* while loop
|
||||
*
|
||||
* This macro is used when we're trying to generate all 2^n combinations of
|
||||
* bits in mask. What we're doing here is counting in binary, except that
|
||||
|
@ -197,11 +197,11 @@ static void FindColorInRootCmap(ColormapPtr /* pmap */ ,
|
|||
* base has 1 bit set where the least significant bit of mask is set
|
||||
*
|
||||
* For example,if mask is 01010, base should be 0010 and we count like this:
|
||||
* 00010 (see this isn't so hard),
|
||||
* 00010 (see this isn't so hard),
|
||||
* then we add base to bits and get 0100. (bits & ~mask) is (0100 & 0100) so
|
||||
* we add that to bits getting (0100 + 0100) =
|
||||
* 01000 for our next value.
|
||||
* then we add 0010 to get
|
||||
* then we add 0010 to get
|
||||
* 01010 and we're done (easy as 1, 2, 3)
|
||||
*/
|
||||
#define GetNextBitsOrBreak(bits, mask, base) \
|
||||
|
@ -225,9 +225,9 @@ typedef struct _colorResource {
|
|||
* fShared should only be set if refcnt == AllocPrivate, and only in red map
|
||||
*/
|
||||
|
||||
/**
|
||||
* Create and initialize the color map
|
||||
*
|
||||
/**
|
||||
* Create and initialize the color map
|
||||
*
|
||||
* \param mid resource to use for this colormap
|
||||
* \param alloc 1 iff all entries are allocated writable
|
||||
*/
|
||||
|
@ -370,7 +370,7 @@ CreateColormap(Colormap mid, ScreenPtr pScreen, VisualPtr pVisual,
|
|||
if (!AddResource(mid, RT_COLORMAP, (void *) pmap))
|
||||
return BadAlloc;
|
||||
|
||||
/*
|
||||
/*
|
||||
* Security creation/labeling check
|
||||
*/
|
||||
i = XaceHook(XACE_RESOURCE_ACCESS, clients[client], mid, RT_COLORMAP,
|
||||
|
@ -1456,7 +1456,7 @@ FreePixels(ColormapPtr pmap, int client)
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
/**
|
||||
* Frees all of a client's colors and cells.
|
||||
*
|
||||
* \param value must conform to DeleteType
|
||||
|
@ -1574,7 +1574,7 @@ AllocColorPlanes(int client, ColormapPtr pmap, int colors,
|
|||
/* Allocate the proper pixels */
|
||||
/* XXX This is sort of bad, because of contig is set, we force all
|
||||
* r + g + b bits to be contiguous. Should only force contiguity
|
||||
* per mask
|
||||
* per mask
|
||||
*/
|
||||
ok = AllocPseudo(client, pmap, colors, r + g + b, contig, pixels,
|
||||
&mask, &ppixFirst);
|
||||
|
@ -1786,7 +1786,7 @@ AllocPseudo(int client, ColormapPtr pmap, int c, int r, Bool contig,
|
|||
* pixels are the unique pixels. *pMask has the mask to Or with the
|
||||
* unique pixels to get the rest of them.
|
||||
*
|
||||
* Returns True iff all pixels could be allocated
|
||||
* Returns True iff all pixels could be allocated
|
||||
* All cells allocated will have refcnt set to AllocPrivate and shared to FALSE
|
||||
* (see AllocShared for why we care)
|
||||
*/
|
||||
|
@ -2056,7 +2056,7 @@ AllocShared(ColormapPtr pmap, Pixel * ppix, int c, int r, int g, int b,
|
|||
}
|
||||
|
||||
/** FreeColors
|
||||
* Free colors and/or cells (probably slow for large numbers)
|
||||
* Free colors and/or cells (probably slow for large numbers)
|
||||
*/
|
||||
int
|
||||
FreeColors(ColormapPtr pmap, int client, int count, Pixel * pixels, Pixel mask)
|
||||
|
@ -2097,7 +2097,7 @@ FreeColors(ColormapPtr pmap, int client, int count, Pixel * pixels, Pixel mask)
|
|||
/**
|
||||
* Helper for FreeColors -- frees all combinations of *newpixels and mask bits
|
||||
* which the client has allocated in channel colormap cells of pmap.
|
||||
* doesn't change newpixels if it doesn't need to
|
||||
* doesn't change newpixels if it doesn't need to
|
||||
*
|
||||
* \param pmap which colormap head
|
||||
* \param color which sub-map, eg, RED, BLUE, PSEUDO
|
||||
|
|
|
@ -26,13 +26,13 @@ Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
|
|||
|
||||
All Rights Reserved
|
||||
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
provided that the above copyright notice appear in all copies and that
|
||||
both that copyright notice and this permission notice appear in
|
||||
both that copyright notice and this permission notice appear in
|
||||
supporting documentation, and that the name of Digital not be
|
||||
used in advertising or publicity pertaining to distribution of the
|
||||
software without specific, written prior permission.
|
||||
software without specific, written prior permission.
|
||||
|
||||
DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
|
||||
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
|
||||
|
|
|
@ -26,13 +26,13 @@ Copyright 1987, 1989 by Digital Equipment Corporation, Maynard, Massachusetts.
|
|||
|
||||
All Rights Reserved
|
||||
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
provided that the above copyright notice appear in all copies and that
|
||||
both that copyright notice and this permission notice appear in
|
||||
both that copyright notice and this permission notice appear in
|
||||
supporting documentation, and that the name of Digital not be
|
||||
used in advertising or publicity pertaining to distribution of the
|
||||
software without specific, written prior permission.
|
||||
software without specific, written prior permission.
|
||||
|
||||
DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
|
||||
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
|
||||
|
@ -364,9 +364,9 @@ Dispatch(void)
|
|||
clientReady[0] = SmartScheduleClient(clientReady, nready);
|
||||
nready = 1;
|
||||
}
|
||||
/*****************
|
||||
* Handle events in round robin fashion, doing input between
|
||||
* each round
|
||||
/*****************
|
||||
* Handle events in round robin fashion, doing input between
|
||||
* each round
|
||||
*****************/
|
||||
|
||||
while (!dispatchException && (--nready >= 0)) {
|
||||
|
@ -3198,7 +3198,7 @@ ProcChangeAccessControl(ClientPtr client)
|
|||
/*********************
|
||||
* CloseDownRetainedResources
|
||||
*
|
||||
* Find all clients that are gone and have terminated in RetainTemporary
|
||||
* Find all clients that are gone and have terminated in RetainTemporary
|
||||
* and destroy their resources.
|
||||
*********************/
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|||
/*
|
||||
* This prototypes the dispatch.c module (except for functions declared in
|
||||
* global headers), plus related dispatch procedures from devices.c, events.c,
|
||||
* extension.c, property.c.
|
||||
* extension.c, property.c.
|
||||
*/
|
||||
|
||||
#ifdef HAVE_DIX_CONFIG_H
|
||||
|
|
|
@ -806,7 +806,7 @@ ListFonts(ClientPtr client, unsigned char *pattern, unsigned length,
|
|||
int i;
|
||||
LFclosurePtr c;
|
||||
|
||||
/*
|
||||
/*
|
||||
* The right error to return here would be BadName, however the
|
||||
* specification does not allow for a Name error on this request.
|
||||
* Perhaps a better solution would be to return a nil list, i.e.
|
||||
|
@ -1057,7 +1057,7 @@ StartListFontsWithInfo(ClientPtr client, int length, unsigned char *pattern,
|
|||
int i;
|
||||
LFWIclosurePtr c;
|
||||
|
||||
/*
|
||||
/*
|
||||
* The right error to return here would be BadName, however the
|
||||
* specification does not allow for a Name error on this request.
|
||||
* Perhaps a better solution would be to return a nil list, i.e.
|
||||
|
@ -1851,7 +1851,7 @@ GetClientResolutions(int *num)
|
|||
pScreen = screenInfo.screens[0];
|
||||
res.x_resolution = (pScreen->width * 25.4) / pScreen->mmWidth;
|
||||
/*
|
||||
* XXX - we'll want this as long as bitmap instances are prevalent
|
||||
* XXX - we'll want this as long as bitmap instances are prevalent
|
||||
so that we can match them from scalable fonts
|
||||
*/
|
||||
if (res.x_resolution < 88)
|
||||
|
|
|
@ -26,13 +26,13 @@ Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
|
|||
|
||||
All Rights Reserved
|
||||
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
provided that the above copyright notice appear in all copies and that
|
||||
both that copyright notice and this permission notice appear in
|
||||
both that copyright notice and this permission notice appear in
|
||||
supporting documentation, and that the name of Digital not be
|
||||
used in advertising or publicity pertaining to distribution of the
|
||||
software without specific, written prior permission.
|
||||
software without specific, written prior permission.
|
||||
|
||||
DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
|
||||
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
|
||||
|
@ -352,7 +352,7 @@ DeleteWindowFromAnySaveSet(WindowPtr pWin)
|
|||
/* No-op Don't Do Anything : sometimes we need to be able to call a procedure
|
||||
* that doesn't do anything. For example, on screen with only static
|
||||
* colormaps, if someone calls install colormap, it's easier to have a dummy
|
||||
* procedure to call than to check if there's a procedure
|
||||
* procedure to call than to check if there's a procedure
|
||||
*/
|
||||
void
|
||||
NoopDDA(void)
|
||||
|
@ -373,7 +373,7 @@ static Bool inHandler;
|
|||
static Bool handlerDeleted;
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* \param pTimeout DIX doesn't want to know how OS represents time
|
||||
* \param pReadMask nor how it represents the det of descriptors
|
||||
*/
|
||||
|
|
|
@ -26,13 +26,13 @@ Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
|
|||
|
||||
All Rights Reserved
|
||||
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
provided that the above copyright notice appear in all copies and that
|
||||
both that copyright notice and this permission notice appear in
|
||||
both that copyright notice and this permission notice appear in
|
||||
supporting documentation, and that the name of Digital not be
|
||||
used in advertising or publicity pertaining to distribution of the
|
||||
software without specific, written prior permission.
|
||||
software without specific, written prior permission.
|
||||
|
||||
DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
|
||||
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
|
||||
|
|
22
dix/gc.c
22
dix/gc.c
|
@ -26,13 +26,13 @@ Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
|
|||
|
||||
All Rights Reserved
|
||||
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
provided that the above copyright notice appear in all copies and that
|
||||
both that copyright notice and this permission notice appear in
|
||||
both that copyright notice and this permission notice appear in
|
||||
supporting documentation, and that the name of Digital not be
|
||||
used in advertising or publicity pertaining to distribution of the
|
||||
software without specific, written prior permission.
|
||||
software without specific, written prior permission.
|
||||
|
||||
DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
|
||||
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
|
||||
|
@ -87,22 +87,22 @@ ValidateGC(DrawablePtr pDraw, GC * pGC)
|
|||
* specified. ddxen can call this too; they should normally pass
|
||||
* NullClient for the client since any access checking should have
|
||||
* already been done at a higher level.
|
||||
*
|
||||
*
|
||||
* If you have any XIDs, you must use ChangeGCXIDs:
|
||||
*
|
||||
*
|
||||
* CARD32 v[2];
|
||||
* v[0] = FillTiled;
|
||||
* v[1] = pid;
|
||||
* ChangeGCXIDs(client, pGC, GCFillStyle|GCTile, v);
|
||||
*
|
||||
*
|
||||
* However, if you need to pass a pointer to a pixmap or font, you must
|
||||
* use ChangeGC:
|
||||
*
|
||||
*
|
||||
* ChangeGCVal v[2];
|
||||
* v[0].val = FillTiled;
|
||||
* v[1].ptr = pPixmap;
|
||||
* ChangeGC(client, pGC, GCFillStyle|GCTile, v);
|
||||
*
|
||||
*
|
||||
* If you have neither XIDs nor pointers, you can use either function,
|
||||
* but ChangeGC will do less work.
|
||||
*
|
||||
|
@ -790,7 +790,7 @@ since we can't create them without already having a GC. any code
|
|||
using the tile or stipple has to set them explicitly anyway,
|
||||
since the state of the scratch gc is unknown. This is OK
|
||||
because ChangeGC() has to be able to deal with NULL tiles and
|
||||
stipples anyway (in case the CreateGC() call has provided a
|
||||
stipples anyway (in case the CreateGC() call has provided a
|
||||
value for them -- we can't set the default tile until the
|
||||
client-supplied attributes are installed, since the fgPixel
|
||||
is what fills the default tile. (maybe this comment should
|
||||
|
@ -1032,7 +1032,7 @@ SetClipRects(GCPtr pGC, int xOrigin, int yOrigin, int nrects,
|
|||
}
|
||||
|
||||
/*
|
||||
sets reasonable defaults
|
||||
sets reasonable defaults
|
||||
if we can get a pre-allocated one, use it and mark it as used.
|
||||
if we can't, create one out of whole cloth (The Velveteen GC -- if
|
||||
you use it often enough it will become real.)
|
||||
|
|
|
@ -26,13 +26,13 @@ Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
|
|||
|
||||
All Rights Reserved
|
||||
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
provided that the above copyright notice appear in all copies and that
|
||||
both that copyright notice and this permission notice appear in
|
||||
both that copyright notice and this permission notice appear in
|
||||
supporting documentation, and that the name of Digital not be
|
||||
used in advertising or publicity pertaining to distribution of the
|
||||
software without specific, written prior permission.
|
||||
software without specific, written prior permission.
|
||||
|
||||
DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
|
||||
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
|
||||
|
|
|
@ -26,13 +26,13 @@ Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
|
|||
|
||||
All Rights Reserved
|
||||
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
provided that the above copyright notice appear in all copies and that
|
||||
both that copyright notice and this permission notice appear in
|
||||
both that copyright notice and this permission notice appear in
|
||||
supporting documentation, and that the name of Digital not be
|
||||
used in advertising or publicity pertaining to distribution of the
|
||||
software without specific, written prior permission.
|
||||
software without specific, written prior permission.
|
||||
|
||||
DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
|
||||
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
|
||||
|
|
16
dix/grabs.c
16
dix/grabs.c
|
@ -28,13 +28,13 @@ Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts,
|
|||
|
||||
All Rights Reserved
|
||||
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
provided that the above copyright notice appear in all copies and that
|
||||
both that copyright notice and this permission notice appear in
|
||||
both that copyright notice and this permission notice appear in
|
||||
supporting documentation, and that the name of Digital not be
|
||||
used in advertising or publicity pertaining to distribution of the
|
||||
software without specific, written prior permission.
|
||||
software without specific, written prior permission.
|
||||
DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
|
||||
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
|
||||
DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
|
||||
|
@ -419,9 +419,9 @@ GrabSupersedesSecond(GrabPtr pFirstGrab, GrabPtr pSecondGrab)
|
|||
|
||||
/**
|
||||
* Compares two grabs and returns TRUE if the first grab matches the second
|
||||
* grab.
|
||||
*
|
||||
* A match is when
|
||||
* grab.
|
||||
*
|
||||
* A match is when
|
||||
* - the devices set for the grab are equal (this is optional).
|
||||
* - the event types for both grabs are equal.
|
||||
* - XXX
|
||||
|
@ -522,7 +522,7 @@ GrabsAreIdentical(GrabPtr pFirstGrab, GrabPtr pSecondGrab)
|
|||
* Any previously existing grab that matches the new grab will be removed.
|
||||
* Adding a new grab that would override another client's grab will result in
|
||||
* a BadAccess.
|
||||
*
|
||||
*
|
||||
* @return Success or X error code on failure.
|
||||
*/
|
||||
int
|
||||
|
|
|
@ -26,13 +26,13 @@ Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
|
|||
|
||||
All Rights Reserved
|
||||
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
provided that the above copyright notice appear in all copies and that
|
||||
both that copyright notice and this permission notice appear in
|
||||
both that copyright notice and this permission notice appear in
|
||||
supporting documentation, and that the name of Digital not be
|
||||
used in advertising or publicity pertaining to distribution of the
|
||||
software without specific, written prior permission.
|
||||
software without specific, written prior permission.
|
||||
|
||||
DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
|
||||
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
|
||||
|
|
|
@ -26,13 +26,13 @@ Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
|
|||
|
||||
All Rights Reserved
|
||||
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
provided that the above copyright notice appear in all copies and that
|
||||
both that copyright notice and this permission notice appear in
|
||||
both that copyright notice and this permission notice appear in
|
||||
supporting documentation, and that the name of Digital not be
|
||||
used in advertising or publicity pertaining to distribution of the
|
||||
software without specific, written prior permission.
|
||||
software without specific, written prior permission.
|
||||
|
||||
DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
|
||||
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
|
||||
|
|
22
dix/region.c
22
dix/region.c
|
@ -21,20 +21,20 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
Except as contained in this notice, the name of The Open Group shall not be
|
||||
used in advertising or otherwise to promote the sale, use or other dealings
|
||||
in this Software without prior written authorization from The Open Group.
|
||||
|
||||
|
||||
Copyright 1987, 1988, 1989 by
|
||||
Digital Equipment Corporation, Maynard, Massachusetts.
|
||||
|
||||
Copyright 1987, 1988, 1989 by
|
||||
Digital Equipment Corporation, Maynard, Massachusetts.
|
||||
|
||||
All Rights Reserved
|
||||
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
provided that the above copyright notice appear in all copies and that
|
||||
both that copyright notice and this permission notice appear in
|
||||
both that copyright notice and this permission notice appear in
|
||||
supporting documentation, and that the name of Digital not be
|
||||
used in advertising or publicity pertaining to distribution of the
|
||||
software without specific, written prior permission.
|
||||
software without specific, written prior permission.
|
||||
|
||||
DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
|
||||
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
|
||||
|
@ -118,9 +118,9 @@ Equipment Corporation.
|
|||
* there is no separate list of band start pointers.
|
||||
*
|
||||
* The y-x band representation does not minimize rectangles. In particular,
|
||||
* if a rectangle vertically crosses a band (the rectangle has scanlines in
|
||||
* if a rectangle vertically crosses a band (the rectangle has scanlines in
|
||||
* the y1 to y2 area spanned by the band), then the rectangle may be broken
|
||||
* down into two or more smaller rectangles stacked one atop the other.
|
||||
* down into two or more smaller rectangles stacked one atop the other.
|
||||
*
|
||||
* ----------- -----------
|
||||
* | | | | band 0
|
||||
|
@ -944,7 +944,7 @@ RegionUnionO(RegionPtr pReg,
|
|||
/*-
|
||||
*-----------------------------------------------------------------------
|
||||
* RegionAppend --
|
||||
*
|
||||
*
|
||||
* "Append" the rgn rectangles onto the end of dstrgn, maintaining
|
||||
* knowledge of YX-banding when it's easy. Otherwise, dstrgn just
|
||||
* becomes a non-y-x-banded random collection of rectangles, and not
|
||||
|
@ -1099,7 +1099,7 @@ QuickSortRects(BoxRec rects[], int numRects)
|
|||
/*-
|
||||
*-----------------------------------------------------------------------
|
||||
* RegionValidate --
|
||||
*
|
||||
*
|
||||
* Take a ``region'' which is a non-y-x-banded random collection of
|
||||
* rectangles, and compute a nice region which is the union of all the
|
||||
* rectangles.
|
||||
|
|
|
@ -26,13 +26,13 @@ Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
|
|||
|
||||
All Rights Reserved
|
||||
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
provided that the above copyright notice appear in all copies and that
|
||||
both that copyright notice and this permission notice appear in
|
||||
both that copyright notice and this permission notice appear in
|
||||
supporting documentation, and that the name of Digital not be
|
||||
used in advertising or publicity pertaining to distribution of the
|
||||
software without specific, written prior permission.
|
||||
software without specific, written prior permission.
|
||||
|
||||
DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
|
||||
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
|
||||
|
@ -101,7 +101,7 @@ Equipment Corporation.
|
|||
* FreeAllResources, LookupIDByType, LookupIDByClass, GetXIDRange
|
||||
*/
|
||||
|
||||
/*
|
||||
/*
|
||||
* A resource ID is a 32 bit quantity, the upper 2 bits of which are
|
||||
* off-limits for client-visible resources. The next 8 bits are
|
||||
* used as client ID, and the low 22 bits come from the client.
|
||||
|
@ -725,7 +725,7 @@ GetXIDRange(int client, Bool server, XID *minp, XID *maxp)
|
|||
|
||||
/**
|
||||
* GetXIDList is called by the XC-MISC extension's MiscGetXIDList function.
|
||||
* This function tries to find count unused XIDs for the given client. It
|
||||
* This function tries to find count unused XIDs for the given client. It
|
||||
* puts the IDs in the array pids and returns the number found, which should
|
||||
* almost always be the number requested.
|
||||
*
|
||||
|
@ -1118,8 +1118,8 @@ FreeClientResources(ClientPtr client)
|
|||
resources = clientTable[client->index].resources;
|
||||
for (j = 0; j < clientTable[client->index].buckets; j++) {
|
||||
/* It may seem silly to update the head of this resource list as
|
||||
we delete the members, since the entire list will be deleted any way,
|
||||
but there are some resource deletion functions "FreeClientPixels" for
|
||||
we delete the members, since the entire list will be deleted any way,
|
||||
but there are some resource deletion functions "FreeClientPixels" for
|
||||
one which do a LookupID on another resource id (a Colormap id in this
|
||||
case), so the resource list must be kept valid up to the point that
|
||||
it is deleted, so every time we delete a resource, we must update the
|
||||
|
|
|
@ -26,13 +26,13 @@ Copyright 1987, 1989 by Digital Equipment Corporation, Maynard, Massachusetts.
|
|||
|
||||
All Rights Reserved
|
||||
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
provided that the above copyright notice appear in all copies and that
|
||||
both that copyright notice and this permission notice appear in
|
||||
both that copyright notice and this permission notice appear in
|
||||
supporting documentation, and that the name of Digital not be
|
||||
used in advertising or publicity pertaining to distribution of the
|
||||
software without specific, written prior permission.
|
||||
software without specific, written prior permission.
|
||||
|
||||
DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
|
||||
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
|
||||
|
@ -176,7 +176,7 @@ ProcSetSelectionOwner(ClientPtr client)
|
|||
if (rc == Success) {
|
||||
/* If the timestamp in client's request is in the past relative
|
||||
to the time stamp indicating the last time the owner of the
|
||||
selection was set, do not set the selection, just return
|
||||
selection was set, do not set the selection, just return
|
||||
success. */
|
||||
if (CompareTimeStamps(time, pSel->lastTimeChanged) == EARLIER)
|
||||
return Success;
|
||||
|
|
|
@ -26,13 +26,13 @@ Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
|
|||
|
||||
All Rights Reserved
|
||||
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
provided that the above copyright notice appear in all copies and that
|
||||
both that copyright notice and this permission notice appear in
|
||||
both that copyright notice and this permission notice appear in
|
||||
supporting documentation, and that the name of Digital not be
|
||||
used in advertising or publicity pertaining to distribution of the
|
||||
software without specific, written prior permission.
|
||||
software without specific, written prior permission.
|
||||
|
||||
DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
|
||||
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
|
||||
|
|
|
@ -26,13 +26,13 @@ Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
|
|||
|
||||
All Rights Reserved
|
||||
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
provided that the above copyright notice appear in all copies and that
|
||||
both that copyright notice and this permission notice appear in
|
||||
both that copyright notice and this permission notice appear in
|
||||
supporting documentation, and that the name of Digital not be
|
||||
used in advertising or publicity pertaining to distribution of the
|
||||
software without specific, written prior permission.
|
||||
software without specific, written prior permission.
|
||||
|
||||
DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
|
||||
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
|
||||
|
|
|
@ -26,13 +26,13 @@ Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
|
|||
|
||||
All Rights Reserved
|
||||
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
provided that the above copyright notice appear in all copies and that
|
||||
both that copyright notice and this permission notice appear in
|
||||
both that copyright notice and this permission notice appear in
|
||||
supporting documentation, and that the name of Digital not be
|
||||
used in advertising or publicity pertaining to distribution of the
|
||||
software without specific, written prior permission.
|
||||
software without specific, written prior permission.
|
||||
|
||||
DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
|
||||
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
|
||||
|
|
36
dix/window.c
36
dix/window.c
|
@ -49,13 +49,13 @@ Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts,
|
|||
|
||||
All Rights Reserved
|
||||
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
provided that the above copyright notice appear in all copies and that
|
||||
both that copyright notice and this permission notice appear in
|
||||
both that copyright notice and this permission notice appear in
|
||||
supporting documentation, and that the name of Digital not be
|
||||
used in advertising or publicity pertaining to distribution of the
|
||||
software without specific, written prior permission.
|
||||
software without specific, written prior permission.
|
||||
|
||||
DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
|
||||
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
|
||||
|
@ -135,7 +135,7 @@ Equipment Corporation.
|
|||
#include <X11/Xatom.h> /* must come after server includes */
|
||||
|
||||
/******
|
||||
* Window stuff for server
|
||||
* Window stuff for server
|
||||
*
|
||||
* CreateRootWindow, CreateWindow, ChangeWindowAttributes,
|
||||
* GetWindowAttributes, DeleteWindow, DestroySubWindows,
|
||||
|
@ -633,7 +633,7 @@ RealChildHead(WindowPtr pWin)
|
|||
|
||||
/*****
|
||||
* CreateWindow
|
||||
* Makes a window in response to client request
|
||||
* Makes a window in response to client request
|
||||
*****/
|
||||
|
||||
WindowPtr
|
||||
|
@ -1038,10 +1038,10 @@ SetRootWindowBackground(WindowPtr pWin, ScreenPtr pScreen, Mask *index2)
|
|||
|
||||
/*****
|
||||
* ChangeWindowAttributes
|
||||
*
|
||||
*
|
||||
* The value-mask specifies which attributes are to be changed; the
|
||||
* value-list contains one value for each one bit in the mask, from least
|
||||
* to most significant bit in the mask.
|
||||
* to most significant bit in the mask.
|
||||
*****/
|
||||
|
||||
int
|
||||
|
@ -1459,8 +1459,8 @@ ChangeWindowAttributes(WindowPtr pWin, Mask vmask, XID *vlist, ClientPtr client)
|
|||
/* We SHOULD check for an error value here XXX */
|
||||
(*pScreen->ChangeWindowAttributes) (pWin, vmaskCopy);
|
||||
|
||||
/*
|
||||
If the border contents have changed, redraw the border.
|
||||
/*
|
||||
If the border contents have changed, redraw the border.
|
||||
Note that this has to be done AFTER pScreen->ChangeWindowAttributes
|
||||
for the tile to be rotated, and the correct function selected.
|
||||
*/
|
||||
|
@ -1814,7 +1814,7 @@ ResizeChildrenWinSize(WindowPtr pWin, int dx, int dy, int dw, int dh)
|
|||
|
||||
/*
|
||||
* IsSiblingAboveMe
|
||||
* returns Above if pSib above pMe in stack or Below otherwise
|
||||
* returns Above if pSib above pMe in stack or Below otherwise
|
||||
*/
|
||||
|
||||
static int
|
||||
|
@ -1914,7 +1914,7 @@ IOverlapAnyWindow(WindowPtr pWin, BoxPtr box)
|
|||
}
|
||||
|
||||
/*
|
||||
* WhereDoIGoInTheStack()
|
||||
* WhereDoIGoInTheStack()
|
||||
* Given pWin and pSib and the relationshipe smode, return
|
||||
* the window that pWin should go ABOVE.
|
||||
* If a pSib is specified:
|
||||
|
@ -1922,7 +1922,7 @@ IOverlapAnyWindow(WindowPtr pWin, BoxPtr box)
|
|||
* Below: pWin is placed just below pSib
|
||||
* TopIf: if pSib occludes pWin, then pWin is placed
|
||||
* at the top of the stack
|
||||
* BottomIf: if pWin occludes pSib, then pWin is
|
||||
* BottomIf: if pWin occludes pSib, then pWin is
|
||||
* placed at the bottom of the stack
|
||||
* Opposite: if pSib occludes pWin, then pWin is placed at the
|
||||
* top of the stack, else if pWin occludes pSib, then
|
||||
|
@ -2316,7 +2316,7 @@ ConfigureWindow(WindowPtr pWin, Mask mask, XID *vlist, ClientPtr client)
|
|||
* For RaiseLowest, raises the lowest mapped child (if any) that is
|
||||
* obscured by another child to the top of the stack. For LowerHighest,
|
||||
* lowers the highest mapped child (if any) that is obscuring another
|
||||
* child to the bottom of the stack. Exposure processing is performed
|
||||
* child to the bottom of the stack. Exposure processing is performed
|
||||
*
|
||||
******/
|
||||
|
||||
|
@ -3327,9 +3327,9 @@ MakeWindowOptional(WindowPtr pWin)
|
|||
* changing the window cursor (e.g. using XDefineCursor()) will not have any
|
||||
* visible effect. Only when one of the device cursors is set to None again,
|
||||
* this device's cursor will display the changed standard cursor.
|
||||
*
|
||||
*
|
||||
* CursorIsNone of the window struct is NOT modified if you set a device
|
||||
* cursor.
|
||||
* cursor.
|
||||
*
|
||||
* Assumption: If there is a node for a device in the list, the device has a
|
||||
* cursor. If the cursor is set to None, it is inherited by the parent.
|
||||
|
@ -3424,7 +3424,7 @@ ChangeWindowDeviceCursor(WindowPtr pWin, DeviceIntPtr pDev, CursorPtr pCursor)
|
|||
if (pOldCursor)
|
||||
FreeCursor(pOldCursor, (Cursor) 0);
|
||||
|
||||
/* FIXME: We SHOULD check for an error value here XXX
|
||||
/* FIXME: We SHOULD check for an error value here XXX
|
||||
(comment taken from ChangeWindowAttributes) */
|
||||
(*pScreen->ChangeWindowAttributes) (pWin, CWCursor);
|
||||
|
||||
|
@ -3491,7 +3491,7 @@ WindowSeekDeviceCursor(WindowPtr pWin,
|
|||
}
|
||||
|
||||
/* Return True if a parent has the same device cursor set or False if
|
||||
* otherwise
|
||||
* otherwise
|
||||
*/
|
||||
static Bool
|
||||
WindowParentHasDeviceCursor(WindowPtr pWin,
|
||||
|
|
|
@ -719,7 +719,7 @@ ExaBlockHandler(ScreenPtr pScreen, void *pTimeout,
|
|||
if (pExaScr->info->flags & EXA_HANDLES_PIXMAPS)
|
||||
return;
|
||||
|
||||
/* Try and keep the offscreen memory area tidy every now and then (at most
|
||||
/* Try and keep the offscreen memory area tidy every now and then (at most
|
||||
* once per second) when the server has been idle for at least 100ms.
|
||||
*/
|
||||
if (pExaScr->numOffscreenAvailable > 1) {
|
||||
|
|
|
@ -233,7 +233,7 @@ typedef struct _ExaDriver {
|
|||
* @{
|
||||
*/
|
||||
/**
|
||||
* PrepareCopy() sets up the driver for doing a copy within video
|
||||
* PrepareCopy() sets up the driver for doing a copy within video
|
||||
* memory.
|
||||
*
|
||||
* @param pSrcPixmap source pixmap
|
||||
|
@ -471,7 +471,7 @@ typedef struct _ExaDriver {
|
|||
* UploadToScreen() can aid in pixmap migration, but is most important for
|
||||
* the performance of exaGlyphs() (antialiased font drawing) by allowing
|
||||
* pipelining of data uploads, avoiding a sync of the card after each glyph.
|
||||
*
|
||||
*
|
||||
* @return TRUE if the driver successfully uploaded the data. FALSE
|
||||
* indicates that EXA should fall back to doing the upload in software.
|
||||
*
|
||||
|
@ -512,7 +512,7 @@ typedef struct _ExaDriver {
|
|||
* migration, which is the read from framebuffer when evicting pixmaps from
|
||||
* framebuffer memory. Thus, it is highly recommended, even though
|
||||
* implementations are typically complicated.
|
||||
*
|
||||
*
|
||||
* @return TRUE if the driver successfully downloaded the data. FALSE
|
||||
* indicates that EXA should fall back to doing the download in software.
|
||||
*
|
||||
|
@ -704,7 +704,7 @@ typedef struct _ExaDriver {
|
|||
* @{
|
||||
*/
|
||||
/**
|
||||
* EXA_OFFSCREEN_PIXMAPS indicates to EXA that the driver can support
|
||||
* EXA_OFFSCREEN_PIXMAPS indicates to EXA that the driver can support
|
||||
* offscreen pixmaps.
|
||||
*/
|
||||
#define EXA_OFFSCREEN_PIXMAPS (1 << 0)
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL Red Hat
|
||||
* BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
|
||||
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
||||
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
||||
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*
|
||||
* Permission to use, copy, modify, distribute, and sell this software and its
|
||||
|
@ -33,7 +33,7 @@
|
|||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL SuSE
|
||||
* BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
|
||||
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
||||
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
||||
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*
|
||||
* Author: Owen Taylor <otaylor@fishsoup.net>
|
||||
|
@ -318,8 +318,8 @@ exaGlyphCacheHashRemove(ExaGlyphCachePtr cache, int pos)
|
|||
* are:
|
||||
*
|
||||
* | XXXXXXXXXX |
|
||||
* i j
|
||||
*
|
||||
* i j
|
||||
*
|
||||
* |XXX XXXX|
|
||||
* j i
|
||||
*
|
||||
|
|
|
@ -559,7 +559,7 @@ exaCompositeRects(CARD8 op,
|
|||
box.y2 = y2 < MAXSHORT ? y2 : MAXSHORT;
|
||||
|
||||
/* The pixmap migration code relies on pendingDamage indicating
|
||||
* the bounds of the current rendering, so we need to force
|
||||
* the bounds of the current rendering, so we need to force
|
||||
* the actual damage into that region before we do anything, and
|
||||
* (see use of DamagePendingRegion in exaCopyDirty)
|
||||
*/
|
||||
|
@ -613,7 +613,7 @@ exaCompositeRects(CARD8 op,
|
|||
/************************************************************/
|
||||
|
||||
if (!pMask) {
|
||||
/* Now we have to flush the damage out from pendingDamage => damage
|
||||
/* Now we have to flush the damage out from pendingDamage => damage
|
||||
* Calling DamageRegionProcessPending has that effect.
|
||||
*/
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL SuSE
|
||||
* BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
|
||||
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
||||
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
||||
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*
|
||||
* Author: Keith Packard, SuSE, Inc.
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL SuSE
|
||||
* BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
|
||||
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
||||
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
||||
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*
|
||||
* Author: Keith Packard, SuSE, Inc.
|
||||
|
|
|
@ -206,7 +206,7 @@ fbBltOne(FbStip * src, FbStride srcStride, /* FbStip units per scanline */
|
|||
pixelsPerDst = FB_UNIT / dstBpp;
|
||||
|
||||
/*
|
||||
* Number of source stipple patterns in FbStip
|
||||
* Number of source stipple patterns in FbStip
|
||||
*/
|
||||
unitsPerSrc = FB_STIP_UNIT / pixelsPerDst;
|
||||
|
||||
|
@ -266,8 +266,8 @@ fbBltOne(FbStip * src, FbStride srcStride, /* FbStip units per scanline */
|
|||
}
|
||||
|
||||
/*
|
||||
* Compute total number of destination words written, but
|
||||
* don't count endmask
|
||||
* Compute total number of destination words written, but
|
||||
* don't count endmask
|
||||
*/
|
||||
nDst = nmiddle;
|
||||
if (startmask)
|
||||
|
|
|
@ -74,7 +74,7 @@ fbPolyFillRect(DrawablePtr pDrawable, GCPtr pGC, int nrect, xRectangle *prect)
|
|||
}
|
||||
else {
|
||||
pbox = RegionRects(pClip);
|
||||
/*
|
||||
/*
|
||||
* clip the rectangle to each box in the clip region
|
||||
* this is logically equivalent to calling Intersect()
|
||||
*/
|
||||
|
|
|
@ -119,7 +119,7 @@ fbValidateGC(GCPtr pGC, unsigned long changes, DrawablePtr pDrawable)
|
|||
/*
|
||||
* if the client clip is different or moved OR the subwindowMode has
|
||||
* changed OR the window's clip has changed since the last validation
|
||||
* we need to recompute the composite clip
|
||||
* we need to recompute the composite clip
|
||||
*/
|
||||
|
||||
if ((changes &
|
||||
|
|
|
@ -65,7 +65,7 @@ fbGlyphIn(RegionPtr pRegion, int x, int y, int width, int height)
|
|||
*
|
||||
* a b c d a b c d a b c d bytes
|
||||
* A B C A B C A B C A B C pixels
|
||||
*
|
||||
*
|
||||
* f0 f1 f2
|
||||
* A B C A B C A B C A B C pixels LSB
|
||||
* C A B C A B C A B C A B pixels MSB
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL SuSE
|
||||
* BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
|
||||
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
||||
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
||||
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*
|
||||
* Author: Keith Packard, SuSE, Inc.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL SuSE
|
||||
* BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
|
||||
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
||||
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
||||
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*
|
||||
* Author: Keith Packard, SuSE, Inc.
|
||||
|
|
|
@ -113,7 +113,7 @@ fbGlyphs(CARD8 op,
|
|||
int xDst = list->xOff, yDst = list->yOff;
|
||||
|
||||
miCompositeSourceValidate(pSrc);
|
||||
|
||||
|
||||
n_glyphs = 0;
|
||||
for (i = 0; i < nlist; ++i)
|
||||
n_glyphs += list[i].len;
|
||||
|
@ -122,12 +122,12 @@ fbGlyphs(CARD8 op,
|
|||
glyphCache = pixman_glyph_cache_create();
|
||||
|
||||
pixman_glyph_cache_freeze (glyphCache);
|
||||
|
||||
|
||||
if (n_glyphs > N_STACK_GLYPHS) {
|
||||
if (!(pglyphs = malloc (n_glyphs * sizeof (pixman_glyph_t))))
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
||||
i = 0;
|
||||
x = y = 0;
|
||||
while (nlist--) {
|
||||
|
|
|
@ -132,7 +132,7 @@ if (((rx1) < (rx2)) && ((ry1) < (ry2)) && \
|
|||
r++; \
|
||||
}
|
||||
|
||||
/* Convert bitmap clip mask into clipping region.
|
||||
/* Convert bitmap clip mask into clipping region.
|
||||
* First, goes through each line and makes boxes by noting the transitions
|
||||
* from 0 to 1 and 1 to 0.
|
||||
* Then it coalesces the current line with the previous if they have boxes
|
||||
|
@ -246,8 +246,8 @@ fbPixmapToRegion(PixmapPtr pPix)
|
|||
rx1, h, base + (width & FB_MASK), h + 1);
|
||||
}
|
||||
/* if all rectangles on this line have the same x-coords as
|
||||
* those on the previous line, then add 1 to all the previous y2s and
|
||||
* throw away all the rectangles from this line
|
||||
* those on the previous line, then add 1 to all the previous y2s and
|
||||
* throw away all the rectangles from this line
|
||||
*/
|
||||
fSame = FALSE;
|
||||
if (irectPrevStart != -1) {
|
||||
|
|
|
@ -92,7 +92,7 @@ extern _X_EXPORT const FbMergeRopRec FbMergeRopBits[16];
|
|||
#define fbAndStip(rop,fg,pm) fbAndT(rop,fg,pm,FbStip)
|
||||
|
||||
/*
|
||||
* Stippling operations;
|
||||
* Stippling operations;
|
||||
*/
|
||||
|
||||
#define FbStippleRRop(dst, b, fa, fx, ba, bx) \
|
||||
|
|
|
@ -45,7 +45,7 @@ glamor_upload_picture_to_texture(PicturePtr picture)
|
|||
return glamor_upload_pixmap_to_texture(pixmap);
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
* We should already have drawable attached to it, if it has one.
|
||||
* Then set the attached pixmap to is_picture format, and set
|
||||
* the pict format.
|
||||
|
|
|
@ -1,18 +1,18 @@
|
|||
/*
|
||||
* (C) Copyright IBM Corporation 2006, 2007
|
||||
* All Rights Reserved.
|
||||
*
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sub license,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
*
|
||||
* The above copyright notice and this permission notice (including the next
|
||||
* paragraph) shall be included in all copies or substantial portions of the
|
||||
* Software.
|
||||
*
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
|
||||
|
@ -25,7 +25,7 @@
|
|||
/**
|
||||
* \file glxbyteorder.h
|
||||
* Platform glue for handling byte-ordering issues in GLX protocol.
|
||||
*
|
||||
*
|
||||
* \author Ian Romanick <idr@us.ibm.com>
|
||||
*/
|
||||
#if !defined(__GLXBYTEORDER_H__)
|
||||
|
|
|
@ -233,13 +233,13 @@ DoCreateContext(__GLXclientState * cl, GLXContextID gcId,
|
|||
LEGAL_NEW_RESOURCE(gcId, client);
|
||||
|
||||
/*
|
||||
** Find the display list space that we want to share.
|
||||
** Find the display list space that we want to share.
|
||||
**
|
||||
** NOTE: In a multithreaded X server, we would need to keep a reference
|
||||
** count for each display list so that if one client detroyed a list that
|
||||
** another client was using, the list would not really be freed until it
|
||||
** was no longer in use. Since this sample implementation has no support
|
||||
** for multithreaded servers, we don't do this.
|
||||
** count for each display list so that if one client detroyed a list that
|
||||
** another client was using, the list would not really be freed until it
|
||||
** was no longer in use. Since this sample implementation has no support
|
||||
** for multithreaded servers, we don't do this.
|
||||
*/
|
||||
if (shareList == None) {
|
||||
shareglxc = 0;
|
||||
|
@ -992,7 +992,7 @@ __glXDisp_GetVisualConfigs(__GLXclientState * cl, GLbyte * pc)
|
|||
buf[p++] = modes->level;
|
||||
|
||||
assert(p == GLX_VIS_CONFIG_UNPAIRED);
|
||||
/*
|
||||
/*
|
||||
** Add token/value pairs for extensions.
|
||||
*/
|
||||
buf[p++] = GLX_VISUAL_CAVEAT_EXT;
|
||||
|
@ -1041,7 +1041,7 @@ __glXDisp_GetVisualConfigs(__GLXclientState * cl, GLbyte * pc)
|
|||
* and interface into the driver on the server-side to get GLXFBConfigs,
|
||||
* so we "invent" some based on the \c __GLXvisualConfig structures that
|
||||
* the driver does supply.
|
||||
*
|
||||
*
|
||||
* The reply format for both \c glXGetFBConfigs and \c glXGetFBConfigsSGIX
|
||||
* is the same, so this routine pulls double duty.
|
||||
*/
|
||||
|
@ -2253,9 +2253,9 @@ __glXDisp_RenderLarge(__GLXclientState * cl, GLbyte * pc)
|
|||
/* NOTE: the two pad macros have been added below; they are needed
|
||||
** because the client library pads the total byte count, but not
|
||||
** the per-request byte counts. The Protocol Encoding says the
|
||||
** total byte count should not be padded, so a proposal will be
|
||||
** made to the ARB to relax the padding constraint on the total
|
||||
** byte count, thus preserving backward compatibility. Meanwhile,
|
||||
** total byte count should not be padded, so a proposal will be
|
||||
** made to the ARB to relax the padding constraint on the total
|
||||
** byte count, thus preserving backward compatibility. Meanwhile,
|
||||
** the padding done below fixes a bug that did not allow
|
||||
** large commands of odd sizes to be accepted by the server.
|
||||
*/
|
||||
|
@ -2528,7 +2528,7 @@ __glXpresentCompleteNotify(WindowPtr window, CARD8 present_kind, CARD8 present_m
|
|||
glx_type = GLX_FLIP_COMPLETE_INTEL;
|
||||
else
|
||||
glx_type = GLX_BLIT_COMPLETE_INTEL;
|
||||
|
||||
|
||||
__glXsendSwapEvent(drawable, glx_type, ust, msc, serial);
|
||||
}
|
||||
|
||||
|
|
|
@ -187,7 +187,7 @@ __glXdriSwapEvent(ClientPtr client, void *data, int type, CARD64 ust,
|
|||
glx_type = GLX_FLIP_COMPLETE_INTEL;
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
__glXsendSwapEvent(drawable, glx_type, ust, msc, sbc);
|
||||
}
|
||||
|
||||
|
|
|
@ -155,7 +155,7 @@ static const char GLServerExtensions[] =
|
|||
"GL_SUN_slice_accum ";
|
||||
|
||||
/*
|
||||
** We have made the simplifying assuption that the same extensions are
|
||||
** We have made the simplifying assuption that the same extensions are
|
||||
** supported across all screens in a multi-screen system.
|
||||
*/
|
||||
unsigned glxMajorVersion = SERVER_GLX_MAJOR_VERSION;
|
||||
|
|
|
@ -56,7 +56,7 @@ struct __GLXconfig {
|
|||
|
||||
/* GLX */
|
||||
GLint visualID;
|
||||
GLint visualType; /**< One of the GLX X visual types. (i.e.,
|
||||
GLint visualType; /**< One of the GLX X visual types. (i.e.,
|
||||
* \c GLX_TRUE_COLOR, etc.)
|
||||
*/
|
||||
|
||||
|
|
|
@ -3,18 +3,18 @@
|
|||
/*
|
||||
* (C) Copyright IBM Corporation 2005
|
||||
* All Rights Reserved.
|
||||
*
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sub license,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
*
|
||||
* The above copyright notice and this permission notice (including the next
|
||||
* paragraph) shall be included in all copies or substantial portions of the
|
||||
* Software.
|
||||
*
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
|
||||
|
|
|
@ -3,18 +3,18 @@
|
|||
/*
|
||||
* (C) Copyright IBM Corporation 2005
|
||||
* All Rights Reserved.
|
||||
*
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sub license,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
*
|
||||
* The above copyright notice and this permission notice (including the next
|
||||
* paragraph) shall be included in all copies or substantial portions of the
|
||||
* Software.
|
||||
*
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
|
||||
|
|
|
@ -3,18 +3,18 @@
|
|||
/*
|
||||
* (C) Copyright IBM Corporation 2005
|
||||
* All Rights Reserved.
|
||||
*
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sub license,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
*
|
||||
* The above copyright notice and this permission notice (including the next
|
||||
* paragraph) shall be included in all copies or substantial portions of the
|
||||
* Software.
|
||||
*
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
|
||||
|
|
|
@ -1,18 +1,18 @@
|
|||
/*
|
||||
* (C) Copyright IBM Corporation 2005, 2006
|
||||
* All Rights Reserved.
|
||||
*
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sub license,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
*
|
||||
* The above copyright notice and this permission notice (including the next
|
||||
* paragraph) shall be included in all copies or substantial portions of the
|
||||
* Software.
|
||||
*
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
|
||||
|
|
|
@ -3,18 +3,18 @@
|
|||
/*
|
||||
* (C) Copyright IBM Corporation 2005
|
||||
* All Rights Reserved.
|
||||
*
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sub license,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
*
|
||||
* The above copyright notice and this permission notice (including the next
|
||||
* paragraph) shall be included in all copies or substantial portions of the
|
||||
* Software.
|
||||
*
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
|
||||
|
|
|
@ -3,18 +3,18 @@
|
|||
/*
|
||||
* (C) Copyright IBM Corporation 2005
|
||||
* All Rights Reserved.
|
||||
*
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sub license,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
*
|
||||
* The above copyright notice and this permission notice (including the next
|
||||
* paragraph) shall be included in all copies or substantial portions of the
|
||||
* Software.
|
||||
*
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
|
||||
|
|
|
@ -3,18 +3,18 @@
|
|||
/*
|
||||
* (C) Copyright IBM Corporation 2004
|
||||
* All Rights Reserved.
|
||||
*
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sub license,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
*
|
||||
* The above copyright notice and this permission notice (including the next
|
||||
* paragraph) shall be included in all copies or substantial portions of the
|
||||
* Software.
|
||||
*
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
|
||||
|
|
|
@ -3,18 +3,18 @@
|
|||
/*
|
||||
* (C) Copyright IBM Corporation 2004
|
||||
* All Rights Reserved.
|
||||
*
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sub license,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
*
|
||||
* The above copyright notice and this permission notice (including the next
|
||||
* paragraph) shall be included in all copies or substantial portions of the
|
||||
* Software.
|
||||
*
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
|
||||
|
|
|
@ -3,18 +3,18 @@
|
|||
/*
|
||||
* (C) Copyright IBM Corporation 2004
|
||||
* All Rights Reserved.
|
||||
*
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sub license,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
*
|
||||
* The above copyright notice and this permission notice (including the next
|
||||
* paragraph) shall be included in all copies or substantial portions of the
|
||||
* Software.
|
||||
*
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
|
||||
|
|
|
@ -3,18 +3,18 @@
|
|||
/*
|
||||
* (C) Copyright IBM Corporation 2005, 2006
|
||||
* All Rights Reserved.
|
||||
*
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sub license,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
*
|
||||
* The above copyright notice and this permission notice (including the next
|
||||
* paragraph) shall be included in all copies or substantial portions of the
|
||||
* Software.
|
||||
*
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
|
||||
|
|
|
@ -1,18 +1,18 @@
|
|||
/*
|
||||
* (C) Copyright IBM Corporation 2005, 2006
|
||||
* All Rights Reserved.
|
||||
*
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sub license,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
*
|
||||
* The above copyright notice and this permission notice (including the next
|
||||
* paragraph) shall be included in all copies or substantial portions of the
|
||||
* Software.
|
||||
*
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
|
||||
|
|
|
@ -1,18 +1,18 @@
|
|||
/*
|
||||
* (C) Copyright IBM Corporation 2005, 2006
|
||||
* All Rights Reserved.
|
||||
*
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sub license,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
*
|
||||
* The above copyright notice and this permission notice (including the next
|
||||
* paragraph) shall be included in all copies or substantial portions of the
|
||||
* Software.
|
||||
*
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
|
||||
|
|
|
@ -1,18 +1,18 @@
|
|||
/*
|
||||
* (C) Copyright IBM Corporation 2005
|
||||
* All Rights Reserved.
|
||||
*
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sub license,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
*
|
||||
* The above copyright notice and this permission notice (including the next
|
||||
* paragraph) shall be included in all copies or substantial portions of the
|
||||
* Software.
|
||||
*
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
|
||||
|
@ -205,7 +205,7 @@ get_decode_index(const struct __glXDispatchInfo *dispatch_info, unsigned opcode)
|
|||
unsigned child_index;
|
||||
|
||||
/* Calculate the slice of bits used by this node.
|
||||
*
|
||||
*
|
||||
* If remaining_bits = 8 and tree[index] = 3, the mask of just the
|
||||
* remaining bits is 0x00ff and the mask for the remaining bits after
|
||||
* this node is 0x001f. By taking 0x00ff & ~0x001f, we get 0x00e0.
|
||||
|
|
|
@ -1,18 +1,18 @@
|
|||
/*
|
||||
* (C) Copyright IBM Corporation 2005
|
||||
* All Rights Reserved.
|
||||
*
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sub license,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
*
|
||||
* The above copyright notice and this permission notice (including the next
|
||||
* paragraph) shall be included in all copies or substantial portions of the
|
||||
* Software.
|
||||
*
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
|
||||
|
|
|
@ -129,12 +129,12 @@ __glXMap2fReqSize(const GLbyte * pc, Bool swap)
|
|||
|
||||
/**
|
||||
* Calculate the size of an image.
|
||||
*
|
||||
*
|
||||
* The size of an image sent to the server from the client or sent from the
|
||||
* server to the client is calculated. The size is based on the dimensions
|
||||
* of the image, the type of pixel data, padding in the image, and the
|
||||
* alignment requirements of the image.
|
||||
*
|
||||
*
|
||||
* \param format Format of the pixels. Same as the \c format parameter
|
||||
* to \c glTexImage1D
|
||||
* \param type Type of the pixel data. Same as the \c type parameter
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
*
|
||||
* This file provides support routines and helper functions to be used
|
||||
* to pretty-print DMX configurations.
|
||||
*
|
||||
*
|
||||
* Because the DMX configuration file parsing should be capable of being
|
||||
* used in a stand-alone fashion (i.e., independent from the DMX server
|
||||
* source tree), no dependencies on other DMX routines are made. */
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
/** \file
|
||||
* This file provides access to the externally visible RENDER support
|
||||
* functions, global variables and macros for DMX.
|
||||
*
|
||||
*
|
||||
* FIXME: Move function definitions for non-externally visible function
|
||||
* to .c file. */
|
||||
|
||||
|
|
|
@ -188,7 +188,7 @@ CreateContext(__GLXclientState * cl,
|
|||
#endif
|
||||
|
||||
/*
|
||||
** Find the display list space that we want to share.
|
||||
** Find the display list space that we want to share.
|
||||
**
|
||||
*/
|
||||
if (shareList == None) {
|
||||
|
@ -1751,7 +1751,7 @@ __glXGetVisualConfigs(__GLXclientState * cl, GLbyte * pc)
|
|||
buf[p++] = pGlxVisual->stencilSize;
|
||||
buf[p++] = pGlxVisual->auxBuffers;
|
||||
buf[p++] = pGlxVisual->level;
|
||||
/*
|
||||
/*
|
||||
** Add token/value pairs for extensions.
|
||||
*/
|
||||
buf[p++] = GLX_VISUAL_CAVEAT_EXT;
|
||||
|
@ -3087,7 +3087,7 @@ __glXCreateWindow(__GLXclientState * cl, GLbyte * pc)
|
|||
void *val;
|
||||
|
||||
/*
|
||||
** Check if windowId is valid
|
||||
** Check if windowId is valid
|
||||
*/
|
||||
rc = dixLookupDrawable(&pDraw, windowId, client, M_DRAWABLE_WINDOW,
|
||||
DixAddAccess);
|
||||
|
@ -3112,7 +3112,7 @@ __glXCreateWindow(__GLXclientState * cl, GLbyte * pc)
|
|||
visId = pGlxFBConfig->associatedVisualId;
|
||||
|
||||
/*
|
||||
** Check if the fbconfig supports rendering to windows
|
||||
** Check if the fbconfig supports rendering to windows
|
||||
*/
|
||||
if (!(pGlxFBConfig->drawableType & GLX_WINDOW_BIT)) {
|
||||
return BadMatch;
|
||||
|
@ -3134,7 +3134,7 @@ __glXCreateWindow(__GLXclientState * cl, GLbyte * pc)
|
|||
}
|
||||
|
||||
/*
|
||||
** Check if color buffer depth of fbconfig matches depth
|
||||
** Check if color buffer depth of fbconfig matches depth
|
||||
** of window.
|
||||
*/
|
||||
if (pVisual->nplanes != pDraw->depth) {
|
||||
|
@ -3144,7 +3144,7 @@ __glXCreateWindow(__GLXclientState * cl, GLbyte * pc)
|
|||
else
|
||||
/*
|
||||
** The window was created with no visual that corresponds
|
||||
** to fbconfig
|
||||
** to fbconfig
|
||||
*/
|
||||
return BadMatch;
|
||||
|
||||
|
@ -3561,7 +3561,7 @@ __glXGetDrawableAttributes(__GLXclientState * cl, GLbyte * pc)
|
|||
return __glXBadDrawable;
|
||||
}
|
||||
|
||||
/* if the drawable is a window or GLXWindow -
|
||||
/* if the drawable is a window or GLXWindow -
|
||||
* we need to find the base id on the back-end server
|
||||
*/
|
||||
if (!be_drawable) {
|
||||
|
@ -3723,7 +3723,7 @@ __glXChangeDrawableAttributes(__GLXclientState * cl, GLbyte * pc)
|
|||
return __glXBadDrawable;
|
||||
}
|
||||
|
||||
/* if the drawable is a window or GLXWindow -
|
||||
/* if the drawable is a window or GLXWindow -
|
||||
* we need to find the base id on the back-end server
|
||||
*/
|
||||
if (!be_drawable) {
|
||||
|
|
|
@ -233,7 +233,7 @@ __glXForwardPipe0WithReply(__GLXclientState * cl, GLbyte * pc)
|
|||
dmxScreen = &dmxScreens[glxc->pScreen->myNum];
|
||||
dpy = GetBackEndDisplay(cl, glxc->pScreen->myNum);
|
||||
|
||||
/*
|
||||
/*
|
||||
* send the request to the first back-end server
|
||||
*/
|
||||
LockDisplay(dpy);
|
||||
|
@ -329,7 +329,7 @@ __glXForwardAllWithReply(__GLXclientState * cl, GLbyte * pc)
|
|||
pc += sz_xGLXSingleReq;
|
||||
buf_size = (req->length << 2) - sz_xGLXSingleReq;
|
||||
|
||||
/*
|
||||
/*
|
||||
* send the request to the first back-end server(s)
|
||||
*/
|
||||
for (s = to_screen; s >= from_screen; s--) {
|
||||
|
|
|
@ -220,7 +220,7 @@ __glXVForwardPipe0WithReply(__GLXclientState * cl, GLbyte * pc)
|
|||
dmxScreen = &dmxScreens[glxc->pScreen->myNum];
|
||||
dpy = GetBackEndDisplay(cl, glxc->pScreen->myNum);
|
||||
|
||||
/*
|
||||
/*
|
||||
* send the request to the first back-end server
|
||||
*/
|
||||
LockDisplay(dpy);
|
||||
|
@ -311,7 +311,7 @@ __glXVForwardAllWithReply(__GLXclientState * cl, GLbyte * pc)
|
|||
pc += sz_xGLXVendorPrivateReq;
|
||||
buf_size = (req->length << 2) - sz_xGLXVendorPrivateReq;
|
||||
|
||||
/*
|
||||
/*
|
||||
* send the request to the first back-end server(s)
|
||||
*/
|
||||
for (s = to_screen; s >= from_screen; s--) {
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
||||
* AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*
|
||||
*
|
||||
* Except as contained in this notice, the name of The Open Group shall not be
|
||||
* used in advertising or otherwise to promote the sale, use or other dealings
|
||||
* in this Software without prior written authorization from The Open Group.
|
||||
|
|
|
@ -65,19 +65,19 @@
|
|||
* documentation for any purpose is hereby granted without fee, provided that
|
||||
* the above copyright notice appear in all copies and that both that
|
||||
* copyright notice and this permission notice appear in supporting
|
||||
* documentation, and that the names of Orest Zborowski and David Dawes
|
||||
* not be used in advertising or publicity pertaining to distribution of
|
||||
* documentation, and that the names of Orest Zborowski and David Dawes
|
||||
* not be used in advertising or publicity pertaining to distribution of
|
||||
* the software without specific, written prior permission. Orest Zborowski
|
||||
* and David Dawes make no representations about the suitability of this
|
||||
* software for any purpose. It is provided "as is" without express or
|
||||
* and David Dawes make no representations about the suitability of this
|
||||
* software for any purpose. It is provided "as is" without express or
|
||||
* implied warranty.
|
||||
*
|
||||
* OREST ZBOROWSKI AND DAVID DAWES DISCLAIMS ALL WARRANTIES WITH REGARD
|
||||
* TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
||||
* FITNESS, IN NO EVENT SHALL OREST ZBOROWSKI OR DAVID DAWES BE LIABLE
|
||||
* FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
* OREST ZBOROWSKI AND DAVID DAWES DISCLAIMS ALL WARRANTIES WITH REGARD
|
||||
* TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
||||
* FITNESS, IN NO EVENT SHALL OREST ZBOROWSKI OR DAVID DAWES BE LIABLE
|
||||
* FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*
|
||||
*/
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
*
|
||||
* The above copyright notice and this permission notice shall be
|
||||
* included in all copies or substantial portions of the Software.
|
||||
*
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
/*
|
||||
* Xephyr - A kdrive X server thats runs in a host X window.
|
||||
* Authored by Matthew Allum <mallum@openedhand.com>
|
||||
*
|
||||
* Copyright © 2004 Nokia
|
||||
*
|
||||
* Copyright © 2004 Nokia
|
||||
*
|
||||
* Permission to use, copy, modify, distribute, and sell this software and its
|
||||
* documentation for any purpose is hereby granted without fee, provided that
|
||||
|
@ -313,8 +313,8 @@ ephyrShadowUpdate(ScreenPtr pScreen, shadowBufPtr pBuf)
|
|||
EPHYR_LOG("slow paint");
|
||||
|
||||
/* FIXME: Slow Rotated/Reflected updates could be much
|
||||
* much faster efficiently updating via tranforming
|
||||
* pBuf->pDamage regions
|
||||
* much faster efficiently updating via tranforming
|
||||
* pBuf->pDamage regions
|
||||
*/
|
||||
shadowUpdateRotatePacked(pScreen, pBuf);
|
||||
hostx_paint_rect(screen, 0, 0, 0, 0, screen->width, screen->height);
|
||||
|
@ -535,7 +535,7 @@ ephyrRandRSetConfig(ScreenPtr pScreen,
|
|||
goto bail4;
|
||||
}
|
||||
else {
|
||||
/* Without shadow fb ( non rotated ) we need
|
||||
/* Without shadow fb ( non rotated ) we need
|
||||
* to use damage to efficiently update display
|
||||
* via signal regions what to copy from 'fb'.
|
||||
*/
|
||||
|
@ -687,7 +687,7 @@ ephyrInitScreen(ScreenPtr pScreen)
|
|||
Bool
|
||||
ephyrFinishInitScreen(ScreenPtr pScreen)
|
||||
{
|
||||
/* FIXME: Calling this even if not using shadow.
|
||||
/* FIXME: Calling this even if not using shadow.
|
||||
* Seems harmless enough. But may be safer elsewhere.
|
||||
*/
|
||||
if (!shadowSetup(pScreen))
|
||||
|
@ -773,7 +773,7 @@ ephyrCloseScreen(ScreenPtr pScreen)
|
|||
ephyrUnsetInternalDamage(pScreen);
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
* Port of Mark McLoughlin's Xnest fix for focus in + modifier bug.
|
||||
* See https://bugs.freedesktop.org/show_bug.cgi?id=3030
|
||||
*/
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
/*
|
||||
* Xephyr - A kdrive X server thats runs in a host X window.
|
||||
* Authored by Matthew Allum <mallum@o-hand.com>
|
||||
*
|
||||
* Copyright © 2004 Nokia
|
||||
*
|
||||
* Copyright © 2004 Nokia
|
||||
*
|
||||
* Permission to use, copy, modify, distribute, and sell this software and its
|
||||
* documentation for any purpose is hereby granted without fee, provided that
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
/*
|
||||
* Xephyr - A kdrive X server thats runs in a host X window.
|
||||
* Authored by Matthew Allum <mallum@openedhand.com>
|
||||
*
|
||||
* Copyright © 2007 OpenedHand Ltd
|
||||
*
|
||||
* Copyright © 2007 OpenedHand Ltd
|
||||
*
|
||||
* Permission to use, copy, modify, distribute, and sell this software and its
|
||||
* documentation for any purpose is hereby granted without fee, provided that
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
/*
|
||||
* Xephyr - A kdrive X server thats runs in a host X window.
|
||||
* Authored by Matthew Allum <mallum@openedhand.com>
|
||||
*
|
||||
* Copyright © 2007 OpenedHand Ltd
|
||||
*
|
||||
* Copyright © 2007 OpenedHand Ltd
|
||||
*
|
||||
* Permission to use, copy, modify, distribute, and sell this software and its
|
||||
* documentation for any purpose is hereby granted without fee, provided that
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
/*
|
||||
* Xephyr - A kdrive X server thats runs in a host X window.
|
||||
* Authored by Matthew Allum <mallum@openedhand.com>
|
||||
*
|
||||
* Copyright © 2007 OpenedHand Ltd
|
||||
*
|
||||
* Copyright © 2007 OpenedHand Ltd
|
||||
*
|
||||
* Permission to use, copy, modify, distribute, and sell this software and its
|
||||
* documentation for any purpose is hereby granted without fee, provided that
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
/*
|
||||
* Xephyr - A kdrive X server thats runs in a host X window.
|
||||
* Authored by Matthew Allum <mallum@openedhand.com>
|
||||
*
|
||||
* Copyright © 2007 OpenedHand Ltd
|
||||
*
|
||||
* Copyright © 2007 OpenedHand Ltd
|
||||
*
|
||||
* Permission to use, copy, modify, distribute, and sell this software and its
|
||||
* documentation for any purpose is hereby granted without fee, provided that
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
/*
|
||||
* Xephyr - A kdrive X server thats runs in a host X window.
|
||||
* Authored by Matthew Allum <mallum@openedhand.com>
|
||||
*
|
||||
* Copyright © 2007 OpenedHand Ltd
|
||||
*
|
||||
* Copyright © 2007 OpenedHand Ltd
|
||||
*
|
||||
* Permission to use, copy, modify, distribute, and sell this software and its
|
||||
* documentation for any purpose is hereby granted without fee, provided that
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
/*
|
||||
* Xephyr - A kdrive X server thats runs in a host X window.
|
||||
* Authored by Matthew Allum <mallum@openedhand.com>
|
||||
*
|
||||
* Copyright © 2007 OpenedHand Ltd
|
||||
*
|
||||
* Copyright © 2007 OpenedHand Ltd
|
||||
*
|
||||
* Permission to use, copy, modify, distribute, and sell this software and its
|
||||
* documentation for any purpose is hereby granted without fee, provided that
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
/*
|
||||
* Xephyr - A kdrive X server thats runs in a host X window.
|
||||
* Authored by Matthew Allum <mallum@openedhand.com>
|
||||
*
|
||||
* Copyright © 2007 OpenedHand Ltd
|
||||
*
|
||||
* Copyright © 2007 OpenedHand Ltd
|
||||
*
|
||||
* Permission to use, copy, modify, distribute, and sell this software and its
|
||||
* documentation for any purpose is hereby granted without fee, provided that
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
/*
|
||||
* Xephyr - A kdrive X server thats runs in a host X window.
|
||||
* Authored by Matthew Allum <mallum@openedhand.com>
|
||||
*
|
||||
* Copyright © 2007 OpenedHand Ltd
|
||||
*
|
||||
* Copyright © 2007 OpenedHand Ltd
|
||||
*
|
||||
* Permission to use, copy, modify, distribute, and sell this software and its
|
||||
* documentation for any purpose is hereby granted without fee, provided that
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
/*
|
||||
* Xephyr - A kdrive X server thats runs in a host X window.
|
||||
* Authored by Matthew Allum <mallum@o-hand.com>
|
||||
*
|
||||
* Copyright © 2004 Nokia
|
||||
*
|
||||
* Copyright © 2004 Nokia
|
||||
*
|
||||
* Permission to use, copy, modify, distribute, and sell this software and its
|
||||
* documentation for any purpose is hereby granted without fee, provided that
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
/*
|
||||
* Xephyr - A kdrive X server thats runs in a host X window.
|
||||
* Authored by Matthew Allum <mallum@openedhand.com>
|
||||
*
|
||||
* Copyright © 2007 OpenedHand Ltd
|
||||
*
|
||||
* Copyright © 2007 OpenedHand Ltd
|
||||
*
|
||||
* Permission to use, copy, modify, distribute, and sell this software and its
|
||||
* documentation for any purpose is hereby granted without fee, provided that
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue