Path: chuka.playstation.co.uk!scea!peter_alau@playstation.sony.com From: Elliott Lee Newsgroups: scee.yaroze.programming.2d_graphics Subject: Re: Scrolling backgrounds Date: Wed, 08 Jul 1998 17:25:13 -0700 Organization: Cisco Systems Lines: 56 Message-ID: <35A40DE9.24722FCB@jps.net> References: <6nvfvm$9o1@chuka.playstation.co.uk> <35A34842.A7B6E58C@scee.sony.co.uk> <35a3f513.14718586@news.scea.sony.com> Reply-To: tenchi@jps.net NNTP-Posting-Host: dhcp-m-62-247.cisco.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.03 [en] (Win95; U) Jamin Frederick wrote: [...] > >You can call these two functions together - since GPU commands are queued up internally, > >the MoveImage will wait until the LoadImage has finished before completion. So you > >don't have to go: > > > So which and how many GPU commands can you call before you MUST call > DrawSync(0)? Any number, until you run out of system RAM. Basically, the ordering table (OT) just keeps track of all the drawing commands that the GPU needs to do. Until you call GsDrawOt(), you can keep doing GPU commands and queue them up in the OT. However, when you do call GsDrawOt(), the current GPU operations will probably be completed before working on your OT. So, maybe this works: LoadImage(myNewLine); MoveImage(scrollMove); // ... do other gfx processing ... GsDrawOt( ...blahblah... ); DrawSync(0); > >LoadImage(myNewLine); > >DrawSync(0); > >MoveImage(scrollMove); > > > > >just: > > > >LoadImage(myNewLine); > >MoveImage(scrollMove); > > > Similarly, is making many more moveimages than necessary going to slow > down performance, than if just block blitting were done instead? It > seems like doing a line-by-line thing might clog things up, especially > if loading all the time from main mem. > > Jamin > > >This might speed your program up a bit (but won't affect the GPU speed). > > > >-- > >== James_Russell@scee.sony.co.uk +44 (171) 447-1626 > >== Developer Support Engineer - Sony Computer Entertainment Europe > > > >(((((This tagline in Stereo where available))))) In stereo? Dolby Pro-Logic Surround? Mata ne, ... ... - e! ::' tenchi@shell.jps.net ':: (Protocol) :: ACiD -/- ACS -/- pHluid -/- Yaroze -/- Nemesis :: (Tenchikun) ::. http://www.jps.net/tenchi .:: ''' '''