summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/gamma/gamma_screen.h
blob: c716ea89c297a7e1988a0d059775f9207977e456 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
typedef struct _gammaRegion {
    drm_handle_t  handle;
    drmSize    size;
    drmAddress map;
} gammaRegion, *gammaRegionPtr;

typedef struct {

    int           regionCount;       /* Count of register regions */
    gammaRegion  *regions;           /* Vector of mapped region info */

    drmBufMapPtr  bufs;              /* Map of DMA buffers */

    __DRIscreen *driScreen; /* Back pointer to DRI screen */

    int		cpp;
    int		frontPitch;
    int		frontOffset;

    int		backPitch;
    int		backOffset;
    int		backX;
    int		backY;

    int		depthOffset;
    int		depthPitch;

    int		textureSize;
    int		logTextureGranularity;
} gammaScreenRec, *gammaScreenPtr;