Removed remaining printf and DEBUG_* usages.

This commit is contained in:
Armin Novak 2014-09-15 09:01:05 +02:00
parent 1845c0b590
commit 06b609062d
5 changed files with 14 additions and 7 deletions

View File

@ -419,7 +419,7 @@ void wf_gdi_bitmap_update(rdpContext* context, BITMAP_UPDATE* bitmapUpdate)
if (status < 0)
{
DEBUG_WARN("wf_gdi_bitmap_update: bitmap decompression failure\n");
WLog_ERR(TAG, "bitmap decompression failure");
return;
}

View File

@ -29,9 +29,11 @@
#include <freerdp/constants.h>
#include <winpr/stream.h>
#include <freerdp/utils/debug.h>
#include <freerdp/log.h>
#include <freerdp/cache/bitmap.h>
#define TAG FREERDP_TAG("cache.bitmap")
void update_gdi_memblt(rdpContext* context, MEMBLT_ORDER* memblt)
{
rdpBitmap* bitmap;

View File

@ -563,7 +563,7 @@ void gdi_bitmap_update(rdpContext* context, BITMAP_UPDATE* bitmapUpdate)
if (status < 0)
{
DEBUG_WARN("gdi_bitmap_update: bitmap decompression failure\n");
WLog_ERR(TAG, "bitmap decompression failure");
return;
}

View File

@ -21,9 +21,12 @@
#include "config.h"
#endif
#include <freerdp/log.h>
#include <freerdp/gdi/gfx.h>
#include <freerdp/gdi/region.h>
#define TAG FREERDP_TAG("gdi")
int gdi_ResetGraphics(RdpgfxClientContext* context, RDPGFX_RESET_GRAPHICS_PDU* resetGraphics)
{
rdpGdi* gdi = (rdpGdi*) context->custom;
@ -259,7 +262,7 @@ int gdi_SurfaceCommand_ClearCodec(rdpGdi* gdi, RdpgfxClientContext* context, RDP
if (status < 0)
{
printf("clear_decompress failure: %d\n", status);
WLog_ERR(TAG, "clear_decompress failure: %d", status);
return -1;
}
@ -342,7 +345,7 @@ int gdi_SurfaceCommand_H264(rdpGdi* gdi, RdpgfxClientContext* context, RDPGFX_SU
if (status < 0)
{
printf("h264_decompress failure: %d\n",status);
WLog_ERR(TAG, "h264_decompress failure: %d",status);
return -1;
}
@ -370,7 +373,7 @@ int gdi_SurfaceCommand_Alpha(rdpGdi* gdi, RdpgfxClientContext* context, RDPGFX_S
if (!surface)
return -1;
printf("gdi_SurfaceCommand_Alpha: status: %d\n", status);
WLog_DBG(TAG, "gdi_SurfaceCommand_Alpha: status: %d", status);
/* fill with green for now to distinguish from the rest */
@ -425,7 +428,7 @@ int gdi_SurfaceCommand_Progressive(rdpGdi* gdi, RdpgfxClientContext* context, RD
if (status < 0)
{
printf("progressive_decompress failure: %d\n", status);
WLog_ERR(TAG, "progressive_decompress failure: %d", status);
return -1;
}

View File

@ -23,6 +23,7 @@
#include <winpr/crt.h>
#include <freerdp/log.h>
#include <freerdp/gdi/dc.h>
#include <freerdp/gdi/brush.h>
#include <freerdp/gdi/shape.h>
@ -40,6 +41,7 @@
#include "graphics.h"
#define TAG FREERDP_TAG("gdi")
/* Bitmap Class */
HGDI_BITMAP gdi_create_bitmap(rdpGdi* gdi, int width, int height, int bpp, BYTE* data)