X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ffilters%2Femboss-filter.h;h=ace71148805cf6521d302e3ad95bf6a3bf21c200;hb=11ed6421771d05113ae1a6510167d8c2557ac20e;hp=12511cf1bb6a6e84fc70ca3290bb001672f2a86e;hpb=e2eda444afbe82e9591fe198eef339227f90a616;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/filters/emboss-filter.h b/dali-toolkit/internal/filters/emboss-filter.h index 12511cf..ace7114 100644 --- a/dali-toolkit/internal/filters/emboss-filter.h +++ b/dali-toolkit/internal/filters/emboss-filter.h @@ -1,26 +1,27 @@ #ifndef __DALI_TOOLKIT_INTERNAL_EMBOSS_FILTER_H__ #define __DALI_TOOLKIT_INTERNAL_EMBOSS_FILTER_H__ -// -// Copyright (c) 2014 Samsung Electronics Co., Ltd. -// -// Licensed under the Flora License, Version 1.0 (the License); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://floralicense.org/license/ -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an AS IS BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// +/* + * Copyright (c) 2014 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. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ // EXTERNAL INCLUDES - -// INTERNAL INCLUDES -#include +#include +#include +#include #include "image-filter.h" namespace Dali @@ -58,12 +59,10 @@ public: // From ImageFilter /// @copydoc Dali::Toolkit::Internal::ImageFilter::Refresh virtual void Refresh(); -private: - /** - * Setup position and parameters for camera - */ - void SetupCamera(); + /// @copydoc Dali::Toolkit::Internal::ImageFilter::SetSize + virtual void SetSize( const Vector2& size ); +private: /** * Setup render tasks for blur */ @@ -75,17 +74,16 @@ private: private: // Attributes - RenderTask mRenderTaskForEmboss1; - RenderTask mRenderTaskForEmboss2; - RenderTask mRenderTaskForOutput; - FrameBufferImage mImageForEmboss1; - FrameBufferImage mImageForEmboss2; - CameraActor mCameraActor; - ImageActor mActorForInput1; - ImageActor mActorForInput2; - ImageActor mActorForEmboss1; - ImageActor mActorForEmboss2; - Actor mActorForComposite; + RenderTask mRenderTaskForEmboss1; + RenderTask mRenderTaskForEmboss2; + RenderTask mRenderTaskForOutput; + FrameBufferImage mImageForEmboss1; + FrameBufferImage mImageForEmboss2; + Toolkit::ImageView mActorForInput1; + Toolkit::ImageView mActorForInput2; + Toolkit::Visual::Base mVisualForEmboss1; + Toolkit::Visual::Base mVisualForEmboss2; + Actor mActorForComposite; }; // class EmbossFilter } // namespace Internal