sna/blt: Remove a couple of unused members from its op-state

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2011-06-10 08:23:19 +01:00
parent fbbd1c9dde
commit 2dff681efe
2 changed files with 5 additions and 2 deletions

View File

@ -300,6 +300,10 @@ static struct kgem_bo *upload(struct sna *sna,
DBG(("%s: origin=(%d, %d), box=(%d, %d), (%d, %d), pixmap=%dx%d\n",
__FUNCTION__, x, y, box->x1, box->y1, box->x2, box->y2, pixmap->drawable.width, pixmap->drawable.height));
assert(box->x1 >= 0);
assert(box->y1 >= 0);
assert(box->x2 <= pixmap->drawable.width);
assert(box->y2 <= pixmap->drawable.height);
bo = kgem_upload_source_image(&sna->kgem,
pixmap->devPrivate.ptr,

View File

@ -82,12 +82,11 @@ struct sna_composite_op {
uint32_t inplace :1;
uint32_t overwrites:1;
int hdr;
uint32_t cmd;
uint32_t br13;
uint32_t pitch[2];
uint32_t pixel;
struct kgem_bo *bo[3];
struct kgem_bo *bo[2];
} blt;
struct {