Dali 3D User Interface Engine
Functions | Variables
Dali::Toolkit::Internal::anonymous_namespace{gaussian-blur-view-impl.cpp} Namespace Reference

Functions

BaseHandle Create ()
 

Variables

const unsigned int GAUSSIAN_BLUR_VIEW_DEFAULT_NUM_SAMPLES = 5
 
const float GAUSSIAN_BLUR_VIEW_DEFAULT_BLUR_BELL_CURVE_WIDTH = 1.5f
 
const Pixel::Format GAUSSIAN_BLUR_VIEW_DEFAULT_RENDER_TARGET_PIXEL_FORMAT = Pixel::RGBA8888
 
const float GAUSSIAN_BLUR_VIEW_DEFAULT_BLUR_STRENGTH = 1.0f
 
const char *const GAUSSIAN_BLUR_VIEW_STRENGTH_PROPERTY_NAME = "GaussianBlurStrengthPropertyName"
 
const float GAUSSIAN_BLUR_VIEW_DEFAULT_DOWNSAMPLE_WIDTH_SCALE = 0.5f
 
const float GAUSSIAN_BLUR_VIEW_DEFAULT_DOWNSAMPLE_HEIGHT_SCALE = 0.5f
 
const float ARBITRARY_FIELD_OF_VIEW = Math::PI / 4.0f
 
const char *const GAUSSIAN_BLUR_FRAGMENT_SOURCE
 

Function Documentation

BaseHandle Dali::Toolkit::Internal::anonymous_namespace{gaussian-blur-view-impl.cpp}::Create ( )

Definition at line 83 of file gaussian-blur-view-impl.cpp.

References Dali::Toolkit::GaussianBlurView::New().

Here is the call graph for this function:

Variable Documentation

const float Dali::Toolkit::Internal::anonymous_namespace{gaussian-blur-view-impl.cpp}::ARBITRARY_FIELD_OF_VIEW = Math::PI / 4.0f

Definition at line 99 of file gaussian-blur-view-impl.cpp.

const char* const Dali::Toolkit::Internal::anonymous_namespace{gaussian-blur-view-impl.cpp}::GAUSSIAN_BLUR_FRAGMENT_SOURCE
Initial value:
=
"varying mediump vec2 vTexCoord;\n"
"uniform sampler2D sTexture;\n"
"uniform lowp vec4 uColor;\n"
"uniform mediump vec2 uSampleOffsets[NUM_SAMPLES];\n"
"uniform mediump float uSampleWeights[NUM_SAMPLES];\n"
"void main()\n"
"{\n"
" mediump vec4 col = texture2D(sTexture, vTexCoord + uSampleOffsets[0]) * uSampleWeights[0];\n"
" for (int i=1; i<NUM_SAMPLES; ++i)\n"
" {\n"
" col += texture2D(sTexture, vTexCoord + uSampleOffsets[i]) * uSampleWeights[i];\n"
" }\n"
" gl_FragColor = col;\n"
"}\n"

Definition at line 101 of file gaussian-blur-view-impl.cpp.

const float Dali::Toolkit::Internal::anonymous_namespace{gaussian-blur-view-impl.cpp}::GAUSSIAN_BLUR_VIEW_DEFAULT_BLUR_BELL_CURVE_WIDTH = 1.5f

Definition at line 92 of file gaussian-blur-view-impl.cpp.

const float Dali::Toolkit::Internal::anonymous_namespace{gaussian-blur-view-impl.cpp}::GAUSSIAN_BLUR_VIEW_DEFAULT_BLUR_STRENGTH = 1.0f

Definition at line 94 of file gaussian-blur-view-impl.cpp.

const float Dali::Toolkit::Internal::anonymous_namespace{gaussian-blur-view-impl.cpp}::GAUSSIAN_BLUR_VIEW_DEFAULT_DOWNSAMPLE_HEIGHT_SCALE = 0.5f

Definition at line 97 of file gaussian-blur-view-impl.cpp.

const float Dali::Toolkit::Internal::anonymous_namespace{gaussian-blur-view-impl.cpp}::GAUSSIAN_BLUR_VIEW_DEFAULT_DOWNSAMPLE_WIDTH_SCALE = 0.5f

Definition at line 96 of file gaussian-blur-view-impl.cpp.

const unsigned int Dali::Toolkit::Internal::anonymous_namespace{gaussian-blur-view-impl.cpp}::GAUSSIAN_BLUR_VIEW_DEFAULT_NUM_SAMPLES = 5

Definition at line 91 of file gaussian-blur-view-impl.cpp.

const Pixel::Format Dali::Toolkit::Internal::anonymous_namespace{gaussian-blur-view-impl.cpp}::GAUSSIAN_BLUR_VIEW_DEFAULT_RENDER_TARGET_PIXEL_FORMAT = Pixel::RGBA8888

Definition at line 93 of file gaussian-blur-view-impl.cpp.

const char* const Dali::Toolkit::Internal::anonymous_namespace{gaussian-blur-view-impl.cpp}::GAUSSIAN_BLUR_VIEW_STRENGTH_PROPERTY_NAME = "GaussianBlurStrengthPropertyName"

Definition at line 95 of file gaussian-blur-view-impl.cpp.

Dali Docs Home
Read more about Dali