/[libvob]/libvob/vob/putil/nvcode.py
ViewVC logotype

Diff of /libvob/vob/putil/nvcode.py

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

revision 1.1 by tjl, Thu Apr 10 14:00:19 2003 UTC revision 1.2 by mudyc, Fri May 2 00:06:30 2003 UTC
# Line 24  Line 24 
24  # Some code to make it easier to deal with NVidia  # Some code to make it easier to deal with NVidia
25  # OpenGL extensions  # OpenGL extensions
26    
27    dbg = 0
28    
29  def combinercode(c):  def combinercode(c):
30      return (c.replace("CI0", "CombinerInputNV COMBINER0_NV").      return (c.replace("CI0", "CombinerInputNV COMBINER0_NV").
31                  replace("CI1", "CombinerInputNV COMBINER1_NV").                  replace("CI1", "CombinerInputNV COMBINER1_NV").
# Line 902  def convCombiner(code, GL): Line 904  def convCombiner(code, GL):
904          fp = fpcodes[fpcode]          fp = fpcodes[fpcode]
905      else:      else:
906          fp = GL.createProgram(fpcode)          fp = GL.createProgram(fpcode)
907          print "Creating fragment program %s" % fp.getProgId()          if dbg:
908                print "Creating fragment program %s" % fp.getProgId()
909          fpcodes[fpcode] = fp          fpcodes[fpcode] = fp
910    
911      return """      return """

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

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