/[gzz]/gzz/gzz/client/gl/GLScreen.java
ViewVC logotype

Diff of /gzz/gzz/client/gl/GLScreen.java

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

revision 1.35 by tjl, Sun Oct 6 13:44:57 2002 UTC revision 1.36 by tjl, Mon Oct 14 18:15:19 2002 UTC
# Line 259  public static final String rcsid = "$Id$ Line 259  public static final String rcsid = "$Id$
259                                                 true, showFinal);                                                 true, showFinal);
260    
261      }      }
262    
263        public int[] readPixels(int x, int y, int w, int h) {
264            GL.ByteVector v = GL.createByteVector(w*h*4);
265            Dimension d = getSize();
266            v.readFromBuffer_ubytes(window, "FRONT",
267                        x, d.height-1-y, w, h,
268                        "BGRA");
269            return v.getInts();
270        }
271      public float timeRender(VobScene vs, int iters) {      public float timeRender(VobScene vs, int iters) {
272          return ((GLVobCoorder)vs.coords).timeRender(window, (GLVobMap)vs.map,          return ((GLVobCoorder)vs.coords).timeRender(window, (GLVobMap)vs.map,
273                                                      true, iters);                                                      true, iters);

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.36

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