Allow to allocate texture's GPU memory at upload timing 27/296327/6
authorEunki Hong <eunkiki.hong@samsung.com>
Tue, 25 Jul 2023 17:45:24 +0000 (02:45 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Wed, 2 Aug 2023 00:46:32 +0000 (09:46 +0900)
commit96c20f353d09e3248420e73821ef6ddb766d2f17
treeba18153cdeea02fa4bd9f171a501242eaf86041c
parent3482e84fda994991e9ad145df723c1666016dc9d
Allow to allocate texture's GPU memory at upload timing

Let we make creation info property s.t. do not allocate gpu memory
right now.

For gl case, we don't call glTexImage2D function at creation time.

To support this behaviour, let we make TextureAllocationPolicy enum.

Change-Id: Iaa98a6b875cec60e4981eca259d9bfd760f903a3
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
dali/graphics-api/graphics-texture-create-info.h
dali/graphics-api/graphics-types.h
dali/internal/render/renderers/render-texture.cpp
dali/internal/render/renderers/render-texture.h