[dali_2.3.20] Merge branch 'devel/master'
[platform/core/uifw/dali-toolkit.git] / automated-tests / src / dali-toolkit / dali-toolkit-test-utils / toolkit-vector-animation-renderer.h
1 #ifndef DALI_TOOLKIT_TEST_VECTOR_ANIMATION_RENDERER_H
2 #define DALI_TOOLKIT_TEST_VECTOR_ANIMATION_RENDERER_H
3
4 /*
5  * Copyright (c) 2024 Samsung Electronics Co., Ltd.
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  *
19  */
20
21 namespace Test
22 {
23 namespace VectorAnimationRenderer
24 {
25 #define VECTOR_ANIMATION_TOTAL_FRAME_NUMBER 5
26 #define VECTOR_ANIMATION_MARKER_NAME_1 "marker1"
27 #define VECTOR_ANIMATION_MARKER_NAME_2 "marker2"
28 #define VECTOR_ANIMATION_MARKER_START_FRAME_1 0
29 #define VECTOR_ANIMATION_MARKER_END_FRAME_1 2
30 #define VECTOR_ANIMATION_MARKER_START_FRAME_2 2
31 #define VECTOR_ANIMATION_MARKER_END_FRAME_2 3
32
33 void     DelayRendering(uint32_t delay);
34 uint32_t GetDroppedFrames();
35 void     UseNativeImageTexture(bool useNativeImage);
36
37 } // namespace VectorAnimationRenderer
38 } // namespace Test
39
40 #endif // DALI_TOOLKIT_TEST_VECTOR_ANIMATION_RENDERER_H