home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / windows / x / 20690 < prev    next >
Encoding:
Text File  |  1993-01-02  |  1.6 KB  |  49 lines

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