__allowUserGeometry(false),
__title(""),
__vkbd_floating(false),
- __renderView(nullptr)
+ __renderView(nullptr),
+ __displayDeviceHWCWindow(nullptr)
{
}
__renderView = renderView;
}
+void DSWindowPrivate::setDisplayDeviceHWCWindow(std::shared_ptr<IDSDisplayDeviceHWCWindow> &displayDeviceHWCWindow)
+{
+ __displayDeviceHWCWindow = displayDeviceHWCWindow;
+}
+
void DSWindowPrivate::__onSurfaceCommitted(std::shared_ptr<DSWaylandSurfaceCommitInfo> waylandSurfaceCommitInfo)
{
DS_GET_PUB(DSWindow);
priv->setRenderView(renderView);
}
+void DSWindow::setDisplayDeviceHWCWindow(std::shared_ptr<IDSDisplayDeviceHWCWindow> &displayDeviceHWCWindow)
+{
+ DS_GET_PRIV(DSWindow);
+
+ priv->setDisplayDeviceHWCWindow(displayDeviceHWCWindow);
+}
+
void DSWindow::registerCallbackBufferChanged(DSObject *slot, std::function<void(std::shared_ptr<IDSBuffer>)> func)
{
__bufferChangedSignal.connect(slot, func);
#include "DSSignal.h"
#include "IDSBuffer.h"
#include "DSRenderView.h"
+#include "IDSDisplayDeviceHWCWindow.h"
namespace display_server
{
DSWaylandSurface *surface();
void setRenderView(std::shared_ptr<DSRenderView> &renderView);
+ void setDisplayDeviceHWCWindow(std::shared_ptr<IDSDisplayDeviceHWCWindow> &displayDeviceHWCWindow);
void registerCallbackBufferChanged(DSObject *slot, std::function<void(std::shared_ptr<IDSBuffer>)> func);
#include "DSObjectPrivate.h"
#include "DSWaylandSurface.h"
#include "DSRenderView.h"
+#include "IDSDisplayDeviceHWCWindow.h"
namespace display_server
{
bool getVkbdFloating();
void setRenderView(std::shared_ptr<DSRenderView> &renderView);
+ void setDisplayDeviceHWCWindow(std::shared_ptr<IDSDisplayDeviceHWCWindow> &displayDeviceHWCWindow);
private:
void __onSurfaceCommitted(std::shared_ptr<DSWaylandSurfaceCommitInfo> waylandSurfaceCommitInfo);
bool __vkbd_floating;
std::shared_ptr<DSRenderView> __renderView;
+ std::shared_ptr<IDSDisplayDeviceHWCWindow> __displayDeviceHWCWindow;
};
}