sna: compile fixes for debugging
Update the DBG messages to reflect changes in function parameters. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
7f0cba3a25
commit
0390105bc2
|
|
@ -1974,7 +1974,7 @@ struct kgem_bo *kgem_upload_source_image(struct kgem *kgem,
|
|||
void *dst;
|
||||
|
||||
DBG(("%s : (%d, %d), (%d, %d), stride=%d, bpp=%d\n",
|
||||
__FUNCTION__, x, y, width, height, stride, bpp));
|
||||
__FUNCTION__, box->x1, box->y1, box->x2, box->y2, stride, bpp));
|
||||
|
||||
bo = kgem_create_buffer(kgem, size, KGEM_BUFFER_WRITE, &dst);
|
||||
if (bo == NULL)
|
||||
|
|
|
|||
|
|
@ -310,8 +310,8 @@ static struct kgem_bo *upload(struct sna *sna,
|
|||
{
|
||||
struct kgem_bo *bo;
|
||||
|
||||
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));
|
||||
DBG(("%s: box=(%d, %d), (%d, %d), pixmap=%dx%d\n",
|
||||
__FUNCTION__, 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);
|
||||
|
|
|
|||
|
|
@ -228,7 +228,8 @@ sna_tiling_composite(uint32_t op,
|
|||
struct sna_pixmap *priv;
|
||||
|
||||
DBG(("%s size=(%d, %d), tile=%d\n",
|
||||
__FUNCTION__, width, height, sna->render.max_3d_size));
|
||||
__FUNCTION__, width, height,
|
||||
to_sna_from_drawable(dst->pDrawable)->render.max_3d_size));
|
||||
|
||||
priv = sna_pixmap(get_drawable_pixmap(dst->pDrawable));
|
||||
if (priv == NULL || priv->gpu_bo == NULL)
|
||||
|
|
|
|||
Loading…
Reference in New Issue