• To improve app launching speed on Tizen (using launchpad), Use -fPIE option instead -fPIC and attach DALI_EXPORT_API in front of each example's main function.
    
    This is the compare result between before and after patch.
    (On hawkP 2.4 / using hello-dalidemo that has one pushbutton on stage)
    
    |    before Patch     |     After Patch     |
    ---------------------------------------------
    |   hello-dalidemo    |   hello-dalidemo    |
    ---------------------------------------------
    |   AVG   MIN   MAX   |   AVG   MIN   MAX   |
    |  1134  1060  1188   |   291   250   337   |
    
    After patch, launching speed drops to 30% of before.
    
    Change-Id:I51a4f673d016f9278f867167dc2ff9f407ea6e7e
    minho.sun authored
     
    Browse File »

  • Scripts, examples and demo code should not use defines from other
    parts of DALi. DALI_IMAGE_DIR is defined in Dali toolkit to specify
    where the toolkit images are. This is used in the default toolkit
    style file to specify the locations of the toolkit images.
    
    It must not be overridden by applications.
    
    Updated the demo style file to utilize a configured variable to point
    at the installed demo style's images.
    
    Added an example of a demo-specific image (confirmation popup background)
    
    Updated dali-builder to load the demo theme (Scripting example within demo
    already loads it)
    
    Change-Id: Ie43a6611a8db3fc0afc6a1cd4d9d6e48afef75e7
    Signed-off-by: David Steele <david.steele@samsung.com>
    David Steele authored
     
    Browse File »











  • New Structure:
    
      build
        |  tizen
      builder
        |  dali-builder.cpp
      demo
        |  [demo source & header files]
      examples
        |  [example-name]
        |    |  [example source files]
      packaging
        |  com.samsung.dali-demo.spec
      resources
        |  images
        |    |  [all images]
        |  models
        |    |  [all models]
        |  scripts
        |    |  [all scripts]
      shared
        |  view.h
    
    Now, each example should be in its own subdirectory within the "examples" directory. This will get
    automatically built.
    
    README also updated.
    
    Change-Id: Idae4cedf220698a4a2d928535cff88e8bf25f82a
    Adeel Kazmi authored
     
    Browse File »