Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
95b5cf79
Commit
95b5cf79
authored
Jan 22, 2018
by
Ulrich Sibiller
Committed by
Mihai Moldovan
Feb 26, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Lift dbe to xorg-xserver-1.4.2 state
parent
4c5e9a29
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
50 deletions
+4
-50
dbe.c
nx-X11/programs/Xserver/dbe/dbe.c
+0
-31
dbestruct.h
nx-X11/programs/Xserver/dbe/dbestruct.h
+0
-6
midbe.c
nx-X11/programs/Xserver/dbe/midbe.c
+4
-13
No files found.
nx-X11/programs/Xserver/dbe/dbe.c
View file @
95b5cf79
...
...
@@ -80,36 +80,6 @@ static Bool firstRegistrationPass = TRUE;
/******************************************************************************
*
* DBE DIX Procedure: DbeValidateBuffer
*
* Description:
*
* This function is called from VALIDATE_DRAWABLE_AND_GC and from
* various places in dispatch.c if the server has been compiled with
* the flags -DNEED_DBE_BUF_BITS and -DNEED_DBE_BUF_VALIDATE.
* When pWin->dstBuffer changes, this function will be called with pWin
* as the first argument, the drawable ID that was specified as the
* second argument (could be a back buffer id), and True for the third
* argument.
* When pWin->srcBuffer changes, the third argument will be False, and
* the first two arguments are as described for dstBuffer.
*
* This function should prepare the hardware to access the specified
* buffer for reads (if dstbuf is False) or writes (if dstbuf is True).
*
*****************************************************************************/
void
DbeValidateBuffer
(
WindowPtr
pWin
,
XID
drawID
,
Bool
dstbuf
)
{
DbeScreenPrivPtr
pDbeScreenPriv
=
DBE_SCREEN_PRIV_FROM_WINDOW
(
pWin
);
if
(
pDbeScreenPriv
->
ValidateBuffer
)
(
*
pDbeScreenPriv
->
ValidateBuffer
)(
pWin
,
drawID
,
dstbuf
);
}
/******************************************************************************
*
* DBE DIX Procedure: DbeRegisterFunction
*
* Description:
...
...
@@ -315,7 +285,6 @@ DbeStubScreen(DbeScreenPrivPtr pDbeScreenPriv, int *nStubbedScreens)
pDbeScreenPriv
->
EndIdiom
=
NULL
;
pDbeScreenPriv
->
WinPrivDelete
=
NULL
;
pDbeScreenPriv
->
ResetProc
=
NULL
;
pDbeScreenPriv
->
ValidateBuffer
=
NULL
;
(
*
nStubbedScreens
)
++
;
...
...
nx-X11/programs/Xserver/dbe/dbestruct.h
View file @
95b5cf79
...
...
@@ -36,7 +36,6 @@
/* INCLUDES */
#define NEED_DBE_PROTOCOL
#include <nx-X11/extensions/Xdbeproto.h>
#include "windowstr.h"
...
...
@@ -220,11 +219,6 @@ typedef struct _DbeScreenPrivRec
void
(
*
ResetProc
)(
ScreenPtr
/*pScreen*/
);
void
(
*
ValidateBuffer
)(
WindowPtr
/*pWin*/
,
XID
/*bufId*/
,
Bool
/*dstbuffer*/
);
/* Device-specific private information.
*/
...
...
nx-X11/programs/Xserver/dbe/midbe.c
View file @
95b5cf79
...
...
@@ -67,11 +67,10 @@
static
int
miDbePrivPrivGeneration
=
0
;
static
int
miDbeWindowPrivPrivIndex
=
-
1
;
RESTYPE
dbeDrawableResType
;
RESTYPE
dbeWindowPrivResType
;
int
dbeScreenPrivIndex
=
-
1
;
int
dbeWindowPrivIndex
=
-
1
;
static
RESTYPE
dbeDrawableResType
;
static
RESTYPE
dbeWindowPrivResType
;
static
int
dbeScreenPrivIndex
=
-
1
;
static
int
dbeWindowPrivIndex
=
-
1
;
/******************************************************************************
...
...
@@ -766,11 +765,6 @@ miDbeResetProc(ScreenPtr pScreen)
}
/* miDbeResetProc() */
static
void
miDbeNopValidateBuffer
(
WindowPtr
pWin
,
XID
bufId
,
Bool
dstbuffer
)
{
}
/******************************************************************************
*
...
...
@@ -828,9 +822,6 @@ miDbeInit(ScreenPtr pScreen, DbeScreenPrivPtr pDbeScreenPriv)
pDbeScreenPriv
->
ResetProc
=
miDbeResetProc
;
pDbeScreenPriv
->
WinPrivDelete
=
miDbeWinPrivDelete
;
/* The mi implementation doesn't need buffer validation. */
pDbeScreenPriv
->
ValidateBuffer
=
miDbeNopValidateBuffer
;
return
(
TRUE
);
}
/* miDbeInit() */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment