projects
/
platform
/
core
/
uifw
/
dali-adaptor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[Tizen] Add screen and client rotation itself function
[platform/core/uifw/dali-adaptor.git]
/
dali
/
internal
/
window-system
/
tizen-wayland
/
native-render-surface-ecore-wl.h
diff --git
a/dali/internal/window-system/tizen-wayland/native-render-surface-ecore-wl.h
b/dali/internal/window-system/tizen-wayland/native-render-surface-ecore-wl.h
index
dba6bfd
..
3f2020b
100644
(file)
--- a/
dali/internal/window-system/tizen-wayland/native-render-surface-ecore-wl.h
+++ b/
dali/internal/window-system/tizen-wayland/native-render-surface-ecore-wl.h
@@
-44,10
+44,11
@@
public:
/**
* Uses an Wayland surface to render to.
/**
* 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
*/
* @param [in] isTransparent if it is true, surface has 32 bit color depth, otherwise, 24 bit
*/
- NativeRenderSurfaceEcoreWl(
Dali::PositionSize positionSiz
e, bool isTransparent = false );
+ NativeRenderSurfaceEcoreWl(
SurfaceSize surfaceSize, Any surfac
e, bool isTransparent = false );
/**
* @brief Destructor
/**
* @brief Destructor
@@
-122,12
+123,12
@@
public: // from Dali::RenderSurfaceInterface
/**
* @copydoc Dali::RenderSurfaceInterface::PreRender()
*/
/**
* @copydoc Dali::RenderSurfaceInterface::PreRender()
*/
- virtual bool PreRender( bool resizingSurface ) override;
+ virtual bool PreRender( bool resizingSurface
, const std::vector<Rect<int>>& damagedRects, Rect<int>& clippingRect
) override;
/**
* @copydoc Dali::RenderSurfaceInterface::PostRender()
*/
/**
* @copydoc Dali::RenderSurfaceInterface::PostRender()
*/
- virtual void PostRender( bool renderToFbo, bool replacingSurface, bool resizingSurface
)
;
+ virtual void PostRender( bool renderToFbo, bool replacingSurface, bool resizingSurface
, const std::vector<Rect<int>>& damagedRects ) override
;
/**
* @copydoc Dali::RenderSurfaceInterface::StopRender()
/**
* @copydoc Dali::RenderSurfaceInterface::StopRender()
@@
-178,7
+179,7
@@
private:
private: // Data
private: // Data
-
PositionSize mPosition
;
+
SurfaceSize mSurfaceSize
;
TriggerEventInterface* mRenderNotification;
Internal::Adaptor::GraphicsInterface* mGraphics; ///< The graphics interface
EglInterface* mEGL;
TriggerEventInterface* mRenderNotification;
Internal::Adaptor::GraphicsInterface* mGraphics; ///< The graphics interface
EglInterface* mEGL;