add some NEON 32bpp blitters
[sdl_omap.git] / src / video / Xext / extensions / Xinerama.h
CommitLineData
e14743d1 1/* $XFree86: xc/include/extensions/Xinerama.h,v 3.2 2000/03/01 01:04:20 dawes Exp $ */
2
3#ifndef _Xinerama_h
4#define _Xinerama_h
5
6#include "SDL_name.h"
7
8typedef struct {
9 int screen_number;
10 short x_org;
11 short y_org;
12 short width;
13 short height;
14} SDL_NAME(XineramaScreenInfo);
15
16Bool SDL_NAME(XineramaQueryExtension) (
17 Display *dpy,
18 int *event_base,
19 int *error_base
20);
21
22Status SDL_NAME(XineramaQueryVersion)(
23 Display *dpy,
24 int *major,
25 int *minor
26);
27
28Bool SDL_NAME(XineramaIsActive)(Display *dpy);
29
30
31/*
32 Returns the number of heads and a pointer to an array of
33 structures describing the position and size of the individual
34 heads. Returns NULL and number = 0 if Xinerama is not active.
35
36 Returned array should be freed with XFree().
37*/
38
39SDL_NAME(XineramaScreenInfo) *
40SDL_NAME(XineramaQueryScreens)(
41 Display *dpy,
42 int *number
43);
44
45#endif /* _Xinerama_h */
46