TransOvl.c revision 919
561N/A * TransOvl.c - the client side interface to the Transparent Overlays
561N/A#define NEED_EVENTS
561N/A#define NEED_REPLIES
911N/A int numVisPairs;
911N/A int visdatatypes;
int depth;
} XOvlVisInfo;
} XOvlVisPair;
#ifdef _LP64
#define XOVL_MAX_BUFFERS (~0L)
#define XOVL_ALL_PLANES (~0L)
#define XOVL_ANY_POOL (~0L)
#define XOVL_MAX_BUFFERS (~0)
#define XOVL_ALL_PLANES (~0)
#define XOVL_ANY_POOL (~0)
int datatypes;
int numBuffers;
unsigned long ovplanes;
unsigned long unplanes;
unsigned long clutpool;
int clutcount;
int screen;
unsigned long hardfailures;
unsigned long softfailures;
int numhardfailures;
int numsoftfailures;
int nDepths;
int depth;
int nVisuals;
static int close_display();
static Bool
int *depthReturn
vis++)
return True;
return False;
static Bool
int *depthReturn
int ndepths;
while (ndepths) {
ndepths--;
depth++;
if (!ndepths) {
return False;
return True;
static XOvlScrExtData *
int screen,
unsigned long nbytes;
unsigned long numPairs;
*vispair;
if (!scrextdata) {
while (numPairs--) {
if (numPairs) {
vispair++;
if (scrextdata) {
return scrextdata;
static XOvlVisExtData *
if (!visextdata) {
if (visextdata) {
return visextdata;
unsigned long mask
int count;
count = 0;
while (mask) {
count++;
return count;
int screen,
int depth;
if (!candidateData) {
for (i = 0; i < nmono; i++) {
if (visextdata) {
static Bool
int screen,
int depth;
unsigned long commonplanes;
return True;
if (visextdata) {
static Bool
int screen,
int depth;
return True;
if (visextdata) {
? True
: False;
unsigned long hardmask,
mask;
unsigned long hardfailures,
hardfailures = 0;
softfailures = 0;
#define XSolarisOvlAllCriteria \
XSolarisOvlDepth | \
int *event_basep,
int *error_basep
return True;
return False;
int *major_versionp,
int *minor_versionp)
SyncHandle();
SyncHandle();
unsigned int width,
unsigned int height,
unsigned int border_width,
int depth,
unsigned int class,
unsigned long valuemask,
req->x = x;
req->y = y;
SyncHandle();
return wid;
Window w
SyncHandle();
Window w)
SyncHandle();
if (!gcextdata) {
SyncHandle();
if (!gcextdata) {
SyncHandle();
SyncHandle();
SyncHandle();
return paintType;
int src_x,
int src_y,
unsigned int width,
unsigned int height,
int dest_x,
int dest_y,
unsigned long action_mask,
unsigned long planemask
SyncHandle();
int colorSrcX,
int colorSrcY,
int paintTypeSrcX,
int paintTypeSrcY,
unsigned int width,
unsigned int height,
int colorDstX,
int colorDstY,
int paintTypeDstX,
int paintTypeDstY,
unsigned long action_mask,
unsigned long planemask)
SyncHandle();
XImage *
Window w,
unsigned int width,
unsigned int height,
char *data;
long nbytes;
req->x = x;
req->y = y;
SyncHandle();
return NULL;
if (!data) {
SyncHandle();
return NULL;
if (image) {
SyncHandle();
return image;
int screen,
int numCriteria,
unsigned long *unmetCriteriaReturn
unsigned long hardpreferred,
if (!scrextdata) {
SyncHandle();
return XSolarisOvlFailure;
SyncHandle();
return XSolarisOvlFailure;
for (i = numCriteria; i > 0; --i) {
if (vid ==
SyncHandle();
return XSolarisOvlSuccess;
vispair++;
SyncHandle();
return XSolarisOvlSuccess;
SyncHandle();
return XSolarisOvlQualifiedSuccess;
pCriteria++;
SyncHandle();
return XSolarisOvlCriteriaFailure;
int screen,
int numCriteria,
unsigned long *unmetOvCriteriaReturn,
unsigned long *unmetUnCriteriaReturn)
if (!scrextdata) {
SyncHandle();
return XSolarisOvlFailure;
for (i = numCriteria; i > 0; --i) {
SyncHandle();
return XSolarisOvlSuccess;
vispair++;
SyncHandle();
return XSolarisOvlSuccess;
SyncHandle();
return XSolarisOvlQualifiedSuccess;
pCriteria++;
SyncHandle();
return XSolarisOvlCriteriaFailure;