Author: Carlos Lopez <[email protected]>
Date:   Tue Nov 27 21:33:50 2012 +0100

Revert "Add a function to set the rending method (Software, OpenGL, or Cairo). 
Author Nikita Kitaev"

This reverts commit d93400389597975e7a04f6f73d1a22c44119ca44.

---

 synfig-core/src/synfig/target.cpp |    3 +--
 synfig-core/src/synfig/target.h   |   14 --------------
 2 files changed, 1 insertions(+), 16 deletions(-)

diff --git a/synfig-core/src/synfig/target.cpp 
b/synfig-core/src/synfig/target.cpp
index af3f28c..24c12a1 100644
--- a/synfig-core/src/synfig/target.cpp
+++ b/synfig-core/src/synfig/target.cpp
@@ -98,8 +98,7 @@ Target::Target():
        gamma_(*default_gamma_),
        remove_alpha(false),
        avoid_time_sync_(false),
-       curr_frame_(0),
-       render_method_(SOFTWARE)
+       curr_frame_(0)
 {
 }
 
diff --git a/synfig-core/src/synfig/target.h b/synfig-core/src/synfig/target.h
index b3c3fdb..ab61c79 100644
--- a/synfig-core/src/synfig/target.h
+++ b/synfig-core/src/synfig/target.h
@@ -80,13 +80,6 @@ class Canvas;
 class ProgressCallback;
 struct TargetParam;
 
-//! Available rendering methods
-enum RenderMethod {
-       SOFTWARE = 0x100,               //!< Software rendering
-       OPENGL,                         //!< OpenGL rendering (not supported)
-       CAIRO                           //!< Cairo rendering
-};
-
 /*!    \class Target
 **     \brief Used to produce rendered animations of the documents
 **
@@ -181,19 +174,12 @@ public:
        //! The current frame being rendered
        int curr_frame_;
 
-       //! Rendering method used by the Target to generate images from data
-       RenderMethod render_method_;
-
 protected:
        //! Default constructor
        Target();
 
 public:
        virtual ~Target() { }
-       //! Returns Target rendering method
-       RenderMethod get_render_method()const { return render_method_; }
-       //! Sets Target rendering method
-       void set_render_method(RenderMethod method) { render_method_ = method; }
        //! Gets the target quality
        int get_quality()const { return quality_; }
        //! Sets the target quality


------------------------------------------------------------------------------
Keep yourself connected to Go Parallel: 
VERIFY Test and improve your parallel project with help from experts 
and peers. http://goparallel.sourceforge.net
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to