glamor: comment out the message when creating a system memory pixmap.
Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
This commit is contained in:
parent
f961390db6
commit
7fbdc60fd4
|
@ -130,9 +130,11 @@ glamor_create_pixmap(ScreenPtr screen, int w, int h, int depth,
|
||||||
(((w * pixmap->drawable.bitsPerPixel +
|
(((w * pixmap->drawable.bitsPerPixel +
|
||||||
7) / 8) + 3) & ~3,
|
7) / 8) + 3) & ~3,
|
||||||
NULL);
|
NULL);
|
||||||
|
#if 0
|
||||||
if (usage != GLAMOR_CREATE_PIXMAP_CPU)
|
if (usage != GLAMOR_CREATE_PIXMAP_CPU)
|
||||||
glamor_fallback("choose cpu memory for pixmap %p ,"
|
glamor_fallback("choose cpu memory for pixmap %p ,"
|
||||||
" %d x %d depth %d\n", pixmap, w, h, depth);
|
" %d x %d depth %d\n", pixmap, w, h, depth);
|
||||||
|
#endif
|
||||||
} else
|
} else
|
||||||
pixmap = fbCreatePixmap (screen, 0, 0, depth, usage);
|
pixmap = fbCreatePixmap (screen, 0, 0, depth, usage);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user