From: Paul Wisbey
Date: Thu, 11 Jul 2019 15:07:30 +0000 (+0100)
Subject: Fixed EffectView background color to match Visual defaults
X-Git-Tag: dali_1.4.28~2
X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=commitdiff_plain;h=aa4d3eae3c1c35c383e34c075d57dcc9835f8bcf
Fixed EffectView background color to match Visual defaults
Since by default the renderers are expecting images with pre-multiplied alpha,
the default background color has been changed to match.
Change-Id: I47cb16dd551f058b6514ecc3afebfa704d7e444a
---
diff --git a/dali-toolkit/internal/controls/effects-view/effects-view-impl.cpp b/dali-toolkit/internal/controls/effects-view/effects-view-impl.cpp
index 8adc19d..d2e188d 100644
--- a/dali-toolkit/internal/controls/effects-view/effects-view-impl.cpp
+++ b/dali-toolkit/internal/controls/effects-view/effects-view-impl.cpp
@@ -66,7 +66,7 @@ DALI_TYPE_REGISTRATION_END()
const Pixel::Format EFFECTS_VIEW_DEFAULT_PIXEL_FORMAT = Pixel::RGBA8888;
const float ARBITRARY_FIELD_OF_VIEW = Math::PI / 4.0f;
-const Vector4 EFFECTS_VIEW_DEFAULT_BACKGROUND_COLOR( 1.0f, 1.0f, 1.0f, 0.0 );
+const Vector4 EFFECTS_VIEW_DEFAULT_BACKGROUND_COLOR( 0.0f, 0.0f, 0.0f, 0.0 );
const bool EFFECTS_VIEW_REFRESH_ON_DEMAND(false);
// Visuals are not stylable or public