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 "../ActsDeqpgles30025TestSuite.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(ActsDeqpgles30025TestSuite, TestCase_024187,
27         "dEQP-GLES3.functional.texture.f",
28         "iltering.cube.sizes.8x8_nearest");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024188,
31         "dEQP-GLES3.functional.texture.",
32         "filtering.cube.sizes.8x8_linear");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024189,
35         "dEQP-GLES3.functional.texture.filterin",
36         "g.cube.sizes.8x8_nearest_mipmap_nearest");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024190,
39         "dEQP-GLES3.functional.texture.filterin",
40         "g.cube.sizes.8x8_linear_mipmap_nearest");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024191,
43         "dEQP-GLES3.functional.texture.filterin",
44         "g.cube.sizes.8x8_nearest_mipmap_linear");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024192,
47         "dEQP-GLES3.functional.texture.filteri",
48         "ng.cube.sizes.8x8_linear_mipmap_linear");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024193,
51         "dEQP-GLES3.functional.texture.fi",
52         "ltering.cube.sizes.64x64_nearest");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024194,
55         "dEQP-GLES3.functional.texture.f",
56         "iltering.cube.sizes.64x64_linear");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024195,
59         "dEQP-GLES3.functional.texture.filtering",
60         ".cube.sizes.64x64_nearest_mipmap_nearest");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024196,
63         "dEQP-GLES3.functional.texture.filtering",
64         ".cube.sizes.64x64_linear_mipmap_nearest");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024197,
67         "dEQP-GLES3.functional.texture.filtering",
68         ".cube.sizes.64x64_nearest_mipmap_linear");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024198,
71         "dEQP-GLES3.functional.texture.filterin",
72         "g.cube.sizes.64x64_linear_mipmap_linear");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024199,
75         "dEQP-GLES3.functional.texture.fil",
76         "tering.cube.sizes.128x128_nearest");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024200,
79         "dEQP-GLES3.functional.texture.fi",
80         "ltering.cube.sizes.128x128_linear");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024201,
83         "dEQP-GLES3.functional.texture.filtering.",
84         "cube.sizes.128x128_nearest_mipmap_nearest");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024202,
87         "dEQP-GLES3.functional.texture.filtering.",
88         "cube.sizes.128x128_linear_mipmap_nearest");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024203,
91         "dEQP-GLES3.functional.texture.filtering.",
92         "cube.sizes.128x128_nearest_mipmap_linear");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024204,
95         "dEQP-GLES3.functional.texture.filtering",
96         ".cube.sizes.128x128_linear_mipmap_linear");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024205,
99         "dEQP-GLES3.functional.texture.f",
100         "iltering.cube.sizes.7x7_nearest");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024206,
103         "dEQP-GLES3.functional.texture.",
104         "filtering.cube.sizes.7x7_linear");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024207,
107         "dEQP-GLES3.functional.texture.filterin",
108         "g.cube.sizes.7x7_nearest_mipmap_nearest");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024208,
111         "dEQP-GLES3.functional.texture.filterin",
112         "g.cube.sizes.7x7_linear_mipmap_nearest");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024209,
115         "dEQP-GLES3.functional.texture.filterin",
116         "g.cube.sizes.7x7_nearest_mipmap_linear");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024210,
119         "dEQP-GLES3.functional.texture.filteri",
120         "ng.cube.sizes.7x7_linear_mipmap_linear");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024211,
123         "dEQP-GLES3.functional.texture.fi",
124         "ltering.cube.sizes.63x63_nearest");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024212,
127         "dEQP-GLES3.functional.texture.f",
128         "iltering.cube.sizes.63x63_linear");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024213,
131         "dEQP-GLES3.functional.texture.filtering",
132         ".cube.sizes.63x63_nearest_mipmap_nearest");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024214,
135         "dEQP-GLES3.functional.texture.filtering",
136         ".cube.sizes.63x63_linear_mipmap_nearest");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024215,
139         "dEQP-GLES3.functional.texture.filtering",
140         ".cube.sizes.63x63_nearest_mipmap_linear");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024216,
143         "dEQP-GLES3.functional.texture.filterin",
144         "g.cube.sizes.63x63_linear_mipmap_linear");
145