gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] [SCM] Gnash branch, openvg, updated. 09148d6506a2422e77bd


From: Rob Savoye
Subject: [Gnash-commit] [SCM] Gnash branch, openvg, updated. 09148d6506a2422e77bd594cdd985627f79dcba7
Date: Tue, 25 Jan 2011 19:09:23 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".

The branch, openvg has been updated
       via  09148d6506a2422e77bd594cdd985627f79dcba7 (commit)
      from  eed5de3f66136b5638054c3d64381c1cebf74f24 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=09148d6506a2422e77bd594cdd985627f79dcba7


commit 09148d6506a2422e77bd594cdd985627f79dcba7
Author: Rob Savoye <address@hidden>
Date:   Tue Jan 25 12:09:16 2011 -0700

    use more ramp stops

diff --git a/librender/openvg/OpenVGBitmap.cpp 
b/librender/openvg/OpenVGBitmap.cpp
index a6f25ef..517b343 100644
--- a/librender/openvg/OpenVGBitmap.cpp
+++ b/librender/openvg/OpenVGBitmap.cpp
@@ -255,10 +255,11 @@ OpenVGBitmap::createLinearBitmap(float x0, float y0, 
float x1, float y1,
     vgSetParameteri(paint, VG_PAINT_TYPE, VG_PAINT_TYPE_LINEAR_GRADIENT);
     vgSetParameteri(paint, VG_PAINT_COLOR_RAMP_SPREAD_MODE, 
VG_COLOR_RAMP_SPREAD_PAD);
 
-    VGfloat linearGradient[4] = { x0, y0, x1, y1 };
+    VGfloat linearGradient[4] = { x0, y0, 10000, 10000 };
+//    VGfloat linearGradient[4] = { x0, y0, x1, y1 };
     vgSetParameterfv(paint, VG_PAINT_LINEAR_GRADIENT, 4, linearGradient);
 
-#if 1
+#if 0
     VGfloat stops[] = { 0.0, 0.33, 0.66, 1.0};
     vgSetParameterfv(paint, VG_PAINT_COLOR_RAMP_STOPS, 4, stops);
 #else

-----------------------------------------------------------------------

Summary of changes:
 librender/openvg/OpenVGBitmap.cpp |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

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