Ignore glTexImage2D if we know given texture is already discarded 32/306032/1
authorEunki, Hong <eunkiki.hong@samsung.com>
Thu, 15 Feb 2024 08:32:10 +0000 (17:32 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Thu, 15 Feb 2024 08:32:10 +0000 (17:32 +0900)
commit4568a4204bba6f5a6716efc8068ee09b26706335
tree5ac48d4324523e5c176d6036fc4bd95541c51fed
parent51495fdf6ea9d04e385368b694d6c43f6b4c6a60
Ignore glTexImage2D if we know given texture is already discarded

Since glTexImage2D is heavy operation, and if we know that we don't use it,
we can ignore the texture upload operations.

Change-Id: If474919945d39d19f8870b06850db4e843d7ba11
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali/internal/graphics/gles-impl/egl-graphics-controller.cpp
dali/internal/graphics/gles-impl/egl-graphics-controller.h
dali/internal/graphics/gles/gl-implementation.h