UINT32 nWidth, UINT32 nHeight, DWORD rop,
HGDI_DC hdcSrc, UINT32 nXSrc, UINT32 nYSrc)
{
- WLog_INFO(TAG, "%s [%s] x=%lu, y=%lu, w=%lu, h=%lu [x=%lu, y=%lu] %s %s",
- __FUNCTION__, gdi_rop_to_string(rop), nXLeft, nYLeft,
- nWidth, nHeight, nXSrc, nYSrc, hdc ? GetColorFormatName(hdc->format) : "NULL",
- hdcSrc ? GetColorFormatName(hdcSrc->format) : "NULL");
+ WLog_VRB(TAG, "%s [%s] x=%lu, y=%lu, w=%lu, h=%lu [x=%lu, y=%lu] %s %s",
+ __FUNCTION__, gdi_rop_to_string(rop), nXLeft, nYLeft,
+ nWidth, nHeight, nXSrc, nYSrc, hdc ? GetColorFormatName(hdc->format) : "NULL",
+ hdcSrc ? GetColorFormatName(hdcSrc->format) : "NULL");
if (!gdi_ClipCoords(hdc, &nXLeft, &nYLeft, &nWidth, &nHeight, NULL, NULL))
return TRUE;
UINT status = CHANNEL_RC_OK;
rdpGdi* gdi = (rdpGdi*) context->custom;
+ if (!context || !cmd)
+ return ERROR_INVALID_PARAMETER;
+
+ WLog_Print(gdi->log, WLOG_TRACE,
+ "surfaceId=%lu, codec=%lu, contextId=%lu, format=%s, "
+ "left=%lu, top=%lu, right=%lu, bottom=%lu, width=%lu, height=%lu "
+ "length=%lu, data=%p, extra=%p",
+ cmd->surfaceId, cmd->codecId, cmd->contextId,
+ GetColorFormatName(cmd->format), cmd->left, cmd->top, cmd->right,
+ cmd->bottom, cmd->width, cmd->height, cmd->length, cmd->data, cmd->extra);
+
switch (cmd->codecId)
{
case RDPGFX_CODECID_UNCOMPRESSED: