1 /*
2  * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 #include <climits>
17 #include <gtest/gtest.h>
18 #include "../Deqpgles3BaseFunc.h"
19 #include "../ActsDeqpgles30001TestSuite.h"
20 #include "shrinkdefine.h"
21 
22 using namespace std;
23 using namespace testing::ext;
24 using namespace OHOS;
25 
26 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000505,
27         "dEQP-GLES3.functional.buffer.map.wri",
28         "te.partial_invalidate.array_write_all");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000506,
31         "dEQP-GLES3.functional.buffer.map.write",
32         ".partial_invalidate.array_write_partial");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000507,
35         "dEQP-GLES3.functional.buffer.map.write",
36         ".partial_invalidate.copy_read_write_all");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000508,
39         "dEQP-GLES3.functional.buffer.map.write.p",
40         "artial_invalidate.copy_read_write_partial");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000509,
43         "dEQP-GLES3.functional.buffer.map.write.",
44         "partial_invalidate.copy_write_write_all");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000510,
47         "dEQP-GLES3.functional.buffer.map.write.pa",
48         "rtial_invalidate.copy_write_write_partial");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000511,
51         "dEQP-GLES3.functional.buffer.map.write.p",
52         "artial_invalidate.element_array_write_all");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000512,
55         "dEQP-GLES3.functional.buffer.map.write.par",
56         "tial_invalidate.element_array_write_partial");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000513,
59         "dEQP-GLES3.functional.buffer.map.write.",
60         "partial_invalidate.pixel_pack_write_all");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000514,
63         "dEQP-GLES3.functional.buffer.map.write.pa",
64         "rtial_invalidate.pixel_pack_write_partial");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000515,
67         "dEQP-GLES3.functional.buffer.map.write.p",
68         "artial_invalidate.pixel_unpack_write_all");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000516,
71         "dEQP-GLES3.functional.buffer.map.write.par",
72         "tial_invalidate.pixel_unpack_write_partial");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000517,
75         "dEQP-GLES3.functional.buffer.map.write.part",
76         "ial_invalidate.transform_feedback_write_all");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000518,
79         "dEQP-GLES3.functional.buffer.map.write.partia",
80         "l_invalidate.transform_feedback_write_partial");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000519,
83         "dEQP-GLES3.functional.buffer.map.writ",
84         "e.partial_invalidate.uniform_write_all");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000520,
87         "dEQP-GLES3.functional.buffer.map.write.",
88         "partial_invalidate.uniform_write_partial");
89