-GaussianBlurView::GaussianBlurView( const unsigned int numSamples, const float blurBellCurveWidth, const Pixel::Format renderTargetPixelFormat,
- const float downsampleWidthScale, const float downsampleHeightScale,
- bool blurUserImage)
- : Control( ControlBehaviour( DISABLE_SIZE_NEGOTIATION ) )
- , mNumSamples(numSamples)
- , mBlurBellCurveWidth( 0.001f )
- , mPixelFormat(renderTargetPixelFormat)
- , mDownsampleWidthScale(downsampleWidthScale)
- , mDownsampleHeightScale(downsampleHeightScale)
- , mDownsampledWidth( 0.0f )
- , mDownsampledHeight( 0.0f )
- , mBlurUserImage( blurUserImage )
- , mRenderOnce( false )
- , mBackgroundColor( Color::BLACK )
- , mTargetSize(Vector2::ZERO)
- , mLastSize(Vector2::ZERO)
- , mChildrenRoot(Actor::New())
- , mInternalRoot(Actor::New())
- , mBlurStrengthPropertyIndex(Property::INVALID_INDEX)
- , mActivated( false )
+GaussianBlurView::GaussianBlurView(const unsigned int numSamples,
+ const float blurBellCurveWidth,
+ const Pixel::Format renderTargetPixelFormat,
+ const float downsampleWidthScale,
+ const float downsampleHeightScale,
+ bool blurUserImage)
+: Control(ControlBehaviour(DISABLE_SIZE_NEGOTIATION | DISABLE_STYLE_CHANGE_SIGNALS)),
+ mNumSamples(numSamples),
+ mBlurBellCurveWidth(0.001f),
+ mPixelFormat(renderTargetPixelFormat),
+ mDownsampleWidthScale(downsampleWidthScale),
+ mDownsampleHeightScale(downsampleHeightScale),
+ mDownsampledWidth(0.0f),
+ mDownsampledHeight(0.0f),
+ mBlurUserImage(blurUserImage),
+ mRenderOnce(false),
+ mBackgroundColor(Color::BLACK),
+ mTargetSize(Vector2::ZERO),
+ mLastSize(Vector2::ZERO),
+ mChildrenRoot(Actor::New()),
+ mInternalRoot(Actor::New()),
+ mBlurStrengthPropertyIndex(Property::INVALID_INDEX),
+ mActivated(false)