/[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.57 by jvk, Fri Sep 20 15:52:33 2002 UTC revision 1.58 by tjl, Sat Sep 21 07:35:17 2002 UTC
# Line 1340  gzzgljava = """ Line 1340  gzzgljava = """
1340                  getWindowSize(getId(), rect);                  getWindowSize(getId(), rect);
1341                  return rect;                  return rect;
1342              }              }
1343    
1344                public void setCurrent() { impl_Window_setCurrent(getId()); }
1345                public void release() { impl_Window_release(getId()); }
1346    
1347                public void move(int x, int y) { impl_Window_move(getId(), x, y); }
1348                public void resize(int w, int h) { impl_Window_resize(getId(), w, h); }
1349          }          }
1350          final private static Window defaultWindow = new Window(-1);          final private static Window defaultWindow = new Window(-1);
1351    
# Line 1355  gzzgljava = """ Line 1361  gzzgljava = """
1361    
1362          static private native void addTimeoutWindow(int id, int ms, int tid);          static private native void addTimeoutWindow(int id, int ms, int tid);
1363    
1364            static private native void impl_Window_setCurrent(int id);
1365            static private native void impl_Window_release(int id);
1366            static private native void impl_Window_move(int id, int x, int y);
1367            static private native void impl_Window_resize(int id, int w, int h);
1368    
1369      //--------- Image      //--------- Image
1370          static public class Image extends NonRenderableJavaObject {          static public class Image extends NonRenderableJavaObject {
# Line 1439  gzzgljava = """ Line 1449  gzzgljava = """
1449              public void loadSubImage(int level, Image img, int xoffs, int yoffs) {              public void loadSubImage(int level, Image img, int xoffs, int yoffs) {
1450                  impl_Texture_loadSubImage(getId(), level, img.getId(), xoffs, yoffs);                  impl_Texture_loadSubImage(getId(), level, img.getId(), xoffs, yoffs);
1451              }              }
1452                public void downsampleInto(Texture into, String target, int level, String internalFormat, String transferformat) {
1453                    impl_Texture_downsampleInto(getId(), into.getId(), target, level,
1454                            internalFormat, transferformat);
1455                }
1456          }          }
1457          static public Texture createTexture() {          static public Texture createTexture() {
1458              return new Texture(impl_createTexture());              return new Texture(impl_createTexture());
# Line 1454  gzzgljava = """ Line 1468  gzzgljava = """
1468                              int border, String format, String type) ;                              int border, String format, String type) ;
1469          static private native void impl_Texture_loadSubImage(int id,          static private native void impl_Texture_loadSubImage(int id,
1470              int level, int imgid, int xoffs, int yoffs) ;              int level, int imgid, int xoffs, int yoffs) ;
1471            static private native void impl_Texture_downsampleInto(int id, int intoid, String target,
1472                    int level, String internalFormat, String transferformat);
1473    
1474      //--------- VertexProgramNV      //--------- VertexProgramNV
1475          /** A vertex program object.          /** A vertex program object.
# Line 1631  gzzgljava = """ Line 1647  gzzgljava = """
1647           */           */
1648          public static native void eventLoop(boolean wait);          public static native void eventLoop(boolean wait);
1649    
         public static native void startContext();  
         public static native void endContext();  
   
1650          public static gzz.vob.Vob createCallList(String s) {          public static gzz.vob.Vob createCallList(String s) {
1651              return createCallList(createDisplayList(s));              return createCallList(createDisplayList(s));
1652          }          }

Legend:
Removed from v.1.57  
changed lines
  Added in v.1.58

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