Made logging less verbose.
This commit is contained in:
parent
0f9ab81097
commit
844f7b7941
@ -611,10 +611,10 @@ BOOL gdi_PatBlt(HGDI_DC hdc, UINT32 nXLeft, UINT32 nYLeft,
|
||||
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;
|
||||
|
@ -581,6 +581,17 @@ static UINT gdi_SurfaceCommand(RdpgfxClientContext* context,
|
||||
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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user