/[gzz]/gzz/gzz/client/awt/AWTScreen.java
ViewVC logotype

Diff of /gzz/gzz/client/awt/AWTScreen.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.20 by benja, Wed Sep 25 10:56:54 2002 UTC revision 1.21 by tjl, Wed Sep 25 14:45:43 2002 UTC
# Line 53  public abstract class AWTScreen Line 53  public abstract class AWTScreen
53          return new VobScene(          return new VobScene(
54                  new DefaultVobMap(),                  new DefaultVobMap(),
55                  new OrthoCoorder(size.width, size.height),                  new OrthoCoorder(size.width, size.height),
56                    new DefaultVobMatcher(),
57                  this.getGraphicsAPI(),                  this.getGraphicsAPI(),
58                  this,                  this,
59                  size                  size
# Line 107  public abstract class AWTScreen Line 108  public abstract class AWTScreen
108       */       */
109      static boolean useGlobalCache = false;      static boolean useGlobalCache = false;
110      static Image globalCache;      static Image globalCache;
111        VobScene listprev, listnext;
112        int[] interplist;
113    
114      /** Renders a frame of the view animation onto Graphics buffer      /** Renders a frame of the view animation onto Graphics buffer
115       */       */
# Line 163  public abstract class AWTScreen Line 166  public abstract class AWTScreen
166              p("Going to render: "+sc+" "+osc+" "+fract);              p("Going to render: "+sc+" "+osc+" "+fract);
167              if(dbg) sc.dump();              if(dbg) sc.dump();
168              if(dbg) osc.dump();              if(dbg) osc.dump();
169    
170                if(sc != listprev || osc != listnext) {
171                    listprev = sc;
172                    listnext = osc;
173                    interplist = sc.matcher.interpList(osc.matcher);
174                }
175    
176              ((OrthoCoorder)sc.coords).renderVobs((DefaultVobMap)sc.map,              ((OrthoCoorder)sc.coords).renderVobs((DefaultVobMap)sc.map,
177                                                   (OrthoCoorder)osc.coords,                                                   (OrthoCoorder)osc.coords,
178                                                     interplist,
179                                                   fract,                                                   fract,
180                                                   gr, fg                                                   gr, fg
181                                          );                                          );

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26