summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/vdpau/device.c
diff options
context:
space:
mode:
authorChristian König <deathsimple@vodafone.de>2012-02-10 12:34:22 +0100
committerChristian König <deathsimple@vodafone.de>2012-02-21 11:13:11 +0100
commit736dda82ca5477b8976e2c6b810a71efe2337267 (patch)
tree9c4b6b3c774bab115be90a2a16cbc15b890dad64 /src/gallium/state_trackers/vdpau/device.c
parenta206c4cd69a881bf3f8d960607d604b6d53e3a26 (diff)
downloadexternal_mesa3d-736dda82ca5477b8976e2c6b810a71efe2337267.zip
external_mesa3d-736dda82ca5477b8976e2c6b810a71efe2337267.tar.gz
external_mesa3d-736dda82ca5477b8976e2c6b810a71efe2337267.tar.bz2
st/vdpau: remove unnecessary tracing and adjust tracing levels a bit
Tracing function entry/exits is a bit pointless when VDPAU_TRACE=1 does the same thing. v2: use WARN instead of ERR for application problems Signed-off-by: Christian König <deathsimple@vodafone.de>
Diffstat (limited to 'src/gallium/state_trackers/vdpau/device.c')
-rw-r--r--src/gallium/state_trackers/vdpau/device.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/gallium/state_trackers/vdpau/device.c b/src/gallium/state_trackers/vdpau/device.c
index cc49bd4..7b23863 100644
--- a/src/gallium/state_trackers/vdpau/device.c
+++ b/src/gallium/state_trackers/vdpau/device.c
@@ -79,7 +79,6 @@ vdp_imp_device_create_x11(Display *display, int screen, VdpDevice *device,
vl_compositor_init(&dev->compositor, dev->context->pipe);
*get_proc_address = &vlVdpGetProcAddress;
- VDPAU_MSG(VDPAU_TRACE, "[VDPAU] Device created succesfully\n");
return VDP_STATUS_OK;
@@ -105,8 +104,6 @@ vlVdpPresentationQueueTargetCreateX11(VdpDevice device, Drawable drawable,
vlVdpPresentationQueueTarget *pqt;
VdpStatus ret;
- VDPAU_MSG(VDPAU_TRACE, "[VDPAU] Creating PresentationQueueTarget\n");
-
if (!drawable)
return VDP_STATUS_INVALID_HANDLE;
@@ -142,8 +139,6 @@ vlVdpPresentationQueueTargetDestroy(VdpPresentationQueueTarget presentation_queu
{
vlVdpPresentationQueueTarget *pqt;
- VDPAU_MSG(VDPAU_TRACE, "[VDPAU] Destroying PresentationQueueTarget\n");
-
pqt = vlGetDataHTAB(presentation_queue_target);
if (!pqt)
return VDP_STATUS_INVALID_HANDLE;
@@ -160,8 +155,6 @@ vlVdpPresentationQueueTargetDestroy(VdpPresentationQueueTarget presentation_queu
VdpStatus
vlVdpDeviceDestroy(VdpDevice device)
{
- VDPAU_MSG(VDPAU_TRACE, "[VDPAU] Destroying device\n");
-
vlVdpDevice *dev = vlGetDataHTAB(device);
if (!dev)
return VDP_STATUS_INVALID_HANDLE;
@@ -173,8 +166,6 @@ vlVdpDeviceDestroy(VdpDevice device)
FREE(dev);
vlDestroyHTAB();
- VDPAU_MSG(VDPAU_TRACE, "[VDPAU] Device destroyed successfully\n");
-
return VDP_STATUS_OK;
}