mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-20 02:20:03 +01:00
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>
46 lines
1.2 KiB
C
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_ */
|