#define __DALI_INTERNAL_SCENE_GRAPH_RENDER_DATA_PROVIDER_H__
/*
- * Copyright (c) 2016 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2018 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.
#include <dali/public-api/common/vector-wrapper.h>
#include <dali/public-api/rendering/renderer.h>
-#include <dali/internal/render/data-providers/node-data-provider.h>
-#include <dali/internal/render/data-providers/property-buffer-data-provider.h>
-#include <dali/internal/render/data-providers/uniform-map-data-provider.h>
-#include <dali/internal/render/renderers/render-sampler.h>
-#include <dali/internal/render/renderers/render-texture.h>
+#include <dali/internal/update/rendering/data-providers/node-data-provider.h>
+#include <dali/internal/update/rendering/data-providers/property-buffer-data-provider.h>
+#include <dali/internal/update/rendering/data-providers/uniform-map-data-provider.h>
+#include <dali/internal/update/rendering/scene-graph-sampler.h>
+#include <dali/internal/update/rendering/scene-graph-texture.h>
namespace Dali
{
struct BlendingOptions;
+
namespace SceneGraph
{
class PropertyBuffer;
class RenderDataProvider
{
public:
-
- typedef std::vector< Render::Sampler* > Samplers;
+ typedef Dali::Vector< const PropertyBufferDataProvider* > VertexBuffers;
+ typedef std::vector< SceneGraph::Sampler* > Samplers;
/**
* Constructor.
* Returns the shader
* @return The shader
*/
- Dali::Internal::SceneGraph::Shader& GetShader() const;
+ Shader& GetShader() const;
/**
* Returns the list of samplers
* Returns the list of Textures
* @return The list of Textures
*/
- std::vector<Render::Texture*>& GetTextures();
+ std::vector<SceneGraph::Texture*>& GetTextures();
private:
const UniformMapDataProvider* mUniformMapDataProvider;
- Dali::Internal::SceneGraph::Shader* mShader;
- std::vector<Render::Texture*> mTextures;
+ Shader* mShader;
+ std::vector<SceneGraph::Texture*> mTextures;
Samplers mSamplers;
// Give Renderer access to our private data to reduce copying vectors on construction.