[trace] Record the XID as a number

Don't waste string constants (which get interned) for a simple number!
This commit is contained in:
Chris Wilson 2008-11-07 22:48:21 +00:00
parent 899a159b13
commit 1d0faefbc8

View file

@ -3468,7 +3468,7 @@ cairo_xlib_surface_create (Display *dpy,
fprintf (logfile,
"dict\n"
" /type (xlib) set\n"
" /drawable /%lx set\n"
" /drawable 16!%lx set\n"
" /width %d set\n"
" /height %d set\n"
" surface dup /s%ld exch def\n",
@ -3504,7 +3504,7 @@ cairo_xlib_surface_create_for_bitmap (Display *dpy,
fprintf (logfile,
"dict\n"
" /type (xlib) set\n"
" /drawable /%lx set\n"
" /drawable 16!%lx set\n"
" /width %d set\n"
" /height %d set\n"
" /depth 1 set\n"
@ -3544,7 +3544,7 @@ cairo_xlib_surface_create_with_xrender_format (Display *dpy,
fprintf (logfile,
"dict\n"
" /type (xrender) set\n"
" /drawable /%lx set\n"
" /drawable 16!%lx set\n"
" /width %d set\n"
" /height %d set\n"
" /depth %d set\n"