X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Fbubble-effect%2Fbubble-emitter-impl.h;h=08185a0a25c972f9f0d4ad1031126e2a6f931872;hb=cc5a994d63e196f3bce7ed36f6f66d6cb87eca0d;hp=135a6343184f805f3eecf1b31837bcb7ed57d297;hpb=6e44b7e1d2a1ba9f24fb48751e8969eb63cfa716;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/controls/bubble-effect/bubble-emitter-impl.h b/dali-toolkit/internal/controls/bubble-effect/bubble-emitter-impl.h index 135a634..08185a0 100644 --- a/dali-toolkit/internal/controls/bubble-effect/bubble-emitter-impl.h +++ b/dali-toolkit/internal/controls/bubble-effect/bubble-emitter-impl.h @@ -22,15 +22,17 @@ #include #include #include -#include #include #include -#include -#include +#include +#include +#include +#include +#include // INTERNAL INCLUDES #include -#include +#include namespace Dali { @@ -161,8 +163,6 @@ private: FrameBufferImage mEffectImage; ///< The image stores the adjusted color of the background image.The bubbles pick color from this image. CameraActor mCameraActor; ///< The render task views the scene from the perspective of this actor. - Sampler mSamplerBackground; ///< The sampler which provides the background image to material - Sampler mSamplerBubbleShape; ///< The sampler which provides the bubble shape image to material Geometry mMeshGeometry; ///< The mesh geometry which contains the vertices and indices data Material mMaterial; ///< The material which controls the bubble display std::vector mBubbleActors; ///< The meshActor vector, its size is mNumShader. @@ -176,6 +176,7 @@ private: unsigned int mDensity; ///< How many bubbles will emit at each time, they are controlled by same uniforms in the shader. unsigned int mTotalNumOfBubble; ///< mNumBubblePerShader*mNumShader. unsigned int mCurrentBubble; ///< Keep track of the index for the newly emitted bubble + unsigned int mRandomSeed; ///< Seed to generate random number. bool mRenderTaskRunning; ///< If the background render task is currently running