summaryrefslogtreecommitdiff
path: root/src/radeon_render.c
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2008-05-13 11:00:38 +0200
committerMichel Dänzer <michel@tungstengraphics.com>2008-05-13 11:00:38 +0200
commit708e7c98f636738fbcc47a597bc94b309a4dc1c4 (patch)
tree5407af02a36129107fade12eddc4126b23e5847b /src/radeon_render.c
parent908b7b940e3ef296836bc94680ebb8ab67650e31 (diff)
Reinstate CARD* types that are part of external interfaces.
The compiler pointed this out...
Diffstat (limited to 'src/radeon_render.c')
-rw-r--r--src/radeon_render.c44
1 files changed, 22 insertions, 22 deletions
diff --git a/src/radeon_render.c b/src/radeon_render.c
index b5661f96..dbd5b799 100644
--- a/src/radeon_render.c
+++ b/src/radeon_render.c
@@ -147,7 +147,7 @@ static const struct blendinfo RadeonBlendOp[] = {
* The RADEON and R200 TXFORMATS we use are the same on r100/r200.
*/
-static uint32_t RADEONTextureFormats[] = {
+static CARD32 RADEONTextureFormats[] = {
PICT_a8r8g8b8,
PICT_a8,
PICT_x8r8g8b8,
@@ -157,7 +157,7 @@ static uint32_t RADEONTextureFormats[] = {
0
};
-static uint32_t RADEONDstFormats[] = {
+static CARD32 RADEONDstFormats[] = {
PICT_a8r8g8b8,
PICT_x8r8g8b8,
PICT_r5g6b5,
@@ -493,13 +493,13 @@ static Bool
FUNC_NAME(R100SetupForCPUToScreenAlphaTexture) (
ScrnInfoPtr pScrn,
int op,
- uint16_t red,
- uint16_t green,
- uint16_t blue,
- uint16_t alpha,
- uint32_t maskFormat,
- uint32_t dstFormat,
- uint8_t *alphaPtr,
+ CARD16 red,
+ CARD16 green,
+ CARD16 blue,
+ CARD16 alpha,
+ CARD32 maskFormat,
+ CARD32 dstFormat,
+ CARD8 *alphaPtr,
int alphaPitch,
int width,
int height,
@@ -548,9 +548,9 @@ static Bool
FUNC_NAME(R100SetupForCPUToScreenTexture) (
ScrnInfoPtr pScrn,
int op,
- uint32_t srcFormat,
- uint32_t dstFormat,
- uint8_t *texPtr,
+ CARD32 srcFormat,
+ CARD32 dstFormat,
+ CARD8 *texPtr,
int texPitch,
int width,
int height,
@@ -834,13 +834,13 @@ static Bool
FUNC_NAME(R200SetupForCPUToScreenAlphaTexture) (
ScrnInfoPtr pScrn,
int op,
- uint16_t red,
- uint16_t green,
- uint16_t blue,
- uint16_t alpha,
- uint32_t maskFormat,
- uint32_t dstFormat,
- uint8_t *alphaPtr,
+ CARD16 red,
+ CARD16 green,
+ CARD16 blue,
+ CARD16 alpha,
+ CARD32 maskFormat,
+ CARD32 dstFormat,
+ CARD8 *alphaPtr,
int alphaPitch,
int width,
int height,
@@ -890,9 +890,9 @@ static Bool
FUNC_NAME(R200SetupForCPUToScreenTexture) (
ScrnInfoPtr pScrn,
int op,
- uint32_t srcFormat,
- uint32_t dstFormat,
- uint8_t *texPtr,
+ CARD32 srcFormat,
+ CARD32 dstFormat,
+ CARD8 *texPtr,
int texPitch,
int width,
int height,