gzz-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gzz-commits] libvob/test/vob/gl basicrender.test glvobcoorde...


From: Tuomas J. Lukka
Subject: [Gzz-commits] libvob/test/vob/gl basicrender.test glvobcoorde...
Date: Tue, 11 Mar 2003 09:01:27 -0500

CVSROOT:        /cvsroot/libvob
Module name:    libvob
Changes by:     Tuomas J. Lukka <address@hidden>        03/03/11 09:01:27

Modified files:
        test/vob/gl    : basicrender.test glvobcoorder.test 

Log message:
        Able to *run* gl tests, but not succeed

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/libvob/libvob/test/vob/gl/basicrender.test.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/libvob/libvob/test/vob/gl/glvobcoorder.test.diff?tr1=1.1&tr2=1.2&r1=text&r2=text

Patches:
Index: libvob/test/vob/gl/basicrender.test
diff -u libvob/test/vob/gl/basicrender.test:1.1 
libvob/test/vob/gl/basicrender.test:1.2
--- libvob/test/vob/gl/basicrender.test:1.1     Tue Mar 11 08:32:17 2003
+++ libvob/test/vob/gl/basicrender.test Tue Mar 11 09:01:27 2003
@@ -23,16 +23,14 @@
 
 needGL()
 
-from gzz.vob import *
 from java.awt import Color
-from gzz.gfx.gl import GL, GLCache
 
 from test.tools.gfx import *
 
 def testBgTriangle():
     vs = getvs()
-    vs.map.put(SolidBgVob(Color.red))
-    vs.map.put(GLCache.getCallList("""
+    vs.map.put(vob.vobs.SolidBgVob(Color.red))
+    vs.map.put(vob.gl.GLCache.getCallList("""
        Color 0 1 0
        Disable TEXTURE_2D
        Begin TRIANGLES
@@ -44,15 +42,5 @@
     render(vs)
     checkAvgColor(10, 10, 2, 2, (255, 0, 0), 2)
     checkAvgColor(110, 110, 2, 2, (0, 255, 0), 2)
-
-def testOvalBgVob():
-    vs = getvs()
-    vs.map.put(SolidBgVob(Color.red))
-    cs1 = vs.coords.affineCoordsys(0, 0, 100, 100, 100, 0, 0, 100)
-    vs.matcher.add(cs1, "cs")
-    vs.map.put(OvalBgVob(), cs1)
-    render(vs)
-    checkAvgColor(10, 10, 2, 2, (255, 0, 0), 2)
-    checkAvgColor(150, 150, 2, 2, (255, 255, 255), 2)
 
 # : vim: set syntax=python :
Index: libvob/test/vob/gl/glvobcoorder.test
diff -u libvob/test/vob/gl/glvobcoorder.test:1.1 
libvob/test/vob/gl/glvobcoorder.test:1.2
--- libvob/test/vob/gl/glvobcoorder.test:1.1    Tue Mar 11 08:32:17 2003
+++ libvob/test/vob/gl/glvobcoorder.test        Tue Mar 11 09:01:27 2003
@@ -26,11 +26,8 @@
 
 from jarray import zeros
 
-from gzz.vob import *
 from java.awt import Color
 
-from gzz.gfx.gl import GLVobCoorder, GL
-from gzz.gfx.gl import GL, GLRen, GLCache, PaperMill
 from test.tools.gfx import *
 
 vs = getvs()
@@ -258,8 +255,6 @@
 
 
 
-import gfx.libpaper.papermill
-from gfx.libpaper.papermill import ThePaperMill
 
 def testCulling():
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]