diff options
author | Alan Hourihane <[email protected]> | 2003-09-30 11:28:16 +0000 |
---|---|---|
committer | Alan Hourihane <[email protected]> | 2003-09-30 11:28:16 +0000 |
commit | e508f7f08e6fa4292136a377150fc058c041fbc0 (patch) | |
tree | a012bb2a36fc4858d03e3b6af9a6fe714000f10b /src/mesa/drivers/dri/gamma/gamma_screen.h | |
parent | 0f2e1869263ef04b3bc47d9817278a555201bda8 (diff) |
add gamma driver - no kernel driver yet
(build tested, not physically tested)
Diffstat (limited to 'src/mesa/drivers/dri/gamma/gamma_screen.h')
-rw-r--r-- | src/mesa/drivers/dri/gamma/gamma_screen.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/gamma/gamma_screen.h b/src/mesa/drivers/dri/gamma/gamma_screen.h new file mode 100644 index 00000000000..6f3cf1e5b18 --- /dev/null +++ b/src/mesa/drivers/dri/gamma/gamma_screen.h @@ -0,0 +1,30 @@ +typedef struct _gammaRegion { + drmHandle 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 */ + + __DRIscreenPrivate *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; |