X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Fbubble-effect%2Fbubble-effect.h;h=2c15531143a1d8090eaca234e073190a32fa2fb3;hb=6fc192d050313c54779b64bfda59262e9de51078;hp=4f4a3e5ea7c0ad4adad5e4810ecd28e65e25944c;hpb=e4d638dd0b325673bbd504aef409676fc5593a9d;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/controls/bubble-effect/bubble-effect.h b/dali-toolkit/internal/controls/bubble-effect/bubble-effect.h index 4f4a3e5..2c15531 100644 --- a/dali-toolkit/internal/controls/bubble-effect/bubble-effect.h +++ b/dali-toolkit/internal/controls/bubble-effect/bubble-effect.h @@ -2,7 +2,7 @@ #define DALI_TOOLKIT_INTERNAL_BUBBLE_EFFECT_H /* - * Copyright (c) 2016 Samsung Electronics Co., Ltd. + * Copyright (c) 2021 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. @@ -19,30 +19,27 @@ */ // EXTERNAL INCLUDES -#include -#include #include +#include +#include namespace Dali { - namespace Toolkit { - namespace Internal { - /** * Create the shader to be used by the renderer * @param[in] numberOfBubble How many groups of uniforms are used to control the bubble movement. * @return A handle to the newly created shader. */ -inline Shader CreateBubbleShader( unsigned int numBubble ) +inline Shader CreateBubbleShader(unsigned int numBubble) { std::ostringstream vertexShaderStringStream; - vertexShaderStringStream << "#define NUMBER_OF_BUBBLE "<< numBubble << "\n" + vertexShaderStringStream << "#define NUMBER_OF_BUBBLE " << numBubble << "\n" << SHADER_BUBBLE_EFFECT_VERT; - Shader shader = Shader::New( vertexShaderStringStream.str(), SHADER_BUBBLE_EFFECT_FRAG ); + Shader shader = Shader::New(vertexShaderStringStream.str(), SHADER_BUBBLE_EFFECT_FRAG); return shader; }