// // Copyright 2023 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // PVRTCCompressedTextureTest.cpp: Sampling tests for PVRTC texture formats // Invalid usage errors are covered by CompressedTextureFormatsTest. #include "test_utils/ANGLETest.h" #include "test_utils/gl_raii.h" usingnamespaceangle; class PVRTCCompressedTextureTestES3 : public ANGLETest<> { … }; // Test uploading texture data from a PBO to an RGB_PVRTC_4BPPV1 texture. TEST_P(PVRTCCompressedTextureTestES3, RGB_PVRTC_4BPPV1) { … } // Test uploading texture data from a PBO to an RGBA_PVRTC_4BPPV1 texture. TEST_P(PVRTCCompressedTextureTestES3, RGBA_PVRTC_4BPPV1) { … } // Test uploading texture data from a PBO to an RGB_PVRTC_2BPPV1 texture. TEST_P(PVRTCCompressedTextureTestES3, RGB_PVRTC_2BPPV1) { … } // Test uploading texture data from a PBO to an RGBA_PVRTC_2BPPV1 texture. TEST_P(PVRTCCompressedTextureTestES3, RGBA_PVRTC_2BPPV1) { … } // Test uploading texture data from a PBO to an SRGB_PVRTC_4BPPV1 texture. TEST_P(PVRTCCompressedTextureTestES3, SRGB_PVRTC_4BPPV1) { … } // Test uploading texture data from a PBO to an SRGB_ALPHA_PVRTC_4BPPV1 texture. TEST_P(PVRTCCompressedTextureTestES3, SRGB_ALPHA_PVRTC_4BPPV1) { … } // Test uploading texture data from a PBO to an SRGB_PVRTC_2BPPV1 texture. TEST_P(PVRTCCompressedTextureTestES3, SRGB_PVRTC_2BPPV1) { … } // Test uploading texture data from a PBO to an SRGB_ALPHA_PVRTC_2BPPV1 texture. TEST_P(PVRTCCompressedTextureTestES3, SRGB_ALPHA_PVRTC_2BPPV1) { … } GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(…); ANGLE_INSTANTIATE_TEST_ES3(…);