Commit 37259c312ac648e3835a9e1acf60b4518cab38a8

Authored by Adeel Kazmi
1 parent a89e9f22

Introduced DALi Tests for Benchmarks & other simple tests

Change-Id: Ie9cd3109234396757220e5fe0268a7712bf86b31
build/tizen/.gitignore
@@ -3,6 +3,7 @@ CMakeFiles/ @@ -3,6 +3,7 @@ CMakeFiles/
3 cmake_install.cmake 3 cmake_install.cmake
4 demo/dali-demo 4 demo/dali-demo
5 examples-reel/dali-examples 5 examples-reel/dali-examples
  6 +tests-reel/dali-tests
6 install_manifest.txt 7 install_manifest.txt
7 /demo/dali-demo 8 /demo/dali-demo
8 /demo/dali-examples 9 /demo/dali-examples
build/tizen/CMakeLists.txt
@@ -188,4 +188,5 @@ INCLUDE_DIRECTORIES(${ROOT_SRC_DIR}) @@ -188,4 +188,5 @@ INCLUDE_DIRECTORIES(${ROOT_SRC_DIR})
188 ADD_SUBDIRECTORY(demo) 188 ADD_SUBDIRECTORY(demo)
189 ADD_SUBDIRECTORY(examples) 189 ADD_SUBDIRECTORY(examples)
190 ADD_SUBDIRECTORY(examples-reel) 190 ADD_SUBDIRECTORY(examples-reel)
  191 +ADD_SUBDIRECTORY(tests-reel)
191 ADD_SUBDIRECTORY(builder) 192 ADD_SUBDIRECTORY(builder)
build/tizen/tests-reel/CMakeLists.txt 0 → 100644
  1 +SET(TESTS_REEL_SRC_DIR ${ROOT_SRC_DIR}/tests-reel)
  2 +
  3 +AUX_SOURCE_DIRECTORY(${TESTS_REEL_SRC_DIR} TESTS_REEL_SRCS)
  4 +
  5 +SET(TESTS_REEL_SRCS
  6 + ${TESTS_REEL_SRCS}
  7 + "${ROOT_SRC_DIR}/shared/resources-location.cpp"
  8 + "${ROOT_SRC_DIR}/shared/dali-table-view.cpp"
  9 +)
  10 +
  11 +ADD_EXECUTABLE(dali-tests ${TESTS_REEL_SRCS})
  12 +TARGET_LINK_LIBRARIES(dali-tests ${REQUIRED_PKGS_LDFLAGS} -pie)
  13 +
  14 +INSTALL(TARGETS dali-tests DESTINATION ${BINDIR})
  15 +
com.samsung.dali-demo.xml
@@ -13,6 +13,10 @@ @@ -13,6 +13,10 @@
13 <icon>/usr/share/icons/dali-examples.png</icon> 13 <icon>/usr/share/icons/dali-examples.png</icon>
14 <label>DALi Examples</label> 14 <label>DALi Examples</label>
15 </ui-application> 15 </ui-application>
  16 + <ui-application appid="dali-tests" exec="/usr/apps/com.samsung.dali-demo/bin/dali-tests" nodisplay="false" multiple="false" type="c++app" taskmanage="true">
  17 + <icon>/usr/share/icons/dali-tests.png</icon>
  18 + <label>DALi Tests</label>
  19 + </ui-application>
16 <ui-application appid="hello-world.example" exec="/usr/apps/com.samsung.dali-demo/bin/hello-world.example" nodisplay="true" multiple="false" type="c++app" taskmanage="true"> 20 <ui-application appid="hello-world.example" exec="/usr/apps/com.samsung.dali-demo/bin/hello-world.example" nodisplay="true" multiple="false" type="c++app" taskmanage="true">
17 <label>Hello World</label> 21 <label>Hello World</label>
18 </ui-application> 22 </ui-application>
@@ -248,13 +252,22 @@ @@ -248,13 +252,22 @@
248 <label>Card Active App</label> 252 <label>Card Active App</label>
249 </ui-application> 253 </ui-application>
250 <ui-application appid="image-policies.example" exec="/usr/apps/com.samsung.dali-demo/bin/image-policies.example" nodisplay="true" multiple="false" taskmanage="true" type="c++app"> 254 <ui-application appid="image-policies.example" exec="/usr/apps/com.samsung.dali-demo/bin/image-policies.example" nodisplay="true" multiple="false" taskmanage="true" type="c++app">
251 - <label>Image Policies</label>  
252 - </ui-application> 255 + <label>Image Policies</label>
  256 + </ui-application>
253 <ui-application appid="layouting.example" exec="/usr/apps/com.samsung.dali-demo/bin/layouting.example" nodisplay="true" multiple="false" taskmanage="true" type="c++app"> 257 <ui-application appid="layouting.example" exec="/usr/apps/com.samsung.dali-demo/bin/layouting.example" nodisplay="true" multiple="false" taskmanage="true" type="c++app">
254 - <label>Layouting</label>  
255 - </ui-application> 258 + <label>Layouting</label>
  259 + </ui-application>
  260 + <ui-application appid="compressed-texture-formats.example" exec="/usr/apps/com.samsung.dali-demo/bin/compressed-texture-formats.example" nodisplay="true" multiple="false" taskmanage="true" type="c++app">
  261 + <label>Compressed Texture Formats</label>
  262 + </ui-application>
  263 + <ui-application appid="point-mesh.example" exec="/usr/apps/com.samsung.dali-demo/bin/point-mesh.example" nodisplay="true" multiple="false" taskmanage="true" type="c++app">
  264 + <label>Point Mesh</label>
  265 + </ui-application>
  266 + <ui-application appid="simple-layout.example" exec="/usr/apps/com.samsung.dali-demo/bin/simple-layout.example" nodisplay="true" multiple="false" taskmanage="true" type="c++app">
  267 + <label>Simple Layout</label>
  268 + </ui-application>
256 269
257 - <privileges> 270 + <privileges>
258 <privilege>http://tizen.org/privilege/mediastorage</privilege> 271 <privilege>http://tizen.org/privilege/mediastorage</privilege>
259 <privilege>http://tizen.org/privilege/externalstorage</privilege> 272 <privilege>http://tizen.org/privilege/externalstorage</privilege>
260 <privilege>http://tizen.org/privilege/externalstorage.appdata</privilege> 273 <privilege>http://tizen.org/privilege/externalstorage.appdata</privilege>
examples-reel/dali-examples-reel.cpp
@@ -48,6 +48,7 @@ int DALI_EXPORT_API main(int argc, char **argv) @@ -48,6 +48,7 @@ int DALI_EXPORT_API main(int argc, char **argv)
48 demo.AddExample(Example("flex-container.example", DALI_DEMO_STR_TITLE_FLEXBOX_PLAYGROUND)); 48 demo.AddExample(Example("flex-container.example", DALI_DEMO_STR_TITLE_FLEXBOX_PLAYGROUND));
49 demo.AddExample(Example("focus-integration.example", DALI_DEMO_STR_TITLE_FOCUS_INTEGRATION)); 49 demo.AddExample(Example("focus-integration.example", DALI_DEMO_STR_TITLE_FOCUS_INTEGRATION));
50 demo.AddExample(Example("gradients.example", DALI_DEMO_STR_TITLE_COLOR_GRADIENT)); 50 demo.AddExample(Example("gradients.example", DALI_DEMO_STR_TITLE_COLOR_GRADIENT));
  51 + demo.AddExample(Example("hello-world.example", DALI_DEMO_STR_TITLE_HELLO_WORLD));
51 demo.AddExample(Example("image-policies.example", DALI_DEMO_STR_TITLE_IMAGE_POLICIES)); 52 demo.AddExample(Example("image-policies.example", DALI_DEMO_STR_TITLE_IMAGE_POLICIES));
52 demo.AddExample(Example("image-scaling-and-filtering.example", DALI_DEMO_STR_TITLE_IMAGE_FITTING_SAMPLING)); 53 demo.AddExample(Example("image-scaling-and-filtering.example", DALI_DEMO_STR_TITLE_IMAGE_FITTING_SAMPLING));
53 demo.AddExample(Example("image-scaling-irregular-grid.example", DALI_DEMO_STR_TITLE_IMAGE_SCALING)); 54 demo.AddExample(Example("image-scaling-irregular-grid.example", DALI_DEMO_STR_TITLE_IMAGE_SCALING));
@@ -66,7 +67,6 @@ int DALI_EXPORT_API main(int argc, char **argv) @@ -66,7 +67,6 @@ int DALI_EXPORT_API main(int argc, char **argv)
66 demo.AddExample(Example("pivot.example", DALI_DEMO_STR_TITLE_PIVOT)); 67 demo.AddExample(Example("pivot.example", DALI_DEMO_STR_TITLE_PIVOT));
67 demo.AddExample(Example("primitive-shapes.example", DALI_DEMO_STR_TITLE_PRIMITIVE_SHAPES)); 68 demo.AddExample(Example("primitive-shapes.example", DALI_DEMO_STR_TITLE_PRIMITIVE_SHAPES));
68 demo.AddExample(Example("progress-bar.example", DALI_DEMO_STR_TITLE_PROGRESS_BAR)); 69 demo.AddExample(Example("progress-bar.example", DALI_DEMO_STR_TITLE_PROGRESS_BAR));
69 - demo.AddExample(Example("property-notification.example", DALI_DEMO_STR_TITLE_PROPERTY_NOTIFICATION));  
70 demo.AddExample(Example("rendering-basic-light.example", DALI_DEMO_STR_TITLE_BASIC_LIGHT)); 70 demo.AddExample(Example("rendering-basic-light.example", DALI_DEMO_STR_TITLE_BASIC_LIGHT));
71 demo.AddExample(Example("rendering-line.example", DALI_DEMO_STR_TITLE_RENDERING_DRAW_LINE)); 71 demo.AddExample(Example("rendering-line.example", DALI_DEMO_STR_TITLE_RENDERING_DRAW_LINE));
72 demo.AddExample(Example("rendering-triangle.example", DALI_DEMO_STR_TITLE_RENDERING_DRAW_TRIANGLE)); 72 demo.AddExample(Example("rendering-triangle.example", DALI_DEMO_STR_TITLE_RENDERING_DRAW_TRIANGLE));
@@ -82,8 +82,6 @@ int DALI_EXPORT_API main(int argc, char **argv) @@ -82,8 +82,6 @@ int DALI_EXPORT_API main(int argc, char **argv)
82 demo.AddExample(Example("text-label.example", DALI_DEMO_STR_TITLE_TEXT_LABEL)); 82 demo.AddExample(Example("text-label.example", DALI_DEMO_STR_TITLE_TEXT_LABEL));
83 demo.AddExample(Example("text-label-multi-language.example", DALI_DEMO_STR_TITLE_TEXT_LABEL_MULTI_LANGUAGE)); 83 demo.AddExample(Example("text-label-multi-language.example", DALI_DEMO_STR_TITLE_TEXT_LABEL_MULTI_LANGUAGE));
84 demo.AddExample(Example("text-label-emojis.example", DALI_DEMO_STR_TITLE_EMOJI_TEXT)); 84 demo.AddExample(Example("text-label-emojis.example", DALI_DEMO_STR_TITLE_EMOJI_TEXT));
85 - demo.AddExample(Example("text-memory-profiling.example", DALI_DEMO_STR_TITLE_TEXT_MEMORY_PROFILING));  
86 - demo.AddExample(Example("text-overlap.example", DALI_DEMO_STR_TITLE_TEXT_OVERLAP));  
87 demo.AddExample(Example("text-scrolling.example", DALI_DEMO_STR_TITLE_TEXT_SCROLLING)); 85 demo.AddExample(Example("text-scrolling.example", DALI_DEMO_STR_TITLE_TEXT_SCROLLING));
88 demo.AddExample(Example("remote-image-loading.example", DALI_DEMO_STR_TITLE_REMOTE_IMAGE)); 86 demo.AddExample(Example("remote-image-loading.example", DALI_DEMO_STR_TITLE_REMOTE_IMAGE));
89 demo.AddExample(Example("textured-mesh.example", DALI_DEMO_STR_TITLE_TEXTURED_MESH)); 87 demo.AddExample(Example("textured-mesh.example", DALI_DEMO_STR_TITLE_TEXTURED_MESH));
examples/benchmark/benchmark.cpp
1 /* 1 /*
2 - * Copyright (c) 2017 Samsung Electronics Co., Ltd. 2 + * Copyright (c) 2018 Samsung Electronics Co., Ltd.
3 * 3 *
4 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License. 5 * you may not use this file except in compliance with the License.
@@ -244,6 +244,9 @@ public: @@ -244,6 +244,9 @@ public:
244 // Respond to a click anywhere on the stage 244 // Respond to a click anywhere on the stage
245 stage.GetRootLayer().TouchSignal().Connect( this, &Benchmark::OnTouch ); 245 stage.GetRootLayer().TouchSignal().Connect( this, &Benchmark::OnTouch );
246 246
  247 + // Respond to key events
  248 + stage.KeyEventSignal().Connect( this, &Benchmark::OnKeyEvent );
  249 +
247 if( gUseMesh ) 250 if( gUseMesh )
248 { 251 {
249 CreateMeshActors(); 252 CreateMeshActors();
@@ -448,6 +451,17 @@ public: @@ -448,6 +451,17 @@ public:
448 mHide.FinishedSignal().Connect( this, &Benchmark::OnAnimationEnd ); 451 mHide.FinishedSignal().Connect( this, &Benchmark::OnAnimationEnd );
449 } 452 }
450 453
  454 + void OnKeyEvent( const KeyEvent& event )
  455 + {
  456 + if( event.state == KeyEvent::Down )
  457 + {
  458 + if ( IsKey( event, Dali::DALI_KEY_ESCAPE ) || IsKey( event, Dali::DALI_KEY_BACK ) )
  459 + {
  460 + mApplication.Quit();
  461 + }
  462 + }
  463 + }
  464 +
451 private: 465 private:
452 Application& mApplication; 466 Application& mApplication;
453 467
examples/hello-world/hello-world-example.cpp
1 /* 1 /*
2 - * Copyright (c) 2017 Samsung Electronics Co., Ltd. 2 + * Copyright (c) 2018 Samsung Electronics Co., Ltd.
3 * 3 *
4 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License. 5 * you may not use this file except in compliance with the License.
@@ -52,6 +52,9 @@ public: @@ -52,6 +52,9 @@ public:
52 52
53 // Respond to a click anywhere on the stage 53 // Respond to a click anywhere on the stage
54 stage.GetRootLayer().TouchSignal().Connect( this, &HelloWorldController::OnTouch ); 54 stage.GetRootLayer().TouchSignal().Connect( this, &HelloWorldController::OnTouch );
  55 +
  56 + // Respond to key events
  57 + stage.KeyEventSignal().Connect( this, &HelloWorldController::OnKeyEvent );
55 } 58 }
56 59
57 bool OnTouch( Actor actor, const TouchData& touch ) 60 bool OnTouch( Actor actor, const TouchData& touch )
@@ -61,6 +64,17 @@ public: @@ -61,6 +64,17 @@ public:
61 return true; 64 return true;
62 } 65 }
63 66
  67 + void OnKeyEvent( const KeyEvent& event )
  68 + {
  69 + if( event.state == KeyEvent::Down )
  70 + {
  71 + if ( IsKey( event, Dali::DALI_KEY_ESCAPE ) || IsKey( event, Dali::DALI_KEY_BACK ) )
  72 + {
  73 + mApplication.Quit();
  74 + }
  75 + }
  76 + }
  77 +
64 private: 78 private:
65 Application& mApplication; 79 Application& mApplication;
66 }; 80 };
examples/homescreen-benchmark/homescreen-benchmark.cpp
1 /* 1 /*
2 - * Copyright (c) 2017 Samsung Electronics Co., Ltd. 2 + * Copyright (c) 2018 Samsung Electronics Co., Ltd.
3 * 3 *
4 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License. 5 * you may not use this file except in compliance with the License.
@@ -184,6 +184,9 @@ public: @@ -184,6 +184,9 @@ public:
184 184
185 // Respond to a click anywhere on the stage. 185 // Respond to a click anywhere on the stage.
186 stage.GetRootLayer().TouchSignal().Connect( this, &HomescreenBenchmark::OnTouch ); 186 stage.GetRootLayer().TouchSignal().Connect( this, &HomescreenBenchmark::OnTouch );
  187 +
  188 + // Respond to key events
  189 + stage.KeyEventSignal().Connect( this, &HomescreenBenchmark::OnKeyEvent );
187 } 190 }
188 191
189 bool OnTouch( Actor actor, const TouchData& touch ) 192 bool OnTouch( Actor actor, const TouchData& touch )
@@ -442,6 +445,17 @@ public: @@ -442,6 +445,17 @@ public:
442 } 445 }
443 } 446 }
444 447
  448 + void OnKeyEvent( const KeyEvent& event )
  449 + {
  450 + if( event.state == KeyEvent::Down )
  451 + {
  452 + if ( IsKey( event, Dali::DALI_KEY_ESCAPE ) || IsKey( event, Dali::DALI_KEY_BACK ) )
  453 + {
  454 + mApplication.Quit();
  455 + }
  456 + }
  457 + }
  458 +
445 private: 459 private:
446 460
447 Application& mApplication; 461 Application& mApplication;
examples/perf-scroll/perf-scroll.cpp
@@ -242,6 +242,9 @@ public: @@ -242,6 +242,9 @@ public:
242 // Respond to a click anywhere on the stage 242 // Respond to a click anywhere on the stage
243 stage.GetRootLayer().TouchSignal().Connect( this, &PerfScroll::OnTouch ); 243 stage.GetRootLayer().TouchSignal().Connect( this, &PerfScroll::OnTouch );
244 244
  245 + // Respond to key events
  246 + stage.KeyEventSignal().Connect( this, &PerfScroll::OnKeyEvent );
  247 +
245 mParent = Actor::New(); 248 mParent = Actor::New();
246 mParent.SetAnchorPoint( AnchorPoint::TOP_LEFT ); 249 mParent.SetAnchorPoint( AnchorPoint::TOP_LEFT );
247 stage.Add(mParent); 250 stage.Add(mParent);
@@ -440,6 +443,17 @@ public: @@ -440,6 +443,17 @@ public:
440 mHide.FinishedSignal().Connect( this, &PerfScroll::OnAnimationEnd ); 443 mHide.FinishedSignal().Connect( this, &PerfScroll::OnAnimationEnd );
441 } 444 }
442 445
  446 + void OnKeyEvent( const KeyEvent& event )
  447 + {
  448 + if( event.state == KeyEvent::Down )
  449 + {
  450 + if ( IsKey( event, Dali::DALI_KEY_ESCAPE ) || IsKey( event, Dali::DALI_KEY_BACK ) )
  451 + {
  452 + mApplication.Quit();
  453 + }
  454 + }
  455 + }
  456 +
443 private: 457 private:
444 Application& mApplication; 458 Application& mApplication;
445 459
packaging/com.samsung.dali-demo.spec
@@ -97,6 +97,7 @@ cp -f %{_builddir}/%{name}-%{version}/%{name}.xml %{buildroot}%{dali_xml_file_di @@ -97,6 +97,7 @@ cp -f %{_builddir}/%{name}-%{version}/%{name}.xml %{buildroot}%{dali_xml_file_di
97 mkdir -p %{buildroot}%{dali_icon_dir} 97 mkdir -p %{buildroot}%{dali_icon_dir}
98 mv %{buildroot}/%{dali_app_res_dir}/images/%{name}.png %{buildroot}%{dali_icon_dir} 98 mv %{buildroot}/%{dali_app_res_dir}/images/%{name}.png %{buildroot}%{dali_icon_dir}
99 mv %{buildroot}/%{dali_app_res_dir}/images/dali-examples.png %{buildroot}%{dali_icon_dir} 99 mv %{buildroot}/%{dali_app_res_dir}/images/dali-examples.png %{buildroot}%{dali_icon_dir}
  100 +mv %{buildroot}/%{dali_app_res_dir}/images/dali-tests.png %{buildroot}%{dali_icon_dir}
100 101
101 %if 0%{?enable_dali_smack_rules} && !%{with wayland} 102 %if 0%{?enable_dali_smack_rules} && !%{with wayland}
102 mkdir -p %{buildroot}%{smack_rule_dir} 103 mkdir -p %{buildroot}%{smack_rule_dir}
@@ -131,6 +132,7 @@ exit 0 @@ -131,6 +132,7 @@ exit 0
131 %defattr(-,root,root,-) 132 %defattr(-,root,root,-)
132 %{dali_app_exe_dir}/dali-demo 133 %{dali_app_exe_dir}/dali-demo
133 %{dali_app_exe_dir}/dali-examples 134 %{dali_app_exe_dir}/dali-examples
  135 +%{dali_app_exe_dir}/dali-tests
134 %{dali_app_exe_dir}/*.example 136 %{dali_app_exe_dir}/*.example
135 %{dali_app_exe_dir}/dali-builder 137 %{dali_app_exe_dir}/dali-builder
136 %{dali_app_res_dir}/images/* 138 %{dali_app_res_dir}/images/*
resources/images/dali-tests.png 0 → 100644

14.8 KB

resources/po/en_GB.po
@@ -10,6 +10,9 @@ msgstr &quot;CPU Alpha Blending&quot; @@ -10,6 +10,9 @@ msgstr &quot;CPU Alpha Blending&quot;
10 msgid "DALI_DEMO_STR_TITLE_BASIC_LIGHT" 10 msgid "DALI_DEMO_STR_TITLE_BASIC_LIGHT"
11 msgstr "Basic Light" 11 msgstr "Basic Light"
12 12
  13 +msgid "DALI_DEMO_STR_TITLE_BENCHMARK"
  14 +msgstr "ImageView Benchmark"
  15 +
13 msgid "DALI_DEMO_STR_TITLE_BEZIER_CURVE" 16 msgid "DALI_DEMO_STR_TITLE_BEZIER_CURVE"
14 msgstr "Bezier Curve" 17 msgstr "Bezier Curve"
15 18
@@ -28,6 +31,9 @@ msgstr &quot;Call Active&quot; @@ -28,6 +31,9 @@ msgstr &quot;Call Active&quot;
28 msgid "DALI_DEMO_STR_TITLE_CARD_ACTIVE" 31 msgid "DALI_DEMO_STR_TITLE_CARD_ACTIVE"
29 msgstr "Card Active" 32 msgstr "Card Active"
30 33
  34 +msgid "DALI_DEMO_STR_TITLE_COMPRESSED_TEXTURE_FORMATS"
  35 +msgstr "Compressed Texture Formats"
  36 +
31 msgid "DALI_DEMO_STR_TITLE_CLIPPING" 37 msgid "DALI_DEMO_STR_TITLE_CLIPPING"
32 msgstr "Clipping" 38 msgstr "Clipping"
33 39
@@ -55,6 +61,12 @@ msgstr &quot;Emoji Text&quot; @@ -55,6 +61,12 @@ msgstr &quot;Emoji Text&quot;
55 msgid "DALI_DEMO_STR_TITLE_FLEXBOX_PLAYGROUND" 61 msgid "DALI_DEMO_STR_TITLE_FLEXBOX_PLAYGROUND"
56 msgstr "Flexbox Playground" 62 msgstr "Flexbox Playground"
57 63
  64 +msgid "DALI_DEMO_STR_TITLE_HELLO_WORLD"
  65 +msgstr "Hello World"
  66 +
  67 +msgid "DALI_DEMO_STR_TITLE_HOMESCREEN"
  68 +msgstr "Homescreen Benchmark"
  69 +
58 msgid "DALI_DEMO_STR_TITLE_IMAGE_FITTING_SAMPLING" 70 msgid "DALI_DEMO_STR_TITLE_IMAGE_FITTING_SAMPLING"
59 msgstr "Image Fitting and Sampling" 71 msgstr "Image Fitting and Sampling"
60 72
@@ -109,6 +121,12 @@ msgstr &quot;Native Image Source&quot; @@ -109,6 +121,12 @@ msgstr &quot;Native Image Source&quot;
109 msgid "DALI_DEMO_STR_TITLE_NEGOTIATE_SIZE" 121 msgid "DALI_DEMO_STR_TITLE_NEGOTIATE_SIZE"
110 msgstr "Negotiate Size" 122 msgstr "Negotiate Size"
111 123
  124 +msgid "DALI_DEMO_STR_TITLE_PERF_SCROLL"
  125 +msgstr "Scrolling Performance"
  126 +
  127 +msgid "DALI_DEMO_STR_TITLE_POINT_MESH"
  128 +msgstr "Point Mesh"
  129 +
112 msgid "DALI_DEMO_STR_TITLE_POPUP" 130 msgid "DALI_DEMO_STR_TITLE_POPUP"
113 msgstr "Popup" 131 msgstr "Popup"
114 132
@@ -133,6 +151,9 @@ msgstr &quot;Refraction&quot; @@ -133,6 +151,9 @@ msgstr &quot;Refraction&quot;
133 msgid "DALI_DEMO_STR_TITLE_RENDERER_STENCIL" 151 msgid "DALI_DEMO_STR_TITLE_RENDERER_STENCIL"
134 msgstr "Renderer Stencil" 152 msgstr "Renderer Stencil"
135 153
  154 +msgid "DALI_DEMO_STR_TITLE_SIMPLE_LAYOUT"
  155 +msgstr "Simple Layout"
  156 +
136 msgid "DALI_DEMO_STR_TITLE_SIMPLE_VISUALS_CONTROL" 157 msgid "DALI_DEMO_STR_TITLE_SIMPLE_VISUALS_CONTROL"
137 msgstr "Simple Visuals Control" 158 msgstr "Simple Visuals Control"
138 159
@@ -157,6 +178,9 @@ msgstr &quot;Text Editor&quot; @@ -157,6 +178,9 @@ msgstr &quot;Text Editor&quot;
157 msgid "DALI_DEMO_STR_TITLE_TEXT_FIELD" 178 msgid "DALI_DEMO_STR_TITLE_TEXT_FIELD"
158 msgstr "Text Field" 179 msgstr "Text Field"
159 180
  181 +msgid "DALI_DEMO_STR_TITLE_TEXT_FONTS"
  182 +msgstr "Text Fonts"
  183 +
160 msgid "DALI_DEMO_STR_TITLE_TEXT_LABEL" 184 msgid "DALI_DEMO_STR_TITLE_TEXT_LABEL"
161 msgstr "Text Label" 185 msgstr "Text Label"
162 186
resources/po/en_US.po
@@ -10,6 +10,9 @@ msgstr &quot;CPU Alpha Blending&quot; @@ -10,6 +10,9 @@ msgstr &quot;CPU Alpha Blending&quot;
10 msgid "DALI_DEMO_STR_TITLE_BASIC_LIGHT" 10 msgid "DALI_DEMO_STR_TITLE_BASIC_LIGHT"
11 msgstr "Basic Light" 11 msgstr "Basic Light"
12 12
  13 +msgid "DALI_DEMO_STR_TITLE_BENCHMARK"
  14 +msgstr "ImageView Benchmark"
  15 +
13 msgid "DALI_DEMO_STR_TITLE_BEZIER_CURVE" 16 msgid "DALI_DEMO_STR_TITLE_BEZIER_CURVE"
14 msgstr "Bezier Curve" 17 msgstr "Bezier Curve"
15 18
@@ -28,6 +31,9 @@ msgstr &quot;Call Active&quot; @@ -28,6 +31,9 @@ msgstr &quot;Call Active&quot;
28 msgid "DALI_DEMO_STR_TITLE_CARD_ACTIVE" 31 msgid "DALI_DEMO_STR_TITLE_CARD_ACTIVE"
29 msgstr "Card Active" 32 msgstr "Card Active"
30 33
  34 +msgid "DALI_DEMO_STR_TITLE_COMPRESSED_TEXTURE_FORMATS"
  35 +msgstr "Compressed Texture Formats"
  36 +
31 msgid "DALI_DEMO_STR_TITLE_CLIPPING" 37 msgid "DALI_DEMO_STR_TITLE_CLIPPING"
32 msgstr "Clipping" 38 msgstr "Clipping"
33 39
@@ -55,6 +61,12 @@ msgstr &quot;Emoji Text&quot; @@ -55,6 +61,12 @@ msgstr &quot;Emoji Text&quot;
55 msgid "DALI_DEMO_STR_TITLE_FLEXBOX_PLAYGROUND" 61 msgid "DALI_DEMO_STR_TITLE_FLEXBOX_PLAYGROUND"
56 msgstr "Flexbox Playground" 62 msgstr "Flexbox Playground"
57 63
  64 +msgid "DALI_DEMO_STR_TITLE_HELLO_WORLD"
  65 +msgstr "Hello World"
  66 +
  67 +msgid "DALI_DEMO_STR_TITLE_HOMESCREEN"
  68 +msgstr "Homescreen Benchmark"
  69 +
58 msgid "DALI_DEMO_STR_TITLE_IMAGE_POLICIES" 70 msgid "DALI_DEMO_STR_TITLE_IMAGE_POLICIES"
59 msgstr "Image Policies" 71 msgstr "Image Policies"
60 72
@@ -112,6 +124,12 @@ msgstr &quot;Native Image Source&quot; @@ -112,6 +124,12 @@ msgstr &quot;Native Image Source&quot;
112 msgid "DALI_DEMO_STR_TITLE_NEGOTIATE_SIZE" 124 msgid "DALI_DEMO_STR_TITLE_NEGOTIATE_SIZE"
113 msgstr "Negotiate Size" 125 msgstr "Negotiate Size"
114 126
  127 +msgid "DALI_DEMO_STR_TITLE_PERF_SCROLL"
  128 +msgstr "Scrolling Performance"
  129 +
  130 +msgid "DALI_DEMO_STR_TITLE_POINT_MESH"
  131 +msgstr "Point Mesh"
  132 +
115 msgid "DALI_DEMO_STR_TITLE_POPUP" 133 msgid "DALI_DEMO_STR_TITLE_POPUP"
116 msgstr "Popup" 134 msgstr "Popup"
117 135
@@ -136,6 +154,9 @@ msgstr &quot;Refraction&quot; @@ -136,6 +154,9 @@ msgstr &quot;Refraction&quot;
136 msgid "DALI_DEMO_STR_TITLE_RENDERER_STENCIL" 154 msgid "DALI_DEMO_STR_TITLE_RENDERER_STENCIL"
137 msgstr "Renderer Stencil" 155 msgstr "Renderer Stencil"
138 156
  157 +msgid "DALI_DEMO_STR_TITLE_SIMPLE_LAYOUT"
  158 +msgstr "Simple Layout"
  159 +
139 msgid "DALI_DEMO_STR_TITLE_SIMPLE_VISUALS_CONTROL" 160 msgid "DALI_DEMO_STR_TITLE_SIMPLE_VISUALS_CONTROL"
140 msgstr "Simple Visuals Control" 161 msgstr "Simple Visuals Control"
141 162
@@ -160,6 +181,9 @@ msgstr &quot;Text Editor&quot; @@ -160,6 +181,9 @@ msgstr &quot;Text Editor&quot;
160 msgid "DALI_DEMO_STR_TITLE_TEXT_FIELD" 181 msgid "DALI_DEMO_STR_TITLE_TEXT_FIELD"
161 msgstr "Text Field" 182 msgstr "Text Field"
162 183
  184 +msgid "DALI_DEMO_STR_TITLE_TEXT_FONTS"
  185 +msgstr "Text Fonts"
  186 +
163 msgid "DALI_DEMO_STR_TITLE_TEXT_LABEL" 187 msgid "DALI_DEMO_STR_TITLE_TEXT_LABEL"
164 msgstr "Text Label" 188 msgstr "Text Label"
165 189
shared/dali-demo-strings.h
@@ -36,6 +36,7 @@ extern &quot;C&quot; @@ -36,6 +36,7 @@ extern &quot;C&quot;
36 #define DALI_DEMO_STR_TITLE_ANIMATED_SHAPES dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_ANIMATED_SHAPES") 36 #define DALI_DEMO_STR_TITLE_ANIMATED_SHAPES dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_ANIMATED_SHAPES")
37 #define DALI_DEMO_STR_TITLE_ALPHA_BLENDING_CPU dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_ALPHA_BLENDING_CPU") 37 #define DALI_DEMO_STR_TITLE_ALPHA_BLENDING_CPU dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_ALPHA_BLENDING_CPU")
38 #define DALI_DEMO_STR_TITLE_BASIC_LIGHT dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_BASIC_LIGHT") 38 #define DALI_DEMO_STR_TITLE_BASIC_LIGHT dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_BASIC_LIGHT")
  39 +#define DALI_DEMO_STR_TITLE_BENCHMARK dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_BENCHMARK")
39 #define DALI_DEMO_STR_TITLE_BEZIER_CURVE dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_BEZIER_CURVE") 40 #define DALI_DEMO_STR_TITLE_BEZIER_CURVE dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_BEZIER_CURVE")
40 #define DALI_DEMO_STR_TITLE_BLOCKS dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_BLOCKS") 41 #define DALI_DEMO_STR_TITLE_BLOCKS dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_BLOCKS")
41 #define DALI_DEMO_STR_TITLE_BUBBLES dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_BUBBLES") 42 #define DALI_DEMO_STR_TITLE_BUBBLES dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_BUBBLES")
@@ -45,6 +46,7 @@ extern &quot;C&quot; @@ -45,6 +46,7 @@ extern &quot;C&quot;
45 #define DALI_DEMO_STR_TITLE_CLIPPING dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_CLIPPING") 46 #define DALI_DEMO_STR_TITLE_CLIPPING dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_CLIPPING")
46 #define DALI_DEMO_STR_TITLE_CLIPPING_DRAW_ORDER dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_CLIPPING_DRAW_ORDER") 47 #define DALI_DEMO_STR_TITLE_CLIPPING_DRAW_ORDER dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_CLIPPING_DRAW_ORDER")
47 #define DALI_DEMO_STR_TITLE_COLOR_GRADIENT dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_COLOR_GRADIENT") 48 #define DALI_DEMO_STR_TITLE_COLOR_GRADIENT dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_COLOR_GRADIENT")
  49 +#define DALI_DEMO_STR_TITLE_COMPRESSED_TEXTURE_FORMATS dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_COMPRESSED_TEXTURE_FORMATS")
48 #define DALI_DEMO_STR_TITLE_CONTACT_CARDS dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_CONTACT_CARDS") 50 #define DALI_DEMO_STR_TITLE_CONTACT_CARDS dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_CONTACT_CARDS")
49 #define DALI_DEMO_STR_TITLE_CUBE_TRANSITION dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_CUBE_TRANSITION") 51 #define DALI_DEMO_STR_TITLE_CUBE_TRANSITION dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_CUBE_TRANSITION")
50 #define DALI_DEMO_STR_TITLE_DISSOLVE_TRANSITION dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_DISSOLVE_TRANSITION") 52 #define DALI_DEMO_STR_TITLE_DISSOLVE_TRANSITION dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_DISSOLVE_TRANSITION")
@@ -53,6 +55,8 @@ extern &quot;C&quot; @@ -53,6 +55,8 @@ extern &quot;C&quot;
53 #define DALI_DEMO_STR_TITLE_FPP_GAME dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_FPP_GAME") 55 #define DALI_DEMO_STR_TITLE_FPP_GAME dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_FPP_GAME")
54 #define DALI_DEMO_STR_TITLE_FLEXBOX_PLAYGROUND dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_FLEXBOX_PLAYGROUND") 56 #define DALI_DEMO_STR_TITLE_FLEXBOX_PLAYGROUND dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_FLEXBOX_PLAYGROUND")
55 #define DALI_DEMO_STR_TITLE_FOCUS_INTEGRATION dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_FOCUS_INTEGRATION") 57 #define DALI_DEMO_STR_TITLE_FOCUS_INTEGRATION dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_FOCUS_INTEGRATION")
  58 +#define DALI_DEMO_STR_TITLE_HELLO_WORLD dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_HELLO_WORLD")
  59 +#define DALI_DEMO_STR_TITLE_HOMESCREEN dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_HOMESCREEN")
56 #define DALI_DEMO_STR_TITLE_IMAGE_POLICIES dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_IMAGE_POLICIES") 60 #define DALI_DEMO_STR_TITLE_IMAGE_POLICIES dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_IMAGE_POLICIES")
57 #define DALI_DEMO_STR_TITLE_IMAGE_FITTING_SAMPLING dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_IMAGE_FITTING_SAMPLING") 61 #define DALI_DEMO_STR_TITLE_IMAGE_FITTING_SAMPLING dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_IMAGE_FITTING_SAMPLING")
58 #define DALI_DEMO_STR_TITLE_IMAGE_SCALING dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_IMAGE_SCALING") 62 #define DALI_DEMO_STR_TITLE_IMAGE_SCALING dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_IMAGE_SCALING")
@@ -73,6 +77,8 @@ extern &quot;C&quot; @@ -73,6 +77,8 @@ extern &quot;C&quot;
73 #define DALI_DEMO_STR_TITLE_NATIVE_IMAGE_SOURCE dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_NATIVE_IMAGE_SOURCE") 77 #define DALI_DEMO_STR_TITLE_NATIVE_IMAGE_SOURCE dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_NATIVE_IMAGE_SOURCE")
74 #define DALI_DEMO_STR_TITLE_NEGOTIATE_SIZE dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_NEGOTIATE_SIZE") 78 #define DALI_DEMO_STR_TITLE_NEGOTIATE_SIZE dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_NEGOTIATE_SIZE")
75 #define DALI_DEMO_STR_TITLE_PBR dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_PBR") 79 #define DALI_DEMO_STR_TITLE_PBR dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_PBR")
  80 +#define DALI_DEMO_STR_TITLE_PERF_SCROLL dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_PERF_SCROLL")
  81 +#define DALI_DEMO_STR_TITLE_POINT_MESH dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_POINT_MESH")
76 #define DALI_DEMO_STR_TITLE_POPUP dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_POPUP") 82 #define DALI_DEMO_STR_TITLE_POPUP dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_POPUP")
77 #define DALI_DEMO_STR_TITLE_PIVOT dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_PIVOT") 83 #define DALI_DEMO_STR_TITLE_PIVOT dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_PIVOT")
78 #define DALI_DEMO_STR_TITLE_PRIMITIVE_SHAPES dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_PRIMITIVE_SHAPES") 84 #define DALI_DEMO_STR_TITLE_PRIMITIVE_SHAPES dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_PRIMITIVE_SHAPES")
@@ -87,7 +93,8 @@ extern &quot;C&quot; @@ -87,7 +93,8 @@ extern &quot;C&quot;
87 #define DALI_DEMO_STR_TITLE_RENDERING_RADIAL_PROGRESS dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_RENDERING_RADIAL_PROGRESS") 93 #define DALI_DEMO_STR_TITLE_RENDERING_RADIAL_PROGRESS dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_RENDERING_RADIAL_PROGRESS")
88 #define DALI_DEMO_STR_TITLE_RENDERING_RAY_MARCHING dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_RENDERING_RAY_MARCHING") 94 #define DALI_DEMO_STR_TITLE_RENDERING_RAY_MARCHING dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_RENDERING_RAY_MARCHING")
89 #define DALI_DEMO_STR_TITLE_RENDERER_STENCIL dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_RENDERER_STENCIL") 95 #define DALI_DEMO_STR_TITLE_RENDERER_STENCIL dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_RENDERER_STENCIL")
90 -#define DALI_DEMO_STR_TITLE_SIMPLE_VISUALS_CONTROL dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_SIMPLE_VISUALS") 96 +#define DALI_DEMO_STR_TITLE_SIMPLE_LAYOUT dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_SIMPLE_LAYOUT")
  97 +#define DALI_DEMO_STR_TITLE_SIMPLE_VISUALS_CONTROL dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_SIMPLE_VISUALS_CONTROL")
91 #define DALI_DEMO_STR_TITLE_SCRIPT_BASED_UI dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_SCRIPT_BASED_UI") 98 #define DALI_DEMO_STR_TITLE_SCRIPT_BASED_UI dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_SCRIPT_BASED_UI")
92 #define DALI_DEMO_STR_TITLE_SCROLL_VIEW dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_SCROLL_VIEW") 99 #define DALI_DEMO_STR_TITLE_SCROLL_VIEW dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_SCROLL_VIEW")
93 #define DALI_DEMO_STR_TITLE_SKYBOX dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_SKYBOX") 100 #define DALI_DEMO_STR_TITLE_SKYBOX dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_SKYBOX")
@@ -96,6 +103,7 @@ extern &quot;C&quot; @@ -96,6 +103,7 @@ extern &quot;C&quot;
96 #define DALI_DEMO_STR_TITLE_TEXTURED_MESH dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_TEXTURED_MESH") 103 #define DALI_DEMO_STR_TITLE_TEXTURED_MESH dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_TEXTURED_MESH")
97 #define DALI_DEMO_STR_TITLE_TEXT_EDITOR dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_TEXT_EDITOR") 104 #define DALI_DEMO_STR_TITLE_TEXT_EDITOR dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_TEXT_EDITOR")
98 #define DALI_DEMO_STR_TITLE_TEXT_FIELD dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_TEXT_FIELD") 105 #define DALI_DEMO_STR_TITLE_TEXT_FIELD dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_TEXT_FIELD")
  106 +#define DALI_DEMO_STR_TITLE_TEXT_FONTS dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_TEXT_FONTS")
99 #define DALI_DEMO_STR_TITLE_TEXT_LABEL dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_TEXT_LABEL") 107 #define DALI_DEMO_STR_TITLE_TEXT_LABEL dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_TEXT_LABEL")
100 #define DALI_DEMO_STR_TITLE_TEXT_MEMORY_PROFILING dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_TEXT_MEMORY_PROFILING") 108 #define DALI_DEMO_STR_TITLE_TEXT_MEMORY_PROFILING dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_TEXT_MEMORY_PROFILING")
101 #define DALI_DEMO_STR_TITLE_TEXT_OVERLAP dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_TEXT_OVERLAP") 109 #define DALI_DEMO_STR_TITLE_TEXT_OVERLAP dgettext(DALI_DEMO_DOMAIN_LOCAL, "DALI_DEMO_STR_TITLE_TEXT_OVERLAP")
@@ -111,6 +119,7 @@ extern &quot;C&quot; @@ -111,6 +119,7 @@ extern &quot;C&quot;
111 #define DALI_DEMO_STR_TITLE_ANIMATED_SHAPES "Animated Shapes" 119 #define DALI_DEMO_STR_TITLE_ANIMATED_SHAPES "Animated Shapes"
112 #define DALI_DEMO_STR_TITLE_ALPHA_BLENDING_CPU "CPU Alpha Blending" 120 #define DALI_DEMO_STR_TITLE_ALPHA_BLENDING_CPU "CPU Alpha Blending"
113 #define DALI_DEMO_STR_TITLE_BASIC_LIGHT "Basic Light" 121 #define DALI_DEMO_STR_TITLE_BASIC_LIGHT "Basic Light"
  122 +#define DALI_DEMO_STR_TITLE_BENCHMARK "ImageView Benchmark"
114 #define DALI_DEMO_STR_TITLE_BEZIER_CURVE "Alpha Function Bezier Curve" 123 #define DALI_DEMO_STR_TITLE_BEZIER_CURVE "Alpha Function Bezier Curve"
115 #define DALI_DEMO_STR_TITLE_BLOCKS "Blocks" 124 #define DALI_DEMO_STR_TITLE_BLOCKS "Blocks"
116 #define DALI_DEMO_STR_TITLE_BUBBLES "Bubbles" 125 #define DALI_DEMO_STR_TITLE_BUBBLES "Bubbles"
@@ -120,6 +129,7 @@ extern &quot;C&quot; @@ -120,6 +129,7 @@ extern &quot;C&quot;
120 #define DALI_DEMO_STR_TITLE_CLIPPING "Clipping" 129 #define DALI_DEMO_STR_TITLE_CLIPPING "Clipping"
121 #define DALI_DEMO_STR_TITLE_CLIPPING_DRAW_ORDER "Clipping Draw Order" 130 #define DALI_DEMO_STR_TITLE_CLIPPING_DRAW_ORDER "Clipping Draw Order"
122 #define DALI_DEMO_STR_TITLE_COLOR_GRADIENT "Color Gradient" 131 #define DALI_DEMO_STR_TITLE_COLOR_GRADIENT "Color Gradient"
  132 +#define DALI_DEMO_STR_TITLE_COMPRESSED_TEXTURE_FORMATS "Compressed Texture Formats"
123 #define DALI_DEMO_STR_TITLE_CONTACT_CARDS "Contact Cards" 133 #define DALI_DEMO_STR_TITLE_CONTACT_CARDS "Contact Cards"
124 #define DALI_DEMO_STR_TITLE_CUBE_TRANSITION "Cube Effect" 134 #define DALI_DEMO_STR_TITLE_CUBE_TRANSITION "Cube Effect"
125 #define DALI_DEMO_STR_TITLE_DISSOLVE_TRANSITION "Dissolve Effect" 135 #define DALI_DEMO_STR_TITLE_DISSOLVE_TRANSITION "Dissolve Effect"
@@ -128,6 +138,8 @@ extern &quot;C&quot; @@ -128,6 +138,8 @@ extern &quot;C&quot;
128 #define DALI_DEMO_STR_TITLE_FPP_GAME "First Person Game" 138 #define DALI_DEMO_STR_TITLE_FPP_GAME "First Person Game"
129 #define DALI_DEMO_STR_TITLE_FLEXBOX_PLAYGROUND "Flexbox Playground" 139 #define DALI_DEMO_STR_TITLE_FLEXBOX_PLAYGROUND "Flexbox Playground"
130 #define DALI_DEMO_STR_TITLE_FOCUS_INTEGRATION "Focus Integration" 140 #define DALI_DEMO_STR_TITLE_FOCUS_INTEGRATION "Focus Integration"
  141 +#define DALI_DEMO_STR_TITLE_HELLO_WORLD "Hello World"
  142 +#define DALI_DEMO_STR_TITLE_HOMESCREEN "Homescreen Benchmark"
131 #define DALI_DEMO_STR_TITLE_IMAGE_POLICIES "Image Policies" 143 #define DALI_DEMO_STR_TITLE_IMAGE_POLICIES "Image Policies"
132 #define DALI_DEMO_STR_TITLE_IMAGE_FITTING_SAMPLING "Image Fitting and Sampling" 144 #define DALI_DEMO_STR_TITLE_IMAGE_FITTING_SAMPLING "Image Fitting and Sampling"
133 #define DALI_DEMO_STR_TITLE_IMAGE_SCALING "Image Scaling Grid" 145 #define DALI_DEMO_STR_TITLE_IMAGE_SCALING "Image Scaling Grid"
@@ -148,6 +160,8 @@ extern &quot;C&quot; @@ -148,6 +160,8 @@ extern &quot;C&quot;
148 #define DALI_DEMO_STR_TITLE_NATIVE_IMAGE_SOURCE "Native Image Source" 160 #define DALI_DEMO_STR_TITLE_NATIVE_IMAGE_SOURCE "Native Image Source"
149 #define DALI_DEMO_STR_TITLE_NEGOTIATE_SIZE "Negotiate Size" 161 #define DALI_DEMO_STR_TITLE_NEGOTIATE_SIZE "Negotiate Size"
150 #define DALI_DEMO_STR_TITLE_PBR "PBR" 162 #define DALI_DEMO_STR_TITLE_PBR "PBR"
  163 +#define DALI_DEMO_STR_TITLE_PERF_SCROLL "Scrolling Performance"
  164 +#define DALI_DEMO_STR_TITLE_POINT_MESH "Point Mesh"
151 #define DALI_DEMO_STR_TITLE_POPUP "Popup" 165 #define DALI_DEMO_STR_TITLE_POPUP "Popup"
152 #define DALI_DEMO_STR_TITLE_PIVOT "Pivot" 166 #define DALI_DEMO_STR_TITLE_PIVOT "Pivot"
153 #define DALI_DEMO_STR_TITLE_PRIMITIVE_SHAPES "Primitive Shapes" 167 #define DALI_DEMO_STR_TITLE_PRIMITIVE_SHAPES "Primitive Shapes"
@@ -162,6 +176,7 @@ extern &quot;C&quot; @@ -162,6 +176,7 @@ extern &quot;C&quot;
162 #define DALI_DEMO_STR_TITLE_RENDERING_RAY_MARCHING "Ray Marching" 176 #define DALI_DEMO_STR_TITLE_RENDERING_RAY_MARCHING "Ray Marching"
163 #define DALI_DEMO_STR_TITLE_RENDERING_RADIAL_PROGRESS "Radial Progress" 177 #define DALI_DEMO_STR_TITLE_RENDERING_RADIAL_PROGRESS "Radial Progress"
164 #define DALI_DEMO_STR_TITLE_RENDERER_STENCIL "Renderer Stencils" 178 #define DALI_DEMO_STR_TITLE_RENDERER_STENCIL "Renderer Stencils"
  179 +#define DALI_DEMO_STR_TITLE_SIMPLE_LAYOUT "Simple Layout"
165 #define DALI_DEMO_STR_TITLE_SIMPLE_VISUALS_CONTROL "Simple Visuals Control" 180 #define DALI_DEMO_STR_TITLE_SIMPLE_VISUALS_CONTROL "Simple Visuals Control"
166 #define DALI_DEMO_STR_TITLE_SCRIPT_BASED_UI "Script Based UI" 181 #define DALI_DEMO_STR_TITLE_SCRIPT_BASED_UI "Script Based UI"
167 #define DALI_DEMO_STR_TITLE_SCROLL_VIEW "Scroll View" 182 #define DALI_DEMO_STR_TITLE_SCROLL_VIEW "Scroll View"
@@ -171,6 +186,7 @@ extern &quot;C&quot; @@ -171,6 +186,7 @@ extern &quot;C&quot;
171 #define DALI_DEMO_STR_TITLE_TEXTURED_MESH "Mesh Texture" 186 #define DALI_DEMO_STR_TITLE_TEXTURED_MESH "Mesh Texture"
172 #define DALI_DEMO_STR_TITLE_TEXT_EDITOR "Text Editor" 187 #define DALI_DEMO_STR_TITLE_TEXT_EDITOR "Text Editor"
173 #define DALI_DEMO_STR_TITLE_TEXT_FIELD "Text Field" 188 #define DALI_DEMO_STR_TITLE_TEXT_FIELD "Text Field"
  189 +#define DALI_DEMO_STR_TITLE_TEXT_FONTS "Text Fonts"
174 #define DALI_DEMO_STR_TITLE_TEXT_LABEL "Text Label" 190 #define DALI_DEMO_STR_TITLE_TEXT_LABEL "Text Label"
175 #define DALI_DEMO_STR_TITLE_TEXT_MEMORY_PROFILING "Text Memory Profiling" 191 #define DALI_DEMO_STR_TITLE_TEXT_MEMORY_PROFILING "Text Memory Profiling"
176 #define DALI_DEMO_STR_TITLE_TEXT_OVERLAP "Text Overlap" 192 #define DALI_DEMO_STR_TITLE_TEXT_OVERLAP "Text Overlap"
tests-reel/dali-tests-reel.cpp 0 → 100644
  1 +/*
  2 + * Copyright (c) 2018 Samsung Electronics Co., Ltd.
  3 + *
  4 + * Licensed under the Apache License, Version 2.0 (the "License");
  5 + * you may not use this file except in compliance with the License.
  6 + * You may obtain a copy of the License at
  7 + *
  8 + * http://www.apache.org/licenses/LICENSE-2.0
  9 + *
  10 + * Unless required by applicable law or agreed to in writing, software
  11 + * distributed under the License is distributed on an "AS IS" BASIS,
  12 + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13 + * See the License for the specific language governing permissions and
  14 + * limitations under the License.
  15 + *
  16 + */
  17 +
  18 +// EXTERNAL INCLUDES
  19 +#include <dali/dali.h>
  20 +
  21 +// INTERNAL INCLUDES
  22 +#include "shared/dali-table-view.h"
  23 +#include "shared/dali-demo-strings.h"
  24 +
  25 +using namespace Dali;
  26 +
  27 +int DALI_EXPORT_API main(int argc, char **argv)
  28 +{
  29 + // Configure gettext for internalization
  30 + bindtextdomain(DALI_DEMO_DOMAIN_LOCAL, DEMO_LOCALE_DIR);
  31 + textdomain(DALI_DEMO_DOMAIN_LOCAL);
  32 + setlocale(LC_ALL, DEMO_LANG);
  33 +
  34 + Application app = Application::New(&argc, &argv, DEMO_THEME_PATH);
  35 +
  36 + // Create the demo launcher
  37 + DaliTableView demo(app);
  38 +
  39 + demo.AddExample(Example("benchmark.example", DALI_DEMO_STR_TITLE_BENCHMARK));
  40 + demo.AddExample(Example("compressed-texture-formats.example", DALI_DEMO_STR_TITLE_COMPRESSED_TEXTURE_FORMATS));
  41 + demo.AddExample(Example("homescreen-benchmark.example", DALI_DEMO_STR_TITLE_HOMESCREEN));
  42 + demo.AddExample(Example("perf-scroll.example", DALI_DEMO_STR_TITLE_PERF_SCROLL));
  43 + demo.AddExample(Example("point-mesh.example", DALI_DEMO_STR_TITLE_POINT_MESH));
  44 + demo.AddExample(Example("property-notification.example", DALI_DEMO_STR_TITLE_PROPERTY_NOTIFICATION));
  45 + demo.AddExample(Example("simple-layout.example", DALI_DEMO_STR_TITLE_SIMPLE_LAYOUT));
  46 + demo.AddExample(Example("simple-visuals-control.example", DALI_DEMO_STR_TITLE_SIMPLE_VISUALS_CONTROL));
  47 + demo.AddExample(Example("text-fonts.example", DALI_DEMO_STR_TITLE_TEXT_FONTS));
  48 + demo.AddExample(Example("text-memory-profiling.example", DALI_DEMO_STR_TITLE_TEXT_MEMORY_PROFILING));
  49 + demo.AddExample(Example("text-overlap.example", DALI_DEMO_STR_TITLE_TEXT_OVERLAP));
  50 + demo.AddExample(Example("visual-transitions.example", DALI_DEMO_STR_TITLE_VISUAL_TRANSITIONS));
  51 +
  52 + demo.SortAlphabetically( true );
  53 +
  54 + // Start the event loop
  55 + app.MainLoop();
  56 +
  57 + return 0;
  58 +}