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 "../Deqpgles3BaseFunc.h"
19f6603c60Sopenharmony_ci#include "../ActsDeqpgles30033TestSuite.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(ActsDeqpgles30033TestSuite, TestCase_032852,
27f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.invalidate",
28f6603c60Sopenharmony_ci        ".target.framebuffer_framebuffer_color");
29f6603c60Sopenharmony_ci
30f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032853,
31f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.invalidate.tar",
32f6603c60Sopenharmony_ci        "get.framebuffer_framebuffer_depth_stencil");
33f6603c60Sopenharmony_ci
34f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032854,
35f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.invalidat",
36f6603c60Sopenharmony_ci        "e.target.framebuffer_framebuffer_all");
37f6603c60Sopenharmony_ci
38f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032855,
39f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.invalidate.ta",
40f6603c60Sopenharmony_ci        "rget.framebuffer_read_framebuffer_color");
41f6603c60Sopenharmony_ci
42f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032856,
43f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.invalidate.target",
44f6603c60Sopenharmony_ci        ".framebuffer_read_framebuffer_depth_stencil");
45f6603c60Sopenharmony_ci
46f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032857,
47f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.invalidate.t",
48f6603c60Sopenharmony_ci        "arget.framebuffer_read_framebuffer_all");
49f6603c60Sopenharmony_ci
50f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032858,
51f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.invalidate.ta",
52f6603c60Sopenharmony_ci        "rget.framebuffer_draw_framebuffer_color");
53f6603c60Sopenharmony_ci
54f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032859,
55f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.invalidate.target",
56f6603c60Sopenharmony_ci        ".framebuffer_draw_framebuffer_depth_stencil");
57f6603c60Sopenharmony_ci
58f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032860,
59f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.invalidate.t",
60f6603c60Sopenharmony_ci        "arget.framebuffer_draw_framebuffer_all");
61f6603c60Sopenharmony_ci
62f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032861,
63f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.invalidate.ta",
64f6603c60Sopenharmony_ci        "rget.read_framebuffer_framebuffer_color");
65f6603c60Sopenharmony_ci
66f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032862,
67f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.invalidate.target",
68f6603c60Sopenharmony_ci        ".read_framebuffer_framebuffer_depth_stencil");
69f6603c60Sopenharmony_ci
70f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032863,
71f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.invalidate.t",
72f6603c60Sopenharmony_ci        "arget.read_framebuffer_framebuffer_all");
73f6603c60Sopenharmony_ci
74f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032864,
75f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.invalidate.targ",
76f6603c60Sopenharmony_ci        "et.read_framebuffer_read_framebuffer_color");
77f6603c60Sopenharmony_ci
78f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032865,
79f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.invalidate.target.r",
80f6603c60Sopenharmony_ci        "ead_framebuffer_read_framebuffer_depth_stencil");
81f6603c60Sopenharmony_ci
82f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032866,
83f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.invalidate.tar",
84f6603c60Sopenharmony_ci        "get.read_framebuffer_read_framebuffer_all");
85f6603c60Sopenharmony_ci
86f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032867,
87f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.invalidate.targ",
88f6603c60Sopenharmony_ci        "et.read_framebuffer_draw_framebuffer_color");
89f6603c60Sopenharmony_ci
90f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032868,
91f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.invalidate.target.r",
92f6603c60Sopenharmony_ci        "ead_framebuffer_draw_framebuffer_depth_stencil");
93f6603c60Sopenharmony_ci
94f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032869,
95f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.invalidate.tar",
96f6603c60Sopenharmony_ci        "get.read_framebuffer_draw_framebuffer_all");
97f6603c60Sopenharmony_ci
98f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032870,
99f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.invalidate.ta",
100f6603c60Sopenharmony_ci        "rget.draw_framebuffer_framebuffer_color");
101f6603c60Sopenharmony_ci
102f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032871,
103f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.invalidate.target",
104f6603c60Sopenharmony_ci        ".draw_framebuffer_framebuffer_depth_stencil");
105f6603c60Sopenharmony_ci
106f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032872,
107f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.invalidate.t",
108f6603c60Sopenharmony_ci        "arget.draw_framebuffer_framebuffer_all");
109f6603c60Sopenharmony_ci
110f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032873,
111f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.invalidate.targ",
112f6603c60Sopenharmony_ci        "et.draw_framebuffer_read_framebuffer_color");
113f6603c60Sopenharmony_ci
114f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032874,
115f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.invalidate.target.d",
116f6603c60Sopenharmony_ci        "raw_framebuffer_read_framebuffer_depth_stencil");
117f6603c60Sopenharmony_ci
118f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032875,
119f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.invalidate.tar",
120f6603c60Sopenharmony_ci        "get.draw_framebuffer_read_framebuffer_all");
121f6603c60Sopenharmony_ci
122f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032876,
123f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.invalidate.targ",
124f6603c60Sopenharmony_ci        "et.draw_framebuffer_draw_framebuffer_color");
125f6603c60Sopenharmony_ci
126f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032877,
127f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.invalidate.target.d",
128f6603c60Sopenharmony_ci        "raw_framebuffer_draw_framebuffer_depth_stencil");
129f6603c60Sopenharmony_ci
130f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032878,
131f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.invalidate.tar",
132f6603c60Sopenharmony_ci        "get.draw_framebuffer_draw_framebuffer_all");
133