[Tizen] Revert "Remove StereoMode" submit/tizen/20181129.080751
authorJoogab Yun <joogab.yun@samsung.com>
Thu, 29 Nov 2018 08:04:25 +0000 (17:04 +0900)
committerJoogab Yun <joogab.yun@samsung.com>
Thu, 29 Nov 2018 08:04:30 +0000 (17:04 +0900)
This reverts commit a38310eae5990fae285513f81a552c6e3e6cb7b5.

Change-Id: Ieb50478f886d85157b1314687b48f9fef8ace116

24 files changed:
automated-tests/src/dali-adaptor/utc-Dali-Application.cpp
dali/integration-api/adaptor.h
dali/integration-api/render-surface.h
dali/internal/adaptor/common/adaptor-impl.cpp
dali/internal/adaptor/common/adaptor-impl.h
dali/internal/adaptor/common/adaptor.cpp
dali/internal/adaptor/common/application-impl.cpp
dali/internal/adaptor/common/application-impl.h
dali/internal/system/common/command-line-options.cpp
dali/internal/system/common/command-line-options.h
dali/internal/window-system/common/window-base.h
dali/internal/window-system/common/window-render-surface.cpp
dali/internal/window-system/common/window-render-surface.h
dali/internal/window-system/tizen-wayland/ecore-wl/window-base-ecore-wl.cpp
dali/internal/window-system/tizen-wayland/ecore-wl/window-base-ecore-wl.h
dali/internal/window-system/tizen-wayland/ecore-wl2/window-base-ecore-wl2.cpp
dali/internal/window-system/tizen-wayland/ecore-wl2/window-base-ecore-wl2.h
dali/internal/window-system/tizen-wayland/native-render-surface-ecore-wl.cpp
dali/internal/window-system/tizen-wayland/native-render-surface-ecore-wl.h
dali/internal/window-system/ubuntu-x11/pixmap-render-surface-ecore-x.h
dali/internal/window-system/ubuntu-x11/window-base-ecore-x.cpp
dali/internal/window-system/ubuntu-x11/window-base-ecore-x.h
dali/public-api/adaptor-framework/application.cpp
dali/public-api/adaptor-framework/application.h

index 75175ff..a237f50 100644 (file)
@@ -265,6 +265,74 @@ int UtcDaliApplicationReplaceWindowN(void)
   END_TEST;
 }
 
+int UtcDaliApplicationSetViewModeN(void)
+{
+  Application application;
+
+  try
+  {
+    application.SetViewMode( STEREO_VERTICAL );
+    DALI_TEST_CHECK( false ); // Should not get here
+  }
+  catch( ... )
+  {
+    DALI_TEST_CHECK( true );
+  }
+
+  END_TEST;
+}
+
+int UtcDaliApplicationGetViewModeN(void)
+{
+  Application application;
+
+  try
+  {
+    (void) application.GetViewMode();
+    DALI_TEST_CHECK( false ); // Should not get here
+  }
+  catch( ... )
+  {
+    DALI_TEST_CHECK( true );
+  }
+
+  END_TEST;
+}
+
+int UtcDaliApplicationSetStereoBaseN(void)
+{
+  Application application;
+
+  try
+  {
+    application.SetStereoBase( 1.0f );
+    DALI_TEST_CHECK( false ); // Should not get here
+  }
+  catch( ... )
+  {
+    DALI_TEST_CHECK( true );
+  }
+
+  END_TEST;
+}
+
+int UtcDaliApplicationGetStereoBaseN(void)
+{
+  Application application;
+
+  try
+  {
+    (void) application.GetStereoBase();
+    DALI_TEST_CHECK( false ); // Should not get here
+  }
+  catch( ... )
+  {
+    DALI_TEST_CHECK( true );
+  }
+
+  END_TEST;
+}
+
 int UtcDaliApplicationInitSignalP(void)
 {
   Application application = Application::New();
index 3b996b8..f7a47ea 100755 (executable)
@@ -359,6 +359,16 @@ public:
   void SceneCreated();
 
   /**
+   * @copydoc Dali::Application::SetViewMode();
+   */
+  void SetViewMode( ViewMode viewMode );
+
+  /**
+   * @copydoc Dali::Application::SetStereoBase();
+   */
+  void SetStereoBase( float stereoBase );
+
+  /**
    * @brief Renders once more even if we're paused
    * @note Will not work if the window is hidden.
    */
index edb9022..e9e8921 100644 (file)
@@ -136,6 +136,12 @@ public:
   virtual void MoveResize( Dali::PositionSize positionSize ) = 0;
 
   /**
+   * @brief Set the stereoscopic 3D view mode
+   * @param[in] viewMode The new view mode
+   */
+  virtual void SetViewMode( ViewMode viewMode ) = 0;
+
+  /**
    * @brief Called when Render thread has started
    */
   virtual void StartRender() = 0;
index d046790..2cf55c1 100755 (executable)
@@ -1007,6 +1007,31 @@ Adaptor::Adaptor(Any nativeWindow, Dali::Adaptor& adaptor, RenderSurface* surfac
   gThreadLocalAdaptor = this;
 }
 
+// Stereoscopy
+
+void Adaptor::SetViewMode( ViewMode viewMode )
+{
+  WindowPane defaultWindow = mWindowFrame.front();
+  defaultWindow.surface->SetViewMode( viewMode );
+
+  mCore->SetViewMode( viewMode );
+}
+
+ViewMode Adaptor::GetViewMode() const
+{
+  return mCore->GetViewMode();
+}
+
+void Adaptor::SetStereoBase( float stereoBase )
+{
+  mCore->SetStereoBase( stereoBase );
+}
+
+float Adaptor::GetStereoBase() const
+{
+  return mCore->GetStereoBase();
+}
+
 void Adaptor::SetRootLayoutDirection( std::string locale )
 {
   Dali::Stage stage = Dali::Stage::GetCurrent();
index d014622..26c3bb7 100755 (executable)
@@ -481,6 +481,28 @@ public:  //AdaptorInternalServices
    */
   virtual TraceInterface& GetSystemTraceInterface();
 
+public: // Stereoscopy
+
+  /**
+   * @copydoc Dali::Integration::Core::SetViewMode()
+   */
+  void SetViewMode( ViewMode viewMode );
+
+  /**
+   * @copydoc Dali::Integration::Core::GetViewMode()
+   */
+  ViewMode GetViewMode() const;
+
+  /**
+   * @copydoc Dali::Integration::Core::SetStereoBase()
+   */
+  void SetStereoBase( float stereoBase );
+
+  /**
+   * @copydoc Dali::Integration::Core::GetStereoBase()
+   */
+  float GetStereoBase() const;
+
 public: // Signals
 
   /**
index a0747df..be113a7 100755 (executable)
@@ -183,6 +183,16 @@ void Adaptor::SceneCreated()
   mImpl->SceneCreated();
 }
 
+void Adaptor::SetViewMode( ViewMode mode )
+{
+  mImpl->SetViewMode( mode );
+}
+
+void Adaptor::SetStereoBase(  float stereoBase )
+{
+  mImpl->SetStereoBase( stereoBase );
+}
+
 void Adaptor::RenderOnce()
 {
   mImpl->RenderOnce();
index fe29875..47c42d5 100644 (file)
@@ -226,6 +226,17 @@ void Application::DoInit()
     mAdaptor->SetUseHardwareVSync(false);
   }
 
+  Internal::Adaptor::Adaptor::GetImplementation( *mAdaptor ).SetStereoBase( mCommandLineOptions->stereoBase );
+  if( mCommandLineOptions->viewMode != 0 )
+  {
+    ViewMode viewMode = MONO;
+    if( mCommandLineOptions->viewMode <= STEREO_INTERLACED )
+    {
+      viewMode = static_cast<ViewMode>( mCommandLineOptions->viewMode );
+    }
+    Internal::Adaptor::Adaptor::GetImplementation( *mAdaptor ).SetViewMode( viewMode );
+  }
+
   if( ! mStylesheet.empty() )
   {
     Dali::StyleMonitor::Get().SetTheme( mStylesheet );
@@ -396,6 +407,28 @@ Dali::Window Application::GetWindow()
   return mMainWindow;
 }
 
+// Stereoscopy
+
+void Application::SetViewMode( ViewMode viewMode )
+{
+  Internal::Adaptor::Adaptor::GetImplementation( *mAdaptor ).SetViewMode( viewMode );
+}
+
+ViewMode Application::GetViewMode() const
+{
+  return Internal::Adaptor::Adaptor::GetImplementation( *mAdaptor ).GetViewMode();
+}
+
+void Application::SetStereoBase( float stereoBase )
+{
+  Internal::Adaptor::Adaptor::GetImplementation( *mAdaptor ).SetStereoBase( stereoBase );
+}
+
+float Application::GetStereoBase() const
+{
+  return Internal::Adaptor::Adaptor::GetImplementation( *mAdaptor ).GetStereoBase();
+}
+
 void Application::ReplaceWindow( const PositionSize& positionSize, const std::string& name )
 {
   Dali::Window newWindow = Dali::Window::New( positionSize, name, mMainWindowMode == Dali::Application::TRANSPARENT );
index d8d1fce..e906520 100644 (file)
@@ -154,6 +154,28 @@ public:
    */
   static ApplicationPtr GetPreInitializedApplication();
 
+public: // Stereoscopy
+
+  /**
+   * @copydoc Dali::Application::SetViewMode()
+   */
+  void SetViewMode( ViewMode viewMode );
+
+  /**
+   * @copydoc Dali::Application::GetViewMode()
+   */
+  ViewMode GetViewMode() const;
+
+  /**
+   * @copydoc Dali::Application::SetStereoBase()
+   */
+  void SetStereoBase( float stereoBase );
+
+  /**
+   * @copydoc Dali::Application::GetStereoBase()
+   */
+  float GetStereoBase() const;
+
 public: // Lifecycle functionality
 
   /**
index 806e787..8ea2f8a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2018 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2014 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -60,6 +60,8 @@ Argument EXPECTED_ARGS[] =
   { "width",       "Stage Width"             },
   { "height",      "Stage Height"            },
   { "dpi",         "Emulated DPI"            },
+  { "view",        "Stereocopic 3D view mode ([0]=MONO, 1=STEREO_HORIZONTAL, 2=STEREO_VERTICAL, 3=STEREO_INTERLACED)" },
+  { "stereo-base", "Distance in millimeters between left/right cameras [65.0]" },
   { "help",        "Help"                    },
   { NULL,          NULL                      }
 };
@@ -70,10 +72,12 @@ enum Option
   OPTION_STAGE_WIDTH,
   OPTION_STAGE_HEIGHT,
   OPTION_DPI,
+  OPTION_STEREO_MODE,
+  OPTION_STEREO_BASE,
   OPTION_HELP
 };
 
-typedef Dali::Vector< int32_t > UnhandledContainer;
+typedef Dali::Vector< int > UnhandledContainer;
 
 void ShowHelp()
 {
@@ -88,9 +92,11 @@ void ShowHelp()
 
 } // unnamed namespace
 
-CommandLineOptions::CommandLineOptions(int32_t *argc, char **argv[])
+CommandLineOptions::CommandLineOptions(int *argc, char **argv[])
 : noVSyncOnRender(0),
-  stageWidth(0), stageHeight(0)
+  stageWidth(0), stageHeight(0),
+  viewMode(0),
+  stereoBase(65)
 {
   // Exit gracefully if no arguments provided
   if ( !argc || !argv )
@@ -101,10 +107,10 @@ CommandLineOptions::CommandLineOptions(int32_t *argc, char **argv[])
   if ( *argc > 1 )
   {
     // We do not want to print out errors.
-    int32_t origOptErrValue( opterr );
+    int origOptErrValue( opterr );
     opterr = 0;
 
-    int32_t help( 0 );
+    int help( 0 );
 
     const struct option options[]=
     {
@@ -112,14 +118,16 @@ CommandLineOptions::CommandLineOptions(int32_t *argc, char **argv[])
       { EXPECTED_ARGS[OPTION_STAGE_WIDTH].opt,  required_argument, NULL,             'w' },  // "--width"
       { EXPECTED_ARGS[OPTION_STAGE_HEIGHT].opt, required_argument, NULL,             'h' },  // "--height"
       { EXPECTED_ARGS[OPTION_DPI].opt,          required_argument, NULL,             'd' },  // "--dpi"
+      { EXPECTED_ARGS[OPTION_STEREO_MODE].opt,  required_argument, NULL,             'v' },  // "--view"
+      { EXPECTED_ARGS[OPTION_STEREO_BASE].opt,  required_argument, NULL,             's' },  // "--stereo-base"
       { EXPECTED_ARGS[OPTION_HELP].opt,         no_argument,       &help,            '?' },  // "--help"
       { 0, 0, 0, 0 } // end of options
     };
 
-    int32_t shortOption( 0 );
-    int32_t optionIndex( 0 );
+    int shortOption( 0 );
+    int optionIndex( 0 );
 
-    const char* optString = "-w:h:d:"; // The '-' ensures that argv is NOT permuted
+    const char* optString = "-w:h:d:v:s:"; // The '-' ensures that argv is NOT permuted
     bool optionProcessed( false );
 
     UnhandledContainer unhandledOptions; // We store indices of options we do not handle here
@@ -171,6 +179,26 @@ CommandLineOptions::CommandLineOptions(int32_t *argc, char **argv[])
           break;
         }
 
+        case 'v':
+        {
+          if ( optarg )
+          {
+            viewMode = atoi(optarg);
+            optionProcessed = true;
+          }
+          break;
+        }
+
+        case 's':
+        {
+          if ( optarg )
+          {
+            stereoBase = atoi(optarg);
+            optionProcessed = true;
+          }
+          break;
+        }
+
         case -1:
         {
           // All command-line options have been parsed.
@@ -190,7 +218,7 @@ CommandLineOptions::CommandLineOptions(int32_t *argc, char **argv[])
     {
       if ( unhandledOptions.Count() > 0 )
       {
-        int32_t index( 1 );
+        int index( 1 );
 
         // Overwrite the argv with the values from the unhandled indices
         const UnhandledContainer::ConstIterator endIter = unhandledOptions.End();
index 75fab25..d87781e 100644 (file)
@@ -2,7 +2,7 @@
 #define __DALI_INTERNAL_COMMAND_LINE_OPTIONS_H__
 
 /*
- * Copyright (c) 2018 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2014 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -20,7 +20,6 @@
 
 // EXTERNAL INCLUDES
 #include <string>
-#include <cstdint> // int32_t
 
 namespace Dali
 {
@@ -42,6 +41,8 @@ namespace Adaptor
  *  -w|--width          Stage Width
  *  -h|--height         Stage Height
  *  -d|--dpi            Emulated DPI
+ *  -v|--view           Viewing mode
+ *  -s|--stereo-base    Eye separation for stereoscopic rendering (in mm)
  *     --help           Help
  * @endcode
  *
@@ -57,7 +58,7 @@ public:
    * @param[in,out]  argv  The argument list
    * @note Supported options are stripped from argv, and argc is updated appropriately.
    */
-  CommandLineOptions( int32_t *argc, char **argv[] );
+  CommandLineOptions(int *argc, char **argv[]);
 
   /**
    * Destructor
@@ -66,10 +67,12 @@ public:
 
 public: // Command line parsed values
 
-  int32_t noVSyncOnRender; ///< If 1, then the user does not want VSync on Render
-  int32_t stageWidth;      ///< The width of the stage required.  0 if not set.
-  int32_t stageHeight;     ///< The height of the stage required.   0 if not set.
-  std::string stageDPI;    ///< DPI stored as hxv, where h is horizontal DPI and v is vertical DPI
+  int noVSyncOnRender;  ///< If 1, then the user does not want VSync on Render
+  int stageWidth;       ///< The width of the stage required.  0 if not set.
+  int stageHeight;      ///< The height of the stage required.   0 if not set.
+  int viewMode;         ///< Stereocopic 3D view mode (0=MONO, 1=STEREO_HORIZONTAL, 2=STEREO_VERTICAL, 3=STEREO_INTERLACED)
+  int stereoBase;       ///< The distance in millimeters between left/right cameras
+  std::string stageDPI; ///< DPI stored as hxv, where h is horizontal DPI and v is vertical DPI
 };
 
 } // namespace Adaptor
index b2b1af5..91a958c 100644 (file)
@@ -327,6 +327,12 @@ public:
   virtual void GetDpi( unsigned int& dpiHorizontal, unsigned int& dpiVertical ) = 0;
 
   /**
+   * @brief Set the stereoscopic 3D view mode
+   * @param[in] viewMode The new view mode
+   */
+  virtual void SetViewMode( ViewMode viewMode ) = 0;
+
+  /**
    * @brief Get the screen rotation angle of the window
    */
   virtual int GetScreenRotationAngle() = 0;
index cac09c5..9e067ed 100644 (file)
@@ -320,6 +320,11 @@ void WindowRenderSurface::MoveResize( Dali::PositionSize positionSize )
   DALI_LOG_INFO( gWindowRenderSurfaceLogFilter, Debug::Verbose, "WindowRenderSurface::MoveResize: %d, %d, %d, %d\n", mPositionSize.x, mPositionSize.y, mPositionSize.width, mPositionSize.height );
 }
 
+void WindowRenderSurface::SetViewMode( ViewMode viewMode )
+{
+  mWindowBase->SetViewMode( viewMode );
+}
+
 void WindowRenderSurface::StartRender()
 {
 }
index a1ba715..6f93259 100644 (file)
@@ -149,6 +149,11 @@ public: // from Dali::RenderSurface
   virtual void MoveResize( Dali::PositionSize positionSize) override;
 
   /**
+   * @copydoc Dali::RenderSurface::SetViewMode()
+   */
+  virtual void SetViewMode( ViewMode viewMode ) override;
+
+  /**
    * @copydoc Dali::RenderSurface::StartRender()
    */
   virtual void StartRender() override;
index c4574fd..6af5474 100644 (file)
@@ -2139,6 +2139,10 @@ void WindowBaseEcoreWl::GetDpi( unsigned int& dpiHorizontal, unsigned int& dpiVe
   dpiVertical   = int( yres + 0.5f );
 }
 
+void WindowBaseEcoreWl::SetViewMode( ViewMode viewMode )
+{
+}
+
 int WindowBaseEcoreWl::GetScreenRotationAngle()
 {
   int transform = 0;
index 210d1aa..da8e8b3 100644 (file)
@@ -415,6 +415,11 @@ public:
   virtual void GetDpi( unsigned int& dpiHorizontal, unsigned int& dpiVertical ) override;
 
   /**
+   * @copydoc Dali::Internal::Adaptor::WindowBase::SetViewMode()
+   */
+  virtual void SetViewMode( ViewMode viewMode ) override;
+
+  /**
    * @copydoc Dali::Internal::Adaptor::WindowBase::GetScreenRotationAngle()
    */
   virtual int GetScreenRotationAngle() override;
index 5ae9032..c95ba10 100755 (executable)
@@ -2157,6 +2157,10 @@ void WindowBaseEcoreWl2::GetDpi( unsigned int& dpiHorizontal, unsigned int& dpiV
   dpiVertical   = int( yres + 0.5f );
 }
 
+void WindowBaseEcoreWl2::SetViewMode( ViewMode viewMode )
+{
+}
+
 int WindowBaseEcoreWl2::GetScreenRotationAngle()
 {
   int transform = 0;
index 808c4f0..ae00a8c 100644 (file)
@@ -415,6 +415,11 @@ public:
   virtual void GetDpi( unsigned int& dpiHorizontal, unsigned int& dpiVertical ) override;
 
   /**
+   * @copydoc Dali::Internal::Adaptor::WindowBase::SetViewMode()
+   */
+  virtual void SetViewMode( ViewMode viewMode ) override;
+
+  /**
    * @copydoc Dali::Internal::Adaptor::WindowBase::GetScreenRotationAngle()
    */
   virtual int GetScreenRotationAngle() override;
index e019b0a..07cb864 100644 (file)
@@ -198,6 +198,10 @@ void NativeRenderSurfaceEcoreWl::MoveResize( Dali::PositionSize positionSize )
 {
 }
 
+void NativeRenderSurfaceEcoreWl::SetViewMode( ViewMode viewMode )
+{
+}
+
 void NativeRenderSurfaceEcoreWl::StartRender()
 {
 }
index 1199b3e..6978b0f 100644 (file)
@@ -107,6 +107,11 @@ public: // from Dali::RenderSurface
   virtual void MoveResize( Dali::PositionSize positionSize) override;
 
   /**
+   * @copydoc Dali::RenderSurface::SetViewMode()
+   */
+  virtual void SetViewMode( ViewMode viewMode ) override;
+
+  /**
    * @copydoc Dali::RenderSurface::StartRender()
    */
   virtual void StartRender() override;
index 873e7f4..48868cc 100644 (file)
@@ -108,6 +108,11 @@ public: // from Dali::RenderSurface
   virtual void MoveResize( Dali::PositionSize positionSize) override {}
 
   /**
+   * @copydoc Dali::RenderSurface::SetViewMode()
+   */
+  void SetViewMode( ViewMode viewMode ) override {}
+
+  /**
    * @copydoc Dali::RenderSurface::StartRender()
    */
   virtual void StartRender() override;
index 4ff9d56..639a334 100755 (executable)
@@ -866,6 +866,17 @@ void WindowBaseEcoreX::GetDpi( unsigned int& dpiHorizontal, unsigned int& dpiVer
   dpiVertical   = int( yres + 0.5f );
 }
 
+void WindowBaseEcoreX::SetViewMode( ViewMode viewMode )
+{
+  Ecore_X_Atom viewModeAtom( ecore_x_atom_get( "_E_COMP_3D_APP_WIN" ) );
+
+  if( viewModeAtom != None )
+  {
+    unsigned int value( static_cast< unsigned int >( viewMode ) );
+    ecore_x_window_prop_card32_set( mEcoreWindow, viewModeAtom, &value, 1 );
+  }
+}
+
 int WindowBaseEcoreX::GetScreenRotationAngle()
 {
   return 0;
index 6cb0513..2873bbc 100644 (file)
@@ -344,6 +344,11 @@ public:
   virtual void GetDpi( unsigned int& dpiHorizontal, unsigned int& dpiVertical ) override;
 
   /**
+   * @copydoc Dali::Internal::Adaptor::WindowBase::SetViewMode()
+   */
+  virtual void SetViewMode( ViewMode viewMode ) override;
+
+  /**
    * @copydoc Dali::Internal::Adaptor::WindowBase::GetScreenRotationAngle()
    */
   virtual int GetScreenRotationAngle() override;
index 188e382..3405faf 100644 (file)
@@ -192,22 +192,24 @@ std::string Application::GetLanguage() const
   return Internal::Adaptor::GetImplementation(*this).GetLanguage();
 }
 
-void Application::SetViewMode( ViewMode /*viewMode*/ )
+void Application::SetViewMode( ViewMode viewMode )
 {
+  Internal::Adaptor::GetImplementation(*this).SetViewMode( viewMode );
 }
 
 ViewMode Application::GetViewMode() const
 {
-  return ViewMode::MONO;
+  return Internal::Adaptor::GetImplementation(*this).GetViewMode();
 }
 
-void Application::SetStereoBase( float /*stereoBase*/ )
+void Application::SetStereoBase( float stereoBase )
 {
+  Internal::Adaptor::GetImplementation(*this).SetStereoBase( stereoBase );
 }
 
 float Application::GetStereoBase() const
 {
-  return 0.f;
+  return Internal::Adaptor::GetImplementation(*this).GetStereoBase();
 }
 
 Application::AppSignalType& Application::InitSignal()
index e9449ad..e6d8ccd 100644 (file)
@@ -324,7 +324,6 @@ public: // Stereoscopy
    * @brief Sets the viewing mode for the application.
    * @SINCE_1_0.0
    * @param[in] viewMode The new viewing mode
-   * @DEPRECATED_1_3.39
    */
   void SetViewMode( ViewMode viewMode );
 
@@ -332,7 +331,6 @@ public: // Stereoscopy
    * @brief Gets the current viewing mode.
    * @SINCE_1_0.0
    * @return The current viewing mode
-   * @DEPRECATED_1_3.39
    */
   ViewMode GetViewMode() const;
 
@@ -343,7 +341,6 @@ public: // Stereoscopy
    * between 50mm and 70mm. The default value is 65mm.
    * @SINCE_1_0.0
    * @param[in] stereoBase The stereo base (eye separation) for Stereoscopic 3D
-   * @DEPRECATED_1_3.39
    */
   void SetStereoBase( float stereoBase );
 
@@ -352,7 +349,6 @@ public: // Stereoscopy
    *
    * @SINCE_1_0.0
    * @return The stereo base (eye separation) for Stereoscopic 3D
-   * @DEPRECATED_1_3.39
    */
   float GetStereoBase() const;