[Top][All Lists]

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

[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-

From: Sandro Santilli
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-228-g97bdb47
Date: Sat, 09 Apr 2011 14:46:52 +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, master has been updated
       via  97bdb47556ac04463eecb64dc1a12cdc0fc1559d (commit)
       via  bb2ae092cffd5984992c6191cb205f638023a075 (commit)
      from  9ebb838ff18a926b21f4dcd36ddabaab637a37e4 (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 -----------------------------------------------------------------

commit 97bdb47556ac04463eecb64dc1a12cdc0fc1559d
Author: Sandro Santilli <address@hidden>
Date:   Sat Apr 9 16:46:19 2011 +0200

    Drop unused class members

diff --git a/librender/agg/Renderer_agg.cpp b/librender/agg/Renderer_agg.cpp
index ad424ee..aaef61a 100644
--- a/librender/agg/Renderer_agg.cpp
+++ b/librender/agg/Renderer_agg.cpp
@@ -798,8 +798,6 @@ public:
-      m_display_width(0.0),
-      m_display_height(0.0),
     // TODO: we really don't want to set the scale here as the core should
@@ -2050,10 +2048,6 @@ private:  // private variables
     gnash::SWFMatrix stage_matrix;  // conversion from TWIPS to pixels
     bool scale_set;
-    // Output size.
-    float m_display_width;
-    float m_display_height;
     agg::rendering_buffer m_rbuf;  
     std::auto_ptr<PixelFormat> m_pixf;

commit bb2ae092cffd5984992c6191cb205f638023a075
Author: Sandro Santilli <address@hidden>
Date:   Sat Apr 9 16:04:11 2011 +0200

    Comments cleanup

diff --git a/librender/Renderer.h b/librender/Renderer.h
index 4614451..37975a4 100644
--- a/librender/Renderer.h
+++ b/librender/Renderer.h
@@ -106,8 +106,7 @@
 /// 1st, it allows a renderer/gui combination to avoid re-rendering of
 /// unchanged parts in the scene. When supported by the rendering engine
 /// this can be a huge performance gain. The original Flash player does
-/// that too, btw. Altough he is able to define multiple smaller regions
-/// for one frame. This could be implemented in Gnash, too.
+/// that too, btw. 
 /// 2nd, it can detect still frames (like a stopped movie). gui.cpp can
 /// detect these and completely avoid calling any rendering function.
@@ -124,7 +123,8 @@
 /// off easily in gui.cpp (maybe using a runtime option?).
 /// Note the updated region is only passed to the gnash::Gui, which is itself 
-/// responsible of informing the renderer (see 
+/// responsible of informing the renderer
+/// (see gnash::Gui::set_invalidated_region).
 /// This is because it's pointless
 /// to have a renderer which updates only a small part of the stage when
 /// the GUI shows it all since the area around the region is undefined.
@@ -132,7 +132,7 @@
 /// the renderer to do so (for example, to save time during blitting).
 /// The GUI can also completely ignore the region information. 
-/// It's also importanto to note that the bounds passed to the GUI are just
+/// It's also important to note that the bounds passed to the GUI are just
 /// a hint and the GUI /is/ allowed to further process and alter the 
 /// in any way.


Summary of changes:
 librender/Renderer.h           |    8 ++++----
 librender/agg/Renderer_agg.cpp |    6 ------
 2 files changed, 4 insertions(+), 10 deletions(-)


reply via email to

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