Added shader support to pipeline cache 96/301296/5
authorDavid Steele <david.steele@samsung.com>
Mon, 13 Nov 2023 19:07:46 +0000 (19:07 +0000)
committerDavid Steele <david.steele@samsung.com>
Thu, 16 Nov 2023 18:46:46 +0000 (18:46 +0000)
commit9fe9d7d748b953f1d0feeb825f5a54bcb66f688b
tree177a934e9a2f08f523891c3b965e1fae375cc902
parent2ffec90bdeda18dd17c3aca29f291a6d36b829d9
Added shader support to pipeline cache

Added test to ensure that the shaders are still cached.

Added flushing algorithm to ensure shaders are only
destroyed after ~20 seconds of non-use, rather than
immediately on de-reference.

Change-Id: I343946c586d9e31c88afdc271efe91c32b7ef301
automated-tests/src/dali-adaptor/dali-test-suite-utils/test-gl-abstraction.h
automated-tests/src/dali-adaptor/dali-test-suite-utils/test-graphics-application.cpp
automated-tests/src/dali-graphics/CMakeLists.txt
automated-tests/src/dali-graphics/utc-Dali-GraphicsProgram.cpp
dali/internal/graphics/gles-impl/egl-graphics-controller.cpp
dali/internal/graphics/gles-impl/gles-graphics-pipeline-cache.cpp
dali/internal/graphics/gles-impl/gles-graphics-pipeline-cache.h
dali/internal/graphics/gles-impl/gles-graphics-program.cpp
dali/internal/graphics/gles-impl/gles-graphics-program.h
dali/internal/graphics/gles-impl/gles-graphics-shader.cpp
dali/internal/graphics/gles-impl/gles-graphics-shader.h