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_000521,
27         "dEQP-GLES3.functional.buffer.ma",
28         "p.write.explicit_flush.array_all");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000522,
31         "dEQP-GLES3.functional.buffer.map.",
32         "write.explicit_flush.array_partial");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000523,
35         "dEQP-GLES3.functional.buffer.map.",
36         "write.explicit_flush.copy_read_all");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000524,
39         "dEQP-GLES3.functional.buffer.map.wr",
40         "ite.explicit_flush.copy_read_partial");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000525,
43         "dEQP-GLES3.functional.buffer.map.w",
44         "rite.explicit_flush.copy_write_all");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000526,
47         "dEQP-GLES3.functional.buffer.map.wri",
48         "te.explicit_flush.copy_write_partial");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000527,
51         "dEQP-GLES3.functional.buffer.map.wr",
52         "ite.explicit_flush.element_array_all");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000528,
55         "dEQP-GLES3.functional.buffer.map.writ",
56         "e.explicit_flush.element_array_partial");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000529,
59         "dEQP-GLES3.functional.buffer.map.w",
60         "rite.explicit_flush.pixel_pack_all");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000530,
63         "dEQP-GLES3.functional.buffer.map.wri",
64         "te.explicit_flush.pixel_pack_partial");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000531,
67         "dEQP-GLES3.functional.buffer.map.wr",
68         "ite.explicit_flush.pixel_unpack_all");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000532,
71         "dEQP-GLES3.functional.buffer.map.writ",
72         "e.explicit_flush.pixel_unpack_partial");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000533,
75         "dEQP-GLES3.functional.buffer.map.write",
76         ".explicit_flush.transform_feedback_all");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000534,
79         "dEQP-GLES3.functional.buffer.map.write.e",
80         "xplicit_flush.transform_feedback_partial");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000535,
83         "dEQP-GLES3.functional.buffer.map",
84         ".write.explicit_flush.uniform_all");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000536,
87         "dEQP-GLES3.functional.buffer.map.w",
88         "rite.explicit_flush.uniform_partial");
89