gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] [SCM] Gnash branch, master, updated. 2c748f4e461858dbafaf


From: Benjamin Wolsey
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. 2c748f4e461858dbafaf253191c196de9661630e
Date: Mon, 30 Aug 2010 09:42:57 +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  2c748f4e461858dbafaf253191c196de9661630e (commit)
      from  1a914f9298d9a942b2dd80cf088ba6754244137c (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=2c748f4e461858dbafaf253191c196de9661630e


commit 2c748f4e461858dbafaf253191c196de9661630e
Author: Benjamin Wolsey <address@hidden>
Date:   Mon Aug 30 11:05:29 2010 +0200

    Indentation.

diff --git a/librender/Renderer_agg.cpp b/librender/Renderer_agg.cpp
index ba6161a..8ec5120 100644
--- a/librender/Renderer_agg.cpp
+++ b/librender/Renderer_agg.cpp
@@ -883,32 +883,32 @@ public:
     m_drawing_mask = false;
   }
   
-  virtual Renderer* startInternalRender(GnashImage& im) {
-
-      std::auto_ptr<Renderer_agg_base> in;
-
-      switch (im.type()) {
-          case GNASH_IMAGE_RGB:
+ 
+    virtual Renderer* startInternalRender(GnashImage& im) {
+    
+        std::auto_ptr<Renderer_agg_base> in;
+    
+        switch (im.type()) {
+            case GNASH_IMAGE_RGB:
                 in.reset(new Renderer_agg<typename RGB::PixelFormat>(24));
-              break;
-          case GNASH_IMAGE_RGBA:
+                break;
+            case GNASH_IMAGE_RGBA:
                 in.reset(new Renderer_agg<typename RGBA::PixelFormat>(32));
-              break;
-      }
+                break;
+        }
  
-      const size_t width = im.width();
-      const size_t height = im.height();
-      const size_t stride = width * (im.type() == GNASH_IMAGE_RGBA ? 4 : 3);
-
-      in->init_buffer(im.begin(), width * height, width, height, stride);
+        const size_t width = im.width();
+        const size_t height = im.height();
+        const size_t stride = width * (im.type() == GNASH_IMAGE_RGBA ? 4 : 3);
 
-      _external.reset(in.release());
-      return _external.get();
-  }
+        in->init_buffer(im.begin(), width * height, width, height, stride);
+        _external.reset(in.release());
+        return _external.get();
+    }
 
-  virtual void endInternalRender() {
-      _external.reset();
-  }
+    virtual void endInternalRender() {
+        _external.reset();
+    }
 
     // renderer_base.clear() does no clipping which clears the
     // whole framebuffer even if we update just a small portion

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

Summary of changes:
 librender/Renderer_agg.cpp |   42 +++++++++++++++++++++---------------------
 1 files changed, 21 insertions(+), 21 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

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