diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2009-08-25 16:14:02 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2009-08-25 16:14:02 -0400 |
commit | 69ec7a35e2a0a3d802ec093a6aab2d7ed2cc88be (patch) | |
tree | 7e48a8654e7e6a7aa488cfcfe536593ab892ac33 /src/radeon.h | |
parent | 9cf965bbc977f0523437c0ecf1d7363b17de2468 (diff) |
r6xx/r7xx: first pass at kms accel support
Adapted from various patches from Dave and Jerome.
Diffstat (limited to 'src/radeon.h')
-rw-r--r-- | src/radeon.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/radeon.h b/src/radeon.h index 3a3631e2..7fdd8f5e 100644 --- a/src/radeon.h +++ b/src/radeon.h @@ -696,9 +696,11 @@ struct radeon_accel_state { int vb_total; void *vb_ptr; uint32_t vb_size; + struct radeon_bo *vb_bo; // shader storage ExaOffscreenArea *shaders; + struct radeon_bo *shaders_bo; uint32_t solid_vs_offset; uint32_t solid_ps_offset; uint32_t copy_vs_offset; @@ -710,12 +712,14 @@ struct radeon_accel_state { uint32_t xv_ps_offset; //size/addr stuff + struct radeon_bo *src_bo[2]; uint32_t src_size[2]; uint64_t src_mc_addr[2]; uint32_t src_pitch[2]; uint32_t src_width[2]; uint32_t src_height[2]; uint32_t src_bpp[2]; + struct radeon_bo *dst_bo; uint32_t dst_size; uint64_t dst_mc_addr; uint32_t dst_pitch; @@ -731,6 +735,7 @@ struct radeon_accel_state { // copy ExaOffscreenArea *copy_area; + struct radeon_bo *copy_area_bo; Bool same_surface; int rop; uint32_t planemask; |