home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / fj / maillis / xwindow / 19052 < prev    next >
Encoding:
Internet Message Format  |  1993-01-02  |  1.9 KB

  1. Path: sparky!uunet!spool.mu.edu!sgiblab!nec-gw!nec-tyo!wnoc-tyo-news!scslwide!wsgw!wsservra!onoe
  2. From: hasty@netcom.com (Amancio Hasty Jr)
  3. Newsgroups: fj.mail-lists.x-window
  4. Subject: question: xbench's screencopy and expose events
  5. Message-ID: <1993Jan2.081816.6128@sm.sony.co.jp>
  6. Date: 2 Jan 93 08:18:16 GMT
  7. Sender: onoe@sm.sony.co.jp (Atsushi Onoe)
  8. Distribution: fj
  9. Organization: Netcom Online Communications Services (408-241-9760 login: guest)
  10. Lines: 43
  11. Approved: michael@sm.sony.co.jp
  12.  
  13. Date: 2 Jan 93 06:05:13 GMT
  14. Message-Id: <1993Jan2.060513.17119@netcom.com>
  15. Newsgroups: comp.windows.x
  16. Sender: xpert-request@expo.lcs.mit.edu
  17.  
  18. Hi,
  19.  
  20. I am working on an X server for S3 chipsets for 386bsd and Linux and 
  21. am trying to determine if the xbench screencopy test should cause the
  22. X server to generate  NoExposure events. The NoExposure events seems
  23. to cause xbench to grow considerably in size thus skewing my performance
  24. benchmarks. 
  25.  
  26. If I set noexposures delivery in the screen setup routine the problem
  27. of xbench growing in size goes away. The following modification was
  28. done to xbench's screen copy setup routine:
  29.  
  30. screencopy_setup(dpy, win, dummy)
  31. Display *dpy;
  32. Window win;
  33. {
  34.         int screen = DefaultScreen(dpy);
  35.  
  36.         myGC = XCreateGC(dpy, win, 0L, NULL);
  37.         if (! myGC) return 1;
  38.         XSetForeground(dpy, myGC, WhitePixel(dpy, screen));
  39.         XSetBackground(dpy, myGC, BlackPixel(dpy, screen));
  40.  >>added      XSetGraphicsExposures(dpy, myGC, False);  
  41.  
  42.  
  43. The following xbench results were generated without the above patch.
  44. So far I am getting 89k stones at 45Mhz interlace and 77xstones at 72Mhz with
  45. my Actix GraphicEngine32 (S3 801) ISA card . Cpu is a 486/50Mhz 256k cache
  46. with 8MB of memory :-)
  47.  
  48. Thank you in advance,
  49. Amancio Hasty
  50.  
  51.  
  52. -- 
  53. Amancio Hasty           |  
  54. Home: (415) 495-3046    |  ftp-site depository of all my work:
  55. e-mail hasty@netcom.com    |  sunvis.rtpnc.epa.gov:/pub/386bsd/incoming
  56.