#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;
#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;
if (status < 0)
{
- printf("clear_decompress failure: %d\n", status);
+ WLog_ERR(TAG, "clear_decompress failure: %d", status);
return -1;
}
if (status < 0)
{
- printf("h264_decompress failure: %d\n",status);
+ WLog_ERR(TAG, "h264_decompress failure: %d",status);
return -1;
}
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 */
if (status < 0)
{
- printf("progressive_decompress failure: %d\n", status);
+ WLog_ERR(TAG, "progressive_decompress failure: %d", status);
return -1;
}
#include <winpr/crt.h>
+#include <freerdp/log.h>
#include <freerdp/gdi/dc.h>
#include <freerdp/gdi/brush.h>
#include <freerdp/gdi/shape.h>
#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)