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. e50904482fc2f1fdc463


From: Rob Savoye
Subject: [Gnash-commit] [SCM] Gnash branch, openvg, updated. e50904482fc2f1fdc4633181e442fda2be9ad4a6
Date: Wed, 29 Dec 2010 04:22:46 +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  e50904482fc2f1fdc4633181e442fda2be9ad4a6 (commit)
      from  4db4a57c76bdf00ffa4ee97f9b1068995fd765e1 (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=e50904482fc2f1fdc4633181e442fda2be9ad4a6


commit e50904482fc2f1fdc4633181e442fda2be9ad4a6
Author: Rob Savoye <address@hidden>
Date:   Mon Dec 27 19:53:08 2010 -0700

    rename Renderer_ovg.* to be OpenVGRenderer to be more in the Gnash style

diff --git a/librender/Makefile.am b/librender/Makefile.am
index a6394bd..322c471 100644
--- a/librender/Makefile.am
+++ b/librender/Makefile.am
@@ -72,7 +72,7 @@ noinst_HEADERS = \
        opengles1/Renderer_gles1.h \
        opengles1/render_handler_gles.h \
        opengles2/Renderer_gles2.h \
-       openvg/Renderer_ovg.h \
+       openvg/OpenVGRenderer.h \
        openvg/OpenVGBitmap.h \
        openvg/OpenVGStyle.h \
        opengl/Renderer_ogl.h \
@@ -109,8 +109,8 @@ endif
 if  BUILD_OVG_RENDERER
 libgnashrender_la_CPPFLAGS += $(OPENVG_CFLAGS)
 libgnashrender_la_SOURCES += \
-       openvg/Renderer_ovg.cpp \
-       openvg/Renderer_ovg.h \
+       openvg/OpenVGRenderer.cpp \
+       openvg/OpenVGRenderer.h \
        openvg/OpenVGBitmap.h \
        openvg/OpenVGBitmap.cpp \
        openvg/OpenVGStyle.h
diff --git a/librender/openvg/OpenVGBitmap.cpp 
b/librender/openvg/OpenVGBitmap.cpp
index c94c778..524db20 100644
--- a/librender/openvg/OpenVGBitmap.cpp
+++ b/librender/openvg/OpenVGBitmap.cpp
@@ -19,7 +19,7 @@
 #include "CachedBitmap.h"
 #include "GnashImage.h"
 #include "Renderer.h"
-#include "openvg/Renderer_ovg.h"
+#include "openvg/OpenVGRenderer.h"
 #include "openvg/OpenVGBitmap.h"
 
 namespace gnash {
diff --git a/librender/openvg/OpenVGBitmap.h b/librender/openvg/OpenVGBitmap.h
index 2cbced2..14d27ce 100644
--- a/librender/openvg/OpenVGBitmap.h
+++ b/librender/openvg/OpenVGBitmap.h
@@ -22,7 +22,7 @@
 #include "CachedBitmap.h"
 #include "GnashImage.h"
 #include "Renderer.h"
-#include "openvg/Renderer_ovg.h"
+#include "openvg/OpenVGRenderer.h"
 
 namespace gnash {
 
diff --git a/librender/openvg/Renderer_ovg.cpp 
b/librender/openvg/OpenVGRenderer.cpp
similarity index 99%
rename from librender/openvg/Renderer_ovg.cpp
rename to librender/openvg/OpenVGRenderer.cpp
index ded38ae..1669d62 100644
--- a/librender/openvg/Renderer_ovg.cpp
+++ b/librender/openvg/OpenVGRenderer.cpp
@@ -43,7 +43,7 @@
 #include "utility.h"
 #include "Range2d.h"
 #include "SWFCxForm.h"
-#include "openvg/Renderer_ovg.h"
+#include "openvg/OpenVGRenderer.h"
 #include "openvg/OpenVGBitmap.h"
 #include "openvg/OpenVGStyle.h"
 #include "SWFMatrix.h"
@@ -715,6 +715,7 @@ Renderer_ovg::apply_fill_style(const FillStyle& style, 
const SWFMatrix& mat,
     GNASH_REPORT_FUNCTION;
 
     SWF::FillType fill_type = boost::apply_visitor(GetType(), style.fill);
+    log_debug("Fill type is: %d", fill_type);
     switch (fill_type) {
         
       case SWF::FILL_LINEAR_GRADIENT:
diff --git a/librender/openvg/Renderer_ovg.h b/librender/openvg/OpenVGRenderer.h
similarity index 100%
rename from librender/openvg/Renderer_ovg.h
rename to librender/openvg/OpenVGRenderer.h
diff --git a/librender/openvg/OpenVGStyle.h b/librender/openvg/OpenVGStyle.h
index ff43ee6..6d8fa48 100644
--- a/librender/openvg/OpenVGStyle.h
+++ b/librender/openvg/OpenVGStyle.h
@@ -18,14 +18,17 @@
 #ifndef GNASH_OPENVG_STYLE_H
 #define GNASH_OPENVG_STYLE_H
 
-#include "Geometry.h"
 #include "CachedBitmap.h"
 #include "GnashImage.h"
 #include "Renderer.h"
-#include "openvg/Renderer_ovg.h"
 
 namespace gnash {
 
+class SolidFill;
+class GradientFill;
+class BitmapFill;
+class rgba; 
+ 
 namespace renderer {
 
 namespace openvg {

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

Summary of changes:
 librender/Makefile.am                              |    6 +++---
 librender/openvg/OpenVGBitmap.cpp                  |    2 +-
 librender/openvg/OpenVGBitmap.h                    |    2 +-
 .../{Renderer_ovg.cpp => OpenVGRenderer.cpp}       |    3 ++-
 .../openvg/{Renderer_ovg.h => OpenVGRenderer.h}    |    0
 librender/openvg/OpenVGStyle.h                     |    7 +++++--
 6 files changed, 12 insertions(+), 8 deletions(-)
 rename librender/openvg/{Renderer_ovg.cpp => OpenVGRenderer.cpp} (99%)
 rename librender/openvg/{Renderer_ovg.h => OpenVGRenderer.h} (100%)


hooks/post-receive
-- 
Gnash



reply via email to

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