summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine/surface9.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers/nine/surface9.c')
-rw-r--r--src/gallium/state_trackers/nine/surface9.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/nine/surface9.c b/src/gallium/state_trackers/nine/surface9.c
index aa791125319..e19d24ba209 100644
--- a/src/gallium/state_trackers/nine/surface9.c
+++ b/src/gallium/state_trackers/nine/surface9.c
@@ -250,6 +250,8 @@ NineSurface9_AddDirtyRect( struct NineSurface9 *This,
float area[2];
struct u_rect rect, cover_a, cover_b;
+ DBG("This=%p box=%p\n", This, box);
+
if (!box) {
This->dirty_rects[0].x0 = 0;
This->dirty_rects[0].y0 = 0;
@@ -471,6 +473,9 @@ NineSurface9_CopySurface( struct NineSurface9 *This,
uint8_t *p_dst;
const uint8_t *p_src;
+ DBG("This=%p From=%p pDestPoint=%p pSourceRect=%p\n",
+ This, From, pDestPoint, pSourceRect);
+
user_assert(This->desc.Format == From->desc.Format, D3DERR_INVALIDCALL);
dst_box.x = pDestPoint ? pDestPoint->x : 0;
@@ -586,6 +591,8 @@ NineSurface9_UploadSelf( struct NineSurface9 *This )
uint8_t *ptr;
unsigned i;
+ DBG("This=%p\n", This);
+
assert(This->base.pool == D3DPOOL_MANAGED);
if (!NineSurface9_IsDirty(This))