[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] gzz ./TODO gfx/demo/xupdf.py
From: |
Tuomas J. Lukka |
Subject: |
[Gzz-commits] gzz ./TODO gfx/demo/xupdf.py |
Date: |
Sat, 28 Sep 2002 04:03:51 -0400 |
CVSROOT: /cvsroot/gzz
Module name: gzz
Changes by: Tuomas J. Lukka <address@hidden> 02/09/28 04:03:51
Modified files:
. : TODO
gfx/demo : xupdf.py
Log message:
Iffed-out code to understand irregu problem
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/TODO.diff?tr1=1.170&tr2=1.171&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gfx/demo/xupdf.py.diff?tr1=1.28&tr2=1.29&r1=text&r2=text
Patches:
Index: gzz/TODO
diff -c gzz/TODO:1.170 gzz/TODO:1.171
*** gzz/TODO:1.170 Fri Sep 27 15:50:06 2002
--- gzz/TODO Sat Sep 28 04:03:51 2002
***************
*** 59,65 ****
createPaperQuad, since that's the most flexible approach.
[this is for making things work on G400, and if you
get the GeForce2, this moves to alpha4!]:
! - make a trivial texcomb_GL11.py in gfx/libpaper
which allows papers to work without register combiners.
[this is for making things work on G400, and if you
get the GeForce2, this moves to alpha4!]:
--- 59,65 ----
createPaperQuad, since that's the most flexible approach.
[this is for making things work on G400, and if you
get the GeForce2, this moves to alpha4!]:
! - make a trivial texcomb_GL11.py (using OpenGL 1.1 functionality) in
gfx/libpaper
which allows papers to work without register combiners.
[this is for making things work on G400, and if you
get the GeForce2, this moves to alpha4!]:
***************
*** 113,118 ****
--- 113,120 ----
caching problems.
tjl:
+ implementation of frame rate counter magic Vob
+ - renderable3
+ - clippedPaperQuad (leave unrendered if outside cs3)
- distorted multi-page PDF view with xu links
- texture performance, look at imagecache
- need to create lower-resolution versions since
Index: gzz/gfx/demo/xupdf.py
diff -c gzz/gfx/demo/xupdf.py:1.28 gzz/gfx/demo/xupdf.py:1.29
*** gzz/gfx/demo/xupdf.py:1.28 Fri Sep 27 15:34:48 2002
--- gzz/gfx/demo/xupdf.py Sat Sep 28 04:03:51 2002
***************
*** 187,199 ****
def run(rself):
vs.map.put(self.white)
vs.map.put(self.irregu.content, cs1into, irr)
! Stencil.drawStenciled(vs,
! ContentR(),
! None,
! FrameR(),
! pp,
! 0)
!
else:
pp.run()
--- 187,207 ----
def run(rself):
vs.map.put(self.white)
vs.map.put(self.irregu.content, cs1into, irr)
!
! if 0:
! vs.map.put(getDListNocoords("""
! PolygonMode FRONT_AND_BACK LINE
! """))
! ContentR().run()
!
! if 1:
! Stencil.drawStenciled(vs,
! ContentR(),
! None,
! FrameR(),
! pp,
! 0)
!
else:
pp.run()
***************
*** 454,460 ****
if self.clip:
clip = (-0.2+globalx, -0.2+globaly, 0.2+globalx, 0.2+globaly)
else:
! clip = None
globalview.placepapers(vs, cs1_trans,
cliprect = clip)
# placepapers(vs, cs1_trans, globalpap, globalcursor.getId())
--- 462,468 ----
if self.clip:
clip = (-0.2+globalx, -0.2+globaly, 0.2+globalx, 0.2+globaly)
else:
! clip = (0, 0, 10, 2)
globalview.placepapers(vs, cs1_trans,
cliprect = clip)
# placepapers(vs, cs1_trans, globalpap, globalcursor.getId())