#define DALI_INTERNAL_WINDOWSYSTEM_COMMON_PIXMAP_RENDER_SURFACE_H
/*
- * Copyright (c) 2018 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2019 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.
*/
// INTERNAL INCLUDES
-#include <dali/integration-api/render-surface.h>
+#include <dali/integration-api/adaptor-framework/render-surface-interface.h>
+#include <dali/internal/graphics/common/graphics-interface.h>
namespace Dali
{
/**
* Pixmap interface of render surface.
*/
-class PixmapRenderSurface : public Dali::RenderSurface
+class PixmapRenderSurface : public Dali::RenderSurfaceInterface
{
public:
*/
virtual void SetRenderNotification( TriggerEventInterface* renderNotification ) = 0;
+ /**
+ * @copydoc Dali::Integration::RenderSurface::GetDepthBufferRequired()
+ */
+ Integration::DepthBufferAvailable GetDepthBufferRequired() override
+ {
+ return mGraphics ? mGraphics->GetDepthBufferRequired() : Integration::DepthBufferAvailable::FALSE;
+ }
+
+ /**
+ * @copydoc Dali::Integration::RenderSurface::GetStencilBufferRequired()
+ */
+ Integration::StencilBufferAvailable GetStencilBufferRequired() override
+ {
+ return mGraphics ? mGraphics->GetStencilBufferRequired() : Integration::StencilBufferAvailable::FALSE;
+ }
+
private:
/**