radeon/r200/r300: another big merge upheavel.
[mesa.git] / src / mesa / drivers / dri / gamma / gamma_screen.h
1 typedef struct _gammaRegion {
2 drm_handle_t handle;
3 drmSize size;
4 drmAddress map;
5 } gammaRegion, *gammaRegionPtr;
6
7 typedef struct {
8
9 int regionCount; /* Count of register regions */
10 gammaRegion *regions; /* Vector of mapped region info */
11
12 drmBufMapPtr bufs; /* Map of DMA buffers */
13
14 __DRIscreenPrivate *driScreen; /* Back pointer to DRI screen */
15
16 int cpp;
17 int frontPitch;
18 int frontOffset;
19
20 int backPitch;
21 int backOffset;
22 int backX;
23 int backY;
24
25 int depthOffset;
26 int depthPitch;
27
28 int textureSize;
29 int logTextureGranularity;
30 } gammaScreenRec, *gammaScreenPtr;