home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / windows / x / i386unix / 137 < prev    next >
Encoding:
Internet Message Format  |  1992-12-23  |  1.6 KB

  1. Path: sparky!uunet!olivea!charnel!sifon!thunder.mcrcim.mcgill.edu!mouse
  2. From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
  3. Newsgroups: comp.windows.x.i386unix
  4. Subject: Re: 32K or 16M colours?
  5. Message-ID: <1992Dec23.171933.11736@thunder.mcrcim.mcgill.edu>
  6. Date: 23 Dec 92 17:19:33 GMT
  7. References: <linda.724803368@minnie> <1992Dec20.000426.21774@cbnewsj.cb.att.com> <1992Dec22.130619.18414@news.lrz-muenchen.de>
  8. Organization: McGill Research Centre for Intelligent Machines
  9. Lines: 22
  10.  
  11. In article <1992Dec22.130619.18414@news.lrz-muenchen.de>, roell@informatik.tu-muenchen.de (Thomas Roell) writes:
  12. >> Take a look at how the 24-bit SVGA's are implemented.  Packed 3-byte
  13. >> pixels.  It's going to make working on them rediculous[sic].
  14. > I don't think 3byte pixels is that rediculus[sic] if you look at the
  15. > memory contraints given in todays SVGAs.  But the price to pay is
  16. > VERY high.  You can only deal with 24bpp (opposed to 32bpp) by using
  17. > 32bit reads/writes.  A simple statistic shows that about every second
  18. > access will be not correctly aligned and hence at least 2 32bit
  19. > accesses to video memroy will be necessary.  Having this in mind a
  20. > 24bpp framebuffer will be at leat 1.5 times slower than a 32bpp.
  21.  
  22. Only if the implementation is careless.  You should be doing three
  23. 32-bit memory accesses for every four pixels.  Only if you're doing
  24. something narrow (ie, small span along the x axis) will the
  25. misalignment effect make much difference.  Granted, drawing lines is a
  26. common operation, but I believe area copies and text drawing are much
  27. more important for nearly all applications.
  28.  
  29.                     der Mouse
  30.  
  31.                 mouse@larry.mcrcim.mcgill.edu
  32.