home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / acorn / 8014 < prev    next >
Encoding:
Internet Message Format  |  1992-07-24  |  1.6 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!wupost!uwm.edu!linac!att!ucbvax!upjomon.usl.com!lithgow
  2. From: lithgow@upjomon.usl.com (Malcolm Lithgow)
  3. Newsgroups: comp.sys.acorn
  4. Subject: Re: Graphics context switching.
  5. Message-ID: <9207240115.AA20056@ucbvax.Berkeley.EDU>
  6. Date: 23 Jul 92 23:57:29 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Lines: 26
  9.  
  10. [In message "Graphics context switching.", Ug! writes:]
  11. >I thought I might have a wee spiel about Graphics context switching; excuse me
  12. >if this is all boring stuff.
  13.  
  14. I'll just add my 2 cents worth, since I've already commented on this
  15. extensively a few months ago...
  16.  
  17. >Okay, perhaps it's worth it though.  Fast graphics context switching would
  18. >not only improve the multitasking capabilities of the printer drivers, but
  19. >it would also decrease overall 'task latency' (latency is the time it takes
  20. >to switch from one task to another), making RiscOS appear just that little
  21. >bit faster.
  22.  
  23. As far as I am aware, there are only two cases where graphics context is
  24. actually switched: when switching output to the printer, and when
  25. switching output to a sprite. There is no need to swap graphics context
  26. at task swaps because task swaps are co-operative, and only occur when a
  27. program has finished playing with its output. (As for things like VMode,
  28. it writes to a sprite, so it is forced to swap the graphics context,
  29. anyway.) Task swaps are a bit slow because all the handler vectors have
  30. to be saved and restored, I think.
  31.  
  32. Other than that, I agree with what Ug! said in his post, and hope that
  33. this improvement is made to RISC OS at some time in the (near) future.
  34.  
  35. -Malcolm.  lithgow@usl.com  These are merely my opinions.
  36.