• We were previously using a mixture of BLEND and BLENDING in enums.
    The order of the BLEND_FACTOR enums & string names was also inconsistent.
    
    As a rule of thumb always use Blend & BLEND for namespaces & enums/constants
    (not Blending or BLENDING)
    
    Change-Id: Ia4dd6483edc56e9736436e7aa8545b40f999ba47
    Paul Wisbey authored
     
    Browse Dir »











  • 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 Dir »

  • ASTC can be wrapped in a KTX file, but also has its own native file format.
    This patch provides support for the native ASTC file format (.astc).
    
    Textures can be generated using tools (Eg. Mali texture compression tool).
    
    Note: ASTC is "OpenGL friendly" in that the textures are pre-flipped vertically.
    In DALi there is currently not a differenciation between different texture compression formats in that the data (once the header is extracted) is given to the hardware as-is.
    For this reason textures must currently be pre-flipped vertically (before compression) when using the native .astc file format with DALI.
    
    An example .astc file is included as part of the unit tests.
    
    Change-Id: I8604fba28bfb83b0deff8689fd5d7cfb8ac770bb
    Tom Robinson authored
     
    Browse Dir »

  • ASTC is supported by OpenGL ES 3.1 and above.
    To build this patch with ASTC support, a GLES 31 context must be specified.
    
    To build for desktop with configure, the gles version must be set to 31.
    Here is an example configure line:
    CXXFLAGS="-g -O0 -Wno-unused-local-typedefs" CXX="ccache g++" ./configure --prefix=$DESKTOP_PREFIX --enable-debug=yes --enable-profile=UBUNTU --enable-gles=31
    
    With GBS, add the following to your gbs build line:
    --define "%target_gles_version 31"
    
    Change-Id: I4f54f894dd4b8998f16aa98d3d0a06606f0eb7a2
    Tom Robinson authored
     
    Browse Dir »













  • * Added to test Font setting via Property system and system font changes.
    * 3 Initial TextLabels;
        first has no font set,
        second is set via the demo json style sheet,
        third is set via the SetProperty in code.
      Only the first should change when the system font changes to a different font
    * Pressing button creates a new TextLabel with the system font
    
    Change-Id: I9291797ba357979d9b3d85ab0d3a30a3fbd6c497
    Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
    Agnelo Vaz authored
     
    Browse Dir »











  • - reimplement multivalue using more efficient union inside value
    - remove unnecessary asserts when types dont match
    - cleanup and sanitize scripting
    - remove unnecessary templates from GetEnum, added error handling
    
    Change-Id: If87d7eb6b5a0e3ff32f298cccc670b3f34dd091a
    Kimmo Hoikka authored
     
    Browse Dir »