diff options
author | Stanislaw Halik <[email protected]> | 2014-11-25 00:38:04 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2014-11-26 20:09:11 +0000 |
commit | 7f74b9d47928979fdad445db1e0f249688c62991 (patch) | |
tree | 11f70b726110cce2c3d30744f3a82ea69dedbeed /src/gallium/state_trackers/nine/surface9.c | |
parent | 6aeae7442d1d5a8b1ff77b6f50f4ac7333cd22b0 (diff) |
st/nine: call DBG() at more external entry points
Cc: "10.4" <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Reviewed-by: David Heidelberg <[email protected]>
Reviewed-by: Axel Davy <[email protected]>
Signed-off-by: Stanislaw Halik <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/surface9.c')
-rw-r--r-- | src/gallium/state_trackers/nine/surface9.c | 7 |
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)) |