mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-19 09:30:44 +00:00
Add #ifdef copy flag debug printfs.
This commit is contained in:
parent
d6fae6175b
commit
f161d44deb
@ -1325,6 +1325,24 @@ nsRenderingContextGTK::CopyOffScreenBits(nsDrawingSurface aSrcSurf,
|
||||
g_return_val_if_fail(mTMatrix != NULL, NS_ERROR_FAILURE);
|
||||
g_return_val_if_fail(mSurface != NULL, NS_ERROR_FAILURE);
|
||||
|
||||
#if 0
|
||||
printf("nsRenderingContextGTK::CopyOffScreenBits()\nflags=\n");
|
||||
|
||||
if (aCopyFlags & NS_COPYBITS_USE_SOURCE_CLIP_REGION)
|
||||
printf("NS_COPYBITS_USE_SOURCE_CLIP_REGION\n");
|
||||
|
||||
if (aCopyFlags & NS_COPYBITS_XFORM_SOURCE_VALUES)
|
||||
printf("NS_COPYBITS_XFORM_SOURCE_VALUES\n");
|
||||
|
||||
if (aCopyFlags & NS_COPYBITS_XFORM_DEST_VALUES)
|
||||
printf("NS_COPYBITS_XFORM_DEST_VALUES\n");
|
||||
|
||||
if (aCopyFlags & NS_COPYBITS_TO_BACK_BUFFER)
|
||||
printf("NS_COPYBITS_TO_BACK_BUFFER\n");
|
||||
|
||||
printf("\n");
|
||||
#endif
|
||||
|
||||
if (aCopyFlags & NS_COPYBITS_TO_BACK_BUFFER)
|
||||
{
|
||||
NS_ASSERTION(!(nsnull == mSurface), "no back buffer");
|
||||
|
Loading…
x
Reference in New Issue
Block a user