1f6603c60Sopenharmony_ci/*
2f6603c60Sopenharmony_ci * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
3f6603c60Sopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License");
4f6603c60Sopenharmony_ci * you may not use this file except in compliance with the License.
5f6603c60Sopenharmony_ci * You may obtain a copy of the License at
6f6603c60Sopenharmony_ci *
7f6603c60Sopenharmony_ci *     http://www.apache.org/licenses/LICENSE-2.0
8f6603c60Sopenharmony_ci *
9f6603c60Sopenharmony_ci * Unless required by applicable law or agreed to in writing, software
10f6603c60Sopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS,
11f6603c60Sopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12f6603c60Sopenharmony_ci * See the License for the specific language governing permissions and
13f6603c60Sopenharmony_ci * limitations under the License.
14f6603c60Sopenharmony_ci */
15f6603c60Sopenharmony_ci
16f6603c60Sopenharmony_ci#include <climits>
17f6603c60Sopenharmony_ci#include <gtest/gtest.h>
18f6603c60Sopenharmony_ci#include "../Deqpgles2BaseFunc.h"
19f6603c60Sopenharmony_ci#include "../ActsDeqpgles20013TestSuite.h"
20f6603c60Sopenharmony_ci#include "shrinkdefine.h"
21f6603c60Sopenharmony_ci
22f6603c60Sopenharmony_ciusing namespace std;
23f6603c60Sopenharmony_ciusing namespace testing::ext;
24f6603c60Sopenharmony_ciusing namespace OHOS;
25f6603c60Sopenharmony_ci
26f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012500,
27f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.fbo.render",
28f6603c60Sopenharmony_ci        ".stencil.tex2d_rgb_stencil_index8");
29f6603c60Sopenharmony_ci
30f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012501,
31f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.fbo.render.stencil.",
32f6603c60Sopenharmony_ci        "tex2d_rgb_depth_component16_stencil_index8");
33f6603c60Sopenharmony_ci
34f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012502,
35f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.fbo.render.",
36f6603c60Sopenharmony_ci        "stencil.tex2d_rgba_stencil_index8");
37f6603c60Sopenharmony_ci
38f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012503,
39f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.fbo.render.stencil.t",
40f6603c60Sopenharmony_ci        "ex2d_rgba_depth_component16_stencil_index8");
41f6603c60Sopenharmony_ci
42f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012504,
43f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.fbo.render.",
44f6603c60Sopenharmony_ci        "stencil.rbo_rgb565_stencil_index8");
45f6603c60Sopenharmony_ci
46f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012505,
47f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.fbo.render.stencil.r",
48f6603c60Sopenharmony_ci        "bo_rgb565_depth_component16_stencil_index8");
49f6603c60Sopenharmony_ci
50f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012506,
51f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.fbo.render.",
52f6603c60Sopenharmony_ci        "stencil.rbo_rgb5_a1_stencil_index8");
53f6603c60Sopenharmony_ci
54f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012507,
55f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.fbo.render.stencil.r",
56f6603c60Sopenharmony_ci        "bo_rgb5_a1_depth_component16_stencil_index8");
57f6603c60Sopenharmony_ci
58f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012508,
59f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.fbo.render",
60f6603c60Sopenharmony_ci        ".stencil.rbo_rgba4_stencil_index8");
61f6603c60Sopenharmony_ci
62f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012509,
63f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.fbo.render.stencil.",
64f6603c60Sopenharmony_ci        "rbo_rgba4_depth_component16_stencil_index8");
65f6603c60Sopenharmony_ci
66f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012510,
67f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.fbo.render.st",
68f6603c60Sopenharmony_ci        "encil.npot_tex2d_rgb_stencil_index8");
69f6603c60Sopenharmony_ci
70f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012511,
71f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.fbo.render.stencil.npo",
72f6603c60Sopenharmony_ci        "t_tex2d_rgb_depth_component16_stencil_index8");
73f6603c60Sopenharmony_ci
74f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012512,
75f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.fbo.render.st",
76f6603c60Sopenharmony_ci        "encil.npot_tex2d_rgba_stencil_index8");
77f6603c60Sopenharmony_ci
78f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012513,
79f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.fbo.render.stencil.npo",
80f6603c60Sopenharmony_ci        "t_tex2d_rgba_depth_component16_stencil_index8");
81f6603c60Sopenharmony_ci
82f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012514,
83f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.fbo.render.st",
84f6603c60Sopenharmony_ci        "encil.npot_rbo_rgb565_stencil_index8");
85f6603c60Sopenharmony_ci
86f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012515,
87f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.fbo.render.stencil.npo",
88f6603c60Sopenharmony_ci        "t_rbo_rgb565_depth_component16_stencil_index8");
89f6603c60Sopenharmony_ci
90f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012516,
91f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.fbo.render.ste",
92f6603c60Sopenharmony_ci        "ncil.npot_rbo_rgb5_a1_stencil_index8");
93f6603c60Sopenharmony_ci
94f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012517,
95f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.fbo.render.stencil.npot",
96f6603c60Sopenharmony_ci        "_rbo_rgb5_a1_depth_component16_stencil_index8");
97f6603c60Sopenharmony_ci
98f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012518,
99f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.fbo.render.st",
100f6603c60Sopenharmony_ci        "encil.npot_rbo_rgba4_stencil_index8");
101f6603c60Sopenharmony_ci
102f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012519,
103f6603c60Sopenharmony_ci        "dEQP-GLES2.functional.fbo.render.stencil.npo",
104f6603c60Sopenharmony_ci        "t_rbo_rgba4_depth_component16_stencil_index8");
105