/[gzz]/gzz/gfx/librenderables/renderables.py
ViewVC logotype

Diff of /gzz/gfx/librenderables/renderables.py

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

revision 1.54 by tjl, Fri Sep 20 10:27:03 2002 UTC revision 1.55 by tjl, Fri Sep 20 14:41:36 2002 UTC
# Line 1536  gzzgljava = """ Line 1536  gzzgljava = """
1536          static private native void compileCallGL(int id, String s);          static private native void compileCallGL(int id, String s);
1537          static private native void deleteDisplayList(int id);          static private native void deleteDisplayList(int id);
1538    
1539        //---------- ByteVector
1540            static public class ByteVector extends NonRenderableJavaObject {
1541                private ByteVector(int id) {
1542                    super(id);
1543                }
1544                protected void deleteObj() { deleteByteVector(getId()); }
1545    
1546                public int get(int ind) { return impl_ByteVector_get(getId(), ind); }
1547                public void readFromBuffer_ubytes(Window win,
1548                    String buffer,
1549                    int x, int y, int width, int height,
1550                    String format) {
1551                    impl_ByteVector_readFromBuffer_ubytes(getId(), win.getId(),
1552                        buffer, x, y, width, height, format);
1553                }
1554    
1555            }
1556            static public ByteVector createByteVector() {
1557                return createByteVector(0);
1558            }
1559            static public ByteVector createByteVector(int size) {
1560                return new ByteVector(createByteVectorImpl(size));
1561            }
1562            static private native int createByteVectorImpl(int size);
1563            static private native void deleteByteVector(int id);
1564    
1565            static private native void impl_ByteVector_readFromBuffer_ubytes(
1566                    int id, int winid, String buffer,
1567                    int x, int y, int width, int height,
1568                    String format) ;
1569            static private native int impl_ByteVector_get(int id, int ind);
1570    
1571      //----------Misc      //----------Misc
1572    
1573          public static void render(          public static void render(

Legend:
Removed from v.1.54  
changed lines
  Added in v.1.55

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