gzz-commits
[Top][All Lists]
Advanced

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

[Gzz-commits] gzz/gfx/demo xupdf.py


From: Tuomas J. Lukka
Subject: [Gzz-commits] gzz/gfx/demo xupdf.py
Date: Wed, 18 Sep 2002 23:11:15 -0400

CVSROOT:        /cvsroot/gzz
Module name:    gzz
Changes by:     Tuomas J. Lukka <address@hidden>        02/09/18 23:11:15

Modified files:
        gfx/demo       : xupdf.py 

Log message:
        Not sure why squaring is good but it seems to be...

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gfx/demo/xupdf.py.diff?tr1=1.15&tr2=1.16&r1=text&r2=text

Patches:
Index: gzz/gfx/demo/xupdf.py
diff -c gzz/gfx/demo/xupdf.py:1.15 gzz/gfx/demo/xupdf.py:1.16
*** gzz/gfx/demo/xupdf.py:1.15  Wed Sep 18 23:08:24 2002
--- gzz/gfx/demo/xupdf.py       Wed Sep 18 23:11:15 2002
***************
*** 163,169 ****
                                  0, 0,  1, 0,
                                  0, 0,  0, 1])
        return pap
!     papw = mpap("BlendFunc ONE ZERO")
      papo = mpap(nvcode.combinercode("""
        Enable REGISTER_COMBINERS_NV
        CombinerParameterNV NUM_GENERAL_COMBINERS_NV 1
--- 163,169 ----
                                  0, 0,  1, 0,
                                  0, 0,  0, 1])
        return pap
!     papw = mpap("BlendFunc SRC_COLOR ZERO")
      papo = mpap(nvcode.combinercode("""
        Enable REGISTER_COMBINERS_NV
        CombinerParameterNV NUM_GENERAL_COMBINERS_NV 1
***************
*** 172,178 ****
        FCI C ZERO UNSIGNED_IDENTITY_NV RGB
        FCI D ZERO UNSIGNED_IDENTITY_NV RGB
        FCI G ZERO UNSIGNED_IDENTITY_NV ALPHA
!       BlendFunc ONE ONE
        BlendEquation FUNC_REVERSE_SUBTRACT
      """))
      return (papw, pw, ph, papo)
--- 172,178 ----
        FCI C ZERO UNSIGNED_IDENTITY_NV RGB
        FCI D ZERO UNSIGNED_IDENTITY_NV RGB
        FCI G ZERO UNSIGNED_IDENTITY_NV ALPHA
!       BlendFunc ONE ONE_MINUS_SRC_COLOR
        BlendEquation FUNC_REVERSE_SUBTRACT
      """))
      return (papw, pw, ph, papo)




reply via email to

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