/**
* Uses an Wayland surface to render to.
- * @param [in] positionSize the position and size of the surface
+ * @param [in] surfaceSize the size of the surface
+ * @param [in] surface the native surface handle
* @param [in] isTransparent if it is true, surface has 32 bit color depth, otherwise, 24 bit
*/
- NativeRenderSurfaceEcoreWl( Dali::PositionSize positionSize, bool isTransparent = false );
+ NativeRenderSurfaceEcoreWl( SurfaceSize surfaceSize, Any surface, bool isTransparent = false );
/**
* @brief Destructor
virtual void GetDpi( unsigned int& dpiHorizontal, unsigned int& dpiVertical ) override;
/**
+ * @brief Return the orientation of the surface.
+ * @return The orientation
+ */
+ virtual int GetOrientation() const override;
+
+ /**
* @copydoc Dali::RenderSurfaceInterface::InitializeGraphics()
*/
virtual void InitializeGraphics() override;
*/
virtual Integration::StencilBufferAvailable GetStencilBufferRequired() override;
+ virtual Any GetNativeHandle() override;
+
private:
/**
private: // Data
- PositionSize mPosition;
+ SurfaceSize mSurfaceSize;
TriggerEventInterface* mRenderNotification;
Internal::Adaptor::GraphicsInterface* mGraphics; ///< The graphics interface
EglInterface* mEGL;