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

  • 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 Code »
  • Change-Id: I5fa005aead7fac1c3776a8124df52ffd148c5674
    Lee Morgan authored
     
    Browse Code »











  • Problem:   When we are resizing and go past the minimum size of the container and then release, we have to move
               the distance we moved from the minimum size to the our release point again in order to make the
               container resize again.
    Reason:    This was because we kept on changing mLayoutSize but did not reset it when the pan starts.
    Solution:  Reset mLayoutSize when the pan starts.
    
    Change-Id: I3ded29691e8f1c405847f971d9a89d50aa448fdf
    Adeel Kazmi authored
     
    Browse Code »
  • Change-Id: I82f013d5c5c781acca3886a8d157a2a64f2021cb
    Adeel Kazmi authored
     
    Browse Code »