xserver/render/picturestr_priv.h
Enrico Weigelt, metux IT consult fb696a7d7b rename old symbol PANORAMIX to XINERAMA
PANORAMIX was the original working title of the extension, before it became
official standard. Just nobody cared about fixing the symbols to the official
naming.

For backwards compatibility with drivers, the old PANORAMIX symbol will
still be set.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1258>
2025-02-06 15:51:27 +00:00

46 lines
1.2 KiB
C

/* SPDX-License-Identifier: MIT OR X11
*
* Copyright © 2024 Enrico Weigelt, metux IT consult <info@metux.net>
* Copyright © 2000 SuSE, Inc.
*/
#ifndef _XSERVER_PICTURESTR_PRIV_H_
#define _XSERVER_PICTURESTR_PRIV_H_
#include "picturestr.h"
#include "scrnintstr.h"
#include "glyphstr.h"
#include "resource.h"
#include "privates.h"
#define PICT_GRADIENT_STOPTABLE_SIZE 1024
extern RESTYPE PictureType;
extern RESTYPE PictFormatType;
extern RESTYPE GlyphSetType;
#define VERIFY_PICTURE(pPicture, pid, client, mode) {\
int tmprc = dixLookupResourceByType((void *)&(pPicture), pid,\
PictureType, client, mode);\
if (tmprc != Success)\
return tmprc;\
}
#define VERIFY_ALPHA(pPicture, pid, client, mode) {\
if (pid == None) \
pPicture = 0; \
else { \
VERIFY_PICTURE(pPicture, pid, client, mode); \
} \
} \
Bool AnimCurInit(ScreenPtr pScreen);
int AnimCursorCreate(CursorPtr *cursors, CARD32 *deltas, int ncursor,
CursorPtr *ppCursor, ClientPtr client, XID cid);
#ifdef XINERAMA
void PanoramiXRenderInit(void);
void PanoramiXRenderReset(void);
#endif /* XINERAMA */
#endif /* _XSERVER_PICTURESTR_PRIV_H_ */