summaryrefslogtreecommitdiff
path: root/src/r600_state.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2010-04-01 11:24:32 +1000
committerDave Airlie <airlied@redhat.com>2010-04-01 12:37:04 +1000
commit6baa96c44ca93b88acf5233335cee233e59d5af4 (patch)
tree82f70b98f90e272ca9231879f30e9f6eb4a8528b /src/r600_state.h
parent87f49a24019967552c5478d6af89ba438b4261c8 (diff)
r600/exa: further cleanup, use the object struct in the accel state.
This cleans up the accel state objects as well. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/r600_state.h')
-rw-r--r--src/r600_state.h16
1 files changed, 3 insertions, 13 deletions
diff --git a/src/r600_state.h b/src/r600_state.h
index 1b0c03f3..e9bfa102 100644
--- a/src/r600_state.h
+++ b/src/r600_state.h
@@ -328,21 +328,11 @@ int
r600_cp_start(ScrnInfoPtr pScrn);
void r600_finish_op(ScrnInfoPtr pScrn, int vtx_size);
-struct accel_object {
- uint32_t pitch;
- uint32_t width;
- uint32_t height;
- uint32_t offset;
- int bpp;
- uint32_t domain;
- struct radeon_bo *bo;
-};
-
Bool
R600SetAccelState(ScrnInfoPtr pScrn,
- struct accel_object *src0,
- struct accel_object *src1,
- struct accel_object *dst,
+ struct r600_accel_object *src0,
+ struct r600_accel_object *src1,
+ struct r600_accel_object *dst,
uint32_t vs_offset, uint32_t ps_offset,
int rop, Pixel planemask);