Using correct internal formats for image uploading 25/258225/2
authorDavid Steele <david.steele@samsung.com>
Wed, 12 May 2021 10:30:05 +0000 (11:30 +0100)
committerDavid Steele <david.steele@samsung.com>
Wed, 12 May 2021 16:51:28 +0000 (17:51 +0100)
commitaf0dc37070abe3b044d20ebe52604ade406a4c80
treedbb17b58fa61b379883b3aa45e156c92ed75ca18
parentd79569e9aa33b0b18cc0fde3d063e5f409131bfd
Using correct internal formats for image uploading

Adding packed small float pixel format

KTX supports packed small float pixel format, adding to DALi pixel format.

Modified texture upload to ensure the right internal format is used for
the destination texture, and the right method is chosen for uploading
cube map image.

Change-Id: I877ec5e5573c5f0482afc2b6c201ea8dda032cdc
Signed-off-by: David Steele <david.steele@samsung.com>
automated-tests/src/dali-adaptor/dali-test-suite-utils/test-graphics-texture.cpp
dali/internal/graphics/gles-impl/egl-graphics-controller.cpp
dali/internal/graphics/gles-impl/gles-graphics-texture.cpp
dali/internal/graphics/gles-impl/gles-graphics-types.h
dali/internal/imaging/common/pixel-manipulation.cpp