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 "../Deqpgles2BaseFunc.h"
19#include "../ActsDeqpgles20011TestSuite.h"
20#include "shrinkdefine.h"
21
22using namespace std;
23using namespace testing::ext;
24using namespace OHOS;
25
26static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010625,
27        "dEQP-GLES2.functional.texture",
28        ".mipmap.2d.generate.a8_fastest");
29
30static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010626,
31        "dEQP-GLES2.functional.texture",
32        ".mipmap.2d.generate.a8_nicest");
33
34static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010627,
35        "dEQP-GLES2.functional.texture.mipma",
36        "p.2d.generate.a8_non_square_fastest");
37
38static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010628,
39        "dEQP-GLES2.functional.texture.mipm",
40        "ap.2d.generate.a8_non_square_nicest");
41
42static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010629,
43        "dEQP-GLES2.functional.texture",
44        ".mipmap.2d.generate.l8_fastest");
45
46static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010630,
47        "dEQP-GLES2.functional.texture",
48        ".mipmap.2d.generate.l8_nicest");
49
50static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010631,
51        "dEQP-GLES2.functional.texture.mipma",
52        "p.2d.generate.l8_non_square_fastest");
53
54static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010632,
55        "dEQP-GLES2.functional.texture.mipm",
56        "ap.2d.generate.l8_non_square_nicest");
57
58static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010633,
59        "dEQP-GLES2.functional.texture.",
60        "mipmap.2d.generate.la88_fastest");
61
62static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010634,
63        "dEQP-GLES2.functional.texture.",
64        "mipmap.2d.generate.la88_nicest");
65
66static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010635,
67        "dEQP-GLES2.functional.texture.mipmap",
68        ".2d.generate.la88_non_square_fastest");
69
70static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010636,
71        "dEQP-GLES2.functional.texture.mipma",
72        "p.2d.generate.la88_non_square_nicest");
73
74static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010637,
75        "dEQP-GLES2.functional.texture.m",
76        "ipmap.2d.generate.rgb565_fastest");
77
78static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010638,
79        "dEQP-GLES2.functional.texture.m",
80        "ipmap.2d.generate.rgb565_nicest");
81
82static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010639,
83        "dEQP-GLES2.functional.texture.mipmap.",
84        "2d.generate.rgb565_non_square_fastest");
85
86static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010640,
87        "dEQP-GLES2.functional.texture.mipmap",
88        ".2d.generate.rgb565_non_square_nicest");
89
90static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010641,
91        "dEQP-GLES2.functional.texture.m",
92        "ipmap.2d.generate.rgb888_fastest");
93
94static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010642,
95        "dEQP-GLES2.functional.texture.m",
96        "ipmap.2d.generate.rgb888_nicest");
97
98static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010643,
99        "dEQP-GLES2.functional.texture.mipmap.",
100        "2d.generate.rgb888_non_square_fastest");
101
102static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010644,
103        "dEQP-GLES2.functional.texture.mipmap",
104        ".2d.generate.rgb888_non_square_nicest");
105
106static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010645,
107        "dEQP-GLES2.functional.texture.mi",
108        "pmap.2d.generate.rgba4444_fastest");
109
110static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010646,
111        "dEQP-GLES2.functional.texture.mi",
112        "pmap.2d.generate.rgba4444_nicest");
113
114static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010647,
115        "dEQP-GLES2.functional.texture.mipmap.2",
116        "d.generate.rgba4444_non_square_fastest");
117
118static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010648,
119        "dEQP-GLES2.functional.texture.mipmap.",
120        "2d.generate.rgba4444_non_square_nicest");
121
122static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010649,
123        "dEQP-GLES2.functional.texture.mi",
124        "pmap.2d.generate.rgba5551_fastest");
125
126static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010650,
127        "dEQP-GLES2.functional.texture.mi",
128        "pmap.2d.generate.rgba5551_nicest");
129
130static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010651,
131        "dEQP-GLES2.functional.texture.mipmap.2",
132        "d.generate.rgba5551_non_square_fastest");
133
134static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010652,
135        "dEQP-GLES2.functional.texture.mipmap.",
136        "2d.generate.rgba5551_non_square_nicest");
137
138static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010653,
139        "dEQP-GLES2.functional.texture.mi",
140        "pmap.2d.generate.rgba8888_fastest");
141
142static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010654,
143        "dEQP-GLES2.functional.texture.mi",
144        "pmap.2d.generate.rgba8888_nicest");
145
146static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010655,
147        "dEQP-GLES2.functional.texture.mipmap.2",
148        "d.generate.rgba8888_non_square_fastest");
149
150static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010656,
151        "dEQP-GLES2.functional.texture.mipmap.",
152        "2d.generate.rgba8888_non_square_nicest");
153