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. 444ed1f8354d78679e9e


From: Benjamin Wolsey
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. 444ed1f8354d78679e9e0d6546f6e4871db3d3d2
Date: Thu, 16 Sep 2010 08:46:36 +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  444ed1f8354d78679e9e0d6546f6e4871db3d3d2 (commit)
       via  d434a9f301392f86862691fcd6205974f2d4640a (commit)
      from  506f951aa1c79483ccaba7c84b0c69be7feba526 (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=444ed1f8354d78679e9e0d6546f6e4871db3d3d2


commit 444ed1f8354d78679e9e0d6546f6e4871db3d3d2
Author: Benjamin Wolsey <address@hidden>
Date:   Thu Sep 16 10:08:56 2010 +0200

    Fix visibility.

diff --git a/libbase/GnashImage.h b/libbase/GnashImage.h
index bccc724..6b19c60 100644
--- a/libbase/GnashImage.h
+++ b/libbase/GnashImage.h
@@ -407,7 +407,7 @@ scanline(const GnashImage& im, size_t row)
     return im.begin() + im.stride() * row;
 }
 
-void mergeAlpha(ImageRGBA& im, GnashImage::const_iterator alphaData,
+DSOEXPORT void mergeAlpha(ImageRGBA& im, GnashImage::const_iterator alphaData,
         const size_t bufferLength);
 
 } // namespace image
diff --git a/libbase/GnashVaapiImage.h b/libbase/GnashVaapiImage.h
index ae65b84..88e97d5 100644
--- a/libbase/GnashVaapiImage.h
+++ b/libbase/GnashVaapiImage.h
@@ -20,9 +20,11 @@
 #ifndef GNASH_GNASHVAAPIIMAGE_H
 #define GNASH_GNASHVAAPIIMAGE_H
 
-#include "GnashImage.h"
 #include <boost/shared_ptr.hpp>
 
+#include "GnashImage.h"
+#include "dsodefs.h"
+
 namespace gnash {
 
 // Forward declarations
diff --git a/libcore/RGBA.h b/libcore/RGBA.h
index bc41576..e752907 100644
--- a/libcore/RGBA.h
+++ b/libcore/RGBA.h
@@ -21,18 +21,19 @@
 #ifndef GNASH_RGBA_H
 #define GNASH_RGBA_H
 
-#include "SWF.h"
-
 #include <string>
 #include <boost/cstdint.hpp> 
 
+#include "dsodefs.h"
+#include "SWF.h"
+
 namespace gnash {
 
 /// A basic RGBA type
 //
 /// This both represents a SWF RGBA record and is a basic Gnash type for
 /// color values.
-class rgba
+class DSOEXPORT rgba
 {
 public:
 
diff --git a/libvaapi/VaapiImage.h b/libvaapi/VaapiImage.h
index 06042c3..0393e69 100644
--- a/libvaapi/VaapiImage.h
+++ b/libvaapi/VaapiImage.h
@@ -20,11 +20,13 @@
 #ifndef GNASH_VAAPIIMAGE_H
 #define GNASH_VAAPIIMAGE_H
 
-#include "vaapi_common.h"
-#include "VaapiImageFormat.h"
 #include <boost/scoped_array.hpp>
 #include <memory>
 
+#include "dsodefs.h"
+#include "vaapi_common.h"
+#include "VaapiImageFormat.h"
+
 // Forward declarations
 struct SwsContext;
 
@@ -36,7 +38,8 @@ class VAImageWrapper;
 class SwsContextWrapper;
 
 /// VA image abstraction
-class VaapiImage {
+class DSOEXPORT VaapiImage
+{
     VaapiImageFormat    _format;
     VAImage             _image;
     boost::uint8_t *    _image_data;
diff --git a/libvaapi/VaapiImageFormat.h b/libvaapi/VaapiImageFormat.h
index 8dfecbe..ae76390 100644
--- a/libvaapi/VaapiImageFormat.h
+++ b/libvaapi/VaapiImageFormat.h
@@ -20,6 +20,7 @@
 #ifndef GNASH_VAAPIIMAGEFORMAT_H
 #define GNASH_VAAPIIMAGEFORMAT_H
 
+#include "dsodefs.h"
 #include "vaapi_common.h"
 
 /// Color spaces
@@ -54,7 +55,8 @@ enum VaapiImageFormat {
 };
 
 /// Get colorspace for the specified image format
-VaapiColorspace vaapi_image_format_get_colorspace(VaapiImageFormat format);
+VaapiColorspace DSOEXPORT
+vaapi_image_format_get_colorspace(VaapiImageFormat format);
 
 /// Check whether image format is RGB
 static inline bool vaapi_image_format_is_rgb(VaapiImageFormat format)
diff --git a/libvaapi/VaapiSubpicture.h b/libvaapi/VaapiSubpicture.h
index 97647ad..ea99ea0 100644
--- a/libvaapi/VaapiSubpicture.h
+++ b/libvaapi/VaapiSubpicture.h
@@ -20,9 +20,11 @@
 #ifndef GNASH_VAAPISUBPICTURE_H
 #define GNASH_VAAPISUBPICTURE_H
 
+#include <vector>
+
 #include "vaapi_common.h"
 #include "VaapiImageFormat.h"
-#include <vector>
+#include "dsodefs.h"
 
 namespace gnash {
 
@@ -30,7 +32,8 @@ namespace gnash {
 class VaapiImage;
 
 /// VA subpicture abstraction
-class VaapiSubpicture {
+class DSOEXPORT VaapiSubpicture
+{
     boost::shared_ptr<VaapiImage>       _image;
     VASubpictureID                      _subpicture;
 
diff --git a/libvaapi/VaapiSurface.h b/libvaapi/VaapiSurface.h
index 6ec6292..7d5ba48 100644
--- a/libvaapi/VaapiSurface.h
+++ b/libvaapi/VaapiSurface.h
@@ -20,9 +20,11 @@
 #ifndef GNASH_VAAPISURFACE_H
 #define GNASH_VAAPISURFACE_H
 
-#include "vaapi_common.h"
 #include <vector>
 
+#include "vaapi_common.h"
+#include "dsodefs.h"
+
 namespace gnash {
 
 // Forward declarations
@@ -62,7 +64,8 @@ public:
 };
 
 /// VA surface abstraction
-class VaapiSurface {
+class DSOEXPORT VaapiSurface
+{
     std::auto_ptr<VaapiSurfaceImplBase> _impl;
     std::vector< boost::shared_ptr<VaapiSubpicture> > _subpictures;
 
diff --git a/libvaapi/VaapiSurfaceGLX.h b/libvaapi/VaapiSurfaceGLX.h
index b366ae5..7ed7770 100644
--- a/libvaapi/VaapiSurfaceGLX.h
+++ b/libvaapi/VaapiSurfaceGLX.h
@@ -20,14 +20,17 @@
 #ifndef GNASH_VAAPISURFACEGLX_H
 #define GNASH_VAAPISURFACEGLX_H
 
+#include <GL/gl.h>
+
+#include "dsodefs.h"
 #include "vaapi_common.h"
 #include "VaapiSurface.h"
-#include <GL/gl.h>
 
 namespace gnash {
 
 /// VA/GLX surface abstraction
-class VaapiSurfaceGLX {
+class DSOEXPORT VaapiSurfaceGLX 
+{
     std::auto_ptr<VaapiSurfaceImplBase> _impl;
 
 public:
diff --git a/libvaapi/vaapi_utils.h b/libvaapi/vaapi_utils.h
index 1ffbb4b..0f84087 100644
--- a/libvaapi/vaapi_utils.h
+++ b/libvaapi/vaapi_utils.h
@@ -37,13 +37,13 @@ void DSOEXPORT vaapi_dprintf(const char *format, ...);
 bool DSOEXPORT vaapi_check_status(VAStatus status, const char *msg);
 
 /// Return a string representation of a FOURCC
-const char *string_of_FOURCC(boost::uint32_t fourcc);
+DSOEXPORT const char* string_of_FOURCC(boost::uint32_t fourcc);
 
 /// Return a string representation of a VAProfile
-const char *string_of_VAProfile(VAProfile profile);
+DSOEXPORT const char* string_of_VAProfile(VAProfile profile);
 
 /// Return a string representation of a VAEntrypoint
-const char *string_of_VAEntrypoint(VAEntrypoint entrypoint);
+DSOEXPORT const char* string_of_VAEntrypoint(VAEntrypoint entrypoint);
 
 } // gnash namespace
 

http://git.savannah.gnu.org/cgit//commit/?id=d434a9f301392f86862691fcd6205974f2d4640a


commit d434a9f301392f86862691fcd6205974f2d4640a
Author: Benjamin Wolsey <address@hidden>
Date:   Thu Sep 16 10:08:19 2010 +0200

    Spacing.

diff --git a/libcore/asobj/XMLNode_as.cpp b/libcore/asobj/XMLNode_as.cpp
index 8563adb..390e736 100644
--- a/libcore/asobj/XMLNode_as.cpp
+++ b/libcore/asobj/XMLNode_as.cpp
@@ -474,6 +474,7 @@ XMLNode_as::setReachable()
     if (_object) _object->setReachable();
 
     if (_childNodes) _childNodes->setReachable();
+
 }
 
 void
@@ -970,7 +971,7 @@ xmlnode_parentNode(const fn_call& fn)
     rv.set_null();
 
     XMLNode_as* ptr = ensure<ThisIsNative<XMLNode_as> >(fn);
-    XMLNode_as *node = ptr->getParent();
+    XMLNode_as* node = ptr->getParent();
     if (node) {
         rv = node->object();
     }

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

Summary of changes:
 libbase/GnashImage.h         |    2 +-
 libbase/GnashVaapiImage.h    |    4 +++-
 libcore/RGBA.h               |    7 ++++---
 libcore/asobj/XMLNode_as.cpp |    3 ++-
 libvaapi/VaapiImage.h        |    9 ++++++---
 libvaapi/VaapiImageFormat.h  |    4 +++-
 libvaapi/VaapiSubpicture.h   |    7 +++++--
 libvaapi/VaapiSurface.h      |    7 +++++--
 libvaapi/VaapiSurfaceGLX.h   |    7 +++++--
 libvaapi/vaapi_utils.h       |    6 +++---
 10 files changed, 37 insertions(+), 19 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

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