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 "../Deqpgles31BaseFunc.h" 19 #include "../ActsDeqpgles310015TestSuite.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(ActsDeqpgles310015TestSuite, TestCase_014154, 27 "dEQP-GLES31.functional.texture.texture_buffer.m", 28 "odify_render.mapbuffer_readwrite.as_vertex_array"); 29 30 static SHRINK_HWTEST_F(ActsDeqpgles310015TestSuite, TestCase_014155, 31 "dEQP-GLES31.functional.texture.texture_buffer.m", 32 "odify_render.mapbuffer_readwrite.as_index_array"); 33 34 static SHRINK_HWTEST_F(ActsDeqpgles310015TestSuite, TestCase_014156, 35 "dEQP-GLES31.functional.texture.texture_buffer.modify_re", 36 "nder.mapbuffer_readwrite.as_vertex_array_as_index_array"); 37 38 static SHRINK_HWTEST_F(ActsDeqpgles310015TestSuite, TestCase_014157, 39 "dEQP-GLES31.functional.texture.texture_buffer.mo", 40 "dify_render.mapbuffer_readwrite.as_vertex_texture"); 41 42 static SHRINK_HWTEST_F(ActsDeqpgles310015TestSuite, TestCase_014158, 43 "dEQP-GLES31.functional.texture.texture_buffer.modify_ren", 44 "der.mapbuffer_readwrite.as_vertex_array_as_vertex_texture"); 45 46 static SHRINK_HWTEST_F(ActsDeqpgles310015TestSuite, TestCase_014159, 47 "dEQP-GLES31.functional.texture.texture_buffer.modify_ren", 48 "der.mapbuffer_readwrite.as_index_array_as_vertex_texture"); 49 50 static SHRINK_HWTEST_F(ActsDeqpgles310015TestSuite, TestCase_014160, 51 "dEQP-GLES31.functional.texture.texture_buffer.modify_render.mapb", 52 "uffer_readwrite.as_vertex_array_as_index_array_as_vertex_texture"); 53 54 static SHRINK_HWTEST_F(ActsDeqpgles310015TestSuite, TestCase_014161, 55 "dEQP-GLES31.functional.texture.texture_buffer.mod", 56 "ify_render.mapbuffer_readwrite.as_fragment_texture"); 57 58 static SHRINK_HWTEST_F(ActsDeqpgles310015TestSuite, TestCase_014162, 59 "dEQP-GLES31.functional.texture.texture_buffer.modify_rend", 60 "er.mapbuffer_readwrite.as_vertex_array_as_fragment_texture"); 61 62 static SHRINK_HWTEST_F(ActsDeqpgles310015TestSuite, TestCase_014163, 63 "dEQP-GLES31.functional.texture.texture_buffer.modify_rend", 64 "er.mapbuffer_readwrite.as_index_array_as_fragment_texture"); 65 66 static SHRINK_HWTEST_F(ActsDeqpgles310015TestSuite, TestCase_014164, 67 "dEQP-GLES31.functional.texture.texture_buffer.modify_render.mapbu", 68 "ffer_readwrite.as_vertex_array_as_index_array_as_fragment_texture"); 69 70 static SHRINK_HWTEST_F(ActsDeqpgles310015TestSuite, TestCase_014165, 71 "dEQP-GLES31.functional.texture.texture_buffer.modify_rende", 72 "r.mapbuffer_readwrite.as_vertex_texture_as_fragment_texture"); 73 74 static SHRINK_HWTEST_F(ActsDeqpgles310015TestSuite, TestCase_014166, 75 "dEQP-GLES31.functional.texture.texture_buffer.modify_render.mapbuf", 76 "fer_readwrite.as_vertex_array_as_vertex_texture_as_fragment_texture"); 77 78 static SHRINK_HWTEST_F(ActsDeqpgles310015TestSuite, TestCase_014167, 79 "dEQP-GLES31.functional.texture.texture_buffer.modify_render.mapbuf", 80 "fer_readwrite.as_index_array_as_vertex_texture_as_fragment_texture"); 81 82 static SHRINK_HWTEST_F(ActsDeqpgles310015TestSuite, TestCase_014168, 83 "dEQP-GLES31.functional.texture.texture_buffer.modify_render.mapbuffer_read", 84 "write.as_vertex_array_as_index_array_as_vertex_texture_as_fragment_texture"); 85