DSRenderViewDaliImpl: register BufferChanged instead of SizeChanged. 56/241756/1
authorSooChan Lim <sc1.lim@samsung.com>
Thu, 6 Aug 2020 08:36:09 +0000 (17:36 +0900)
committerSung-Jin Park <sj76.park@samsung.com>
Thu, 20 Aug 2020 10:10:13 +0000 (19:10 +0900)
Change-Id: I826d6598c57c128faa84bafd5cf3c2987f03ab08

src/DSRender/DSRenderViewDaliImpl.cpp
src/DSRender/DSRenderViewDaliImpl.h

index eaef822..e657265 100644 (file)
@@ -81,7 +81,7 @@ DSRenderViewDaliImpl::DSRenderViewDaliImpl(std::shared_ptr<DSWindow> window, Dal
        offscreenWindow.Add(__textureViewActor);
 
        // callbacks
-       window->registerCallbackSizeChanged(this, std::bind(&DSRenderViewDaliImpl::__onWindowSizeChanged, this, std::placeholders::_1));
+       window->registerCallbackBufferChanged(this, std::bind(&DSRenderViewDaliImpl::__onWindowBufferChanged, this, std::placeholders::_1));
 }
 
 DSRenderViewDaliImpl::~DSRenderViewDaliImpl()
@@ -104,7 +104,7 @@ bool DSRenderViewDaliImpl::setBuffer(std::shared_ptr<IDSBuffer> buffer)
        return true;
 }
 
-void DSRenderViewDaliImpl::__onWindowSizeChanged(std::shared_ptr<stSize> size)
+void DSRenderViewDaliImpl::__onWindowBufferChanged(std::shared_ptr<IDSBuffer> buffer)
 {
        //TODO: set the View Size with size
 }
index f5de171..f78c7f9 100644 (file)
@@ -22,7 +22,7 @@ public:
        Dali::Geometry CreateTexturedQuad();
 
 private:
-       void __onWindowSizeChanged(std::shared_ptr<stSize> size);
+       void __onWindowBufferChanged(std::shared_ptr<IDSBuffer> size);
 
        std::shared_ptr<DSWindow> __window;
        Dali::Renderer            __renderer;