X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Frenderers%2Frenderer-factory-cache.h;h=8d5b18e45390f4f4d25193111906af69070c7769;hb=d00a250741411c386d988e7ac34525cf94a1918e;hp=8bffd155745bdf8d6f6abb37ee938b8d35ace305;hpb=31f5a9b81937d528ffe10c521ea6188e2a828b09;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/controls/renderers/renderer-factory-cache.h b/dali-toolkit/internal/controls/renderers/renderer-factory-cache.h index 8bffd15..8d5b18e 100644 --- a/dali-toolkit/internal/controls/renderers/renderer-factory-cache.h +++ b/dali-toolkit/internal/controls/renderers/renderer-factory-cache.h @@ -1,8 +1,8 @@ -#ifndef __DALI_TOOLKIT_RENDERER_FACTORY_CACHE_H__ -#define __DALI_TOOLKIT_RENDERER_FACTORY_CACHE_H__ +#ifndef DALI_TOOLKIT_RENDERER_FACTORY_CACHE_H +#define DALI_TOOLKIT_RENDERER_FACTORY_CACHE_H /* - * Copyright (c) 2015 Samsung Electronics Co., Ltd. + * Copyright (c) 2016 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. @@ -23,9 +23,9 @@ // EXTERNAL INCLUDES #include #include -#include -#include -#include +#include +#include +#include #include #include @@ -109,6 +109,12 @@ public: */ void SaveShader( ShaderType type, Shader shader ); + /* + * Greate the quad geometry. + * Quad geometry is shared by multiple kind of Renderer, so implement it in the factory-cache. + */ + static Geometry CreateQuadGeometry(); + /** * Create the grid geometry. * @param[in] gridSize The size of the grid. @@ -225,4 +231,4 @@ private: } // namespace Dali -#endif /*__DALI_TOOLKIT_RENDERER_FACTORY_CACHE_H__ */ +#endif // DALI_TOOLKIT_RENDERER_FACTORY_CACHE_H