chromium/third_party/angle/src/tests/gl_tests/DXT1CompressedTextureTest.cpp

//
// Copyright 2015 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.
//

#include "test_utils/ANGLETest.h"
#include "test_utils/gl_raii.h"

#include "media/pixel.inc"

usingnamespaceangle;

class DXT1CompressedTextureTest : public ANGLETest<>
{};

TEST_P(DXT1CompressedTextureTest, CompressedTexImage)
{}

// Verify that DXT1 RGB textures have 1.0 alpha when sampled
TEST_P(DXT1CompressedTextureTest, DXT1Alpha)
{}

TEST_P(DXT1CompressedTextureTest, CompressedTexStorage)
{}

// Test validation of non block sizes, width 672 and height 114 and multiple mip levels
TEST_P(DXT1CompressedTextureTest, NonBlockSizesMipLevels)
{}

// Test validation of glCompressedTexSubImage2D with DXT formats
TEST_P(DXT1CompressedTextureTest, CompressedTexSubImageValidation)
{}

// Test that it's not possible to call CopyTexSubImage2D on a compressed texture
TEST_P(DXT1CompressedTextureTest, CopyTexSubImage2DDisallowed)
{}

TEST_P(DXT1CompressedTextureTest, PBOCompressedTexStorage)
{}

class DXT1CompressedTextureTestES3 : public DXT1CompressedTextureTest
{};

TEST_P(DXT1CompressedTextureTestES3, PBOCompressedTexImage)
{}

// Test validation of glCompressedTexSubImage3D with DXT formats
TEST_P(DXT1CompressedTextureTestES3, CompressedTexSubImageValidation)
{}

// Test validation of glCompressedTexSubImage3D with per-slice data uploads
TEST_P(DXT1CompressedTextureTestES3, CompressedTexSubImage3DValidationPerSlice)
{}

// Test validation of glCompressedTexSubImage3D with combined per-level data uploads
TEST_P(DXT1CompressedTextureTestES3, CompressedTexSubImage3DValidationPerLevel)
{}

// Test validation of glCompressedTexSubImage3D with DXT formats
TEST_P(DXT1CompressedTextureTestES3, CopyTexSubImage3DDisallowed)
{}

class DXT1CompressedTextureTestWebGL2 : public DXT1CompressedTextureTest
{};

// Regression test for https://crbug.com/1289428
TEST_P(DXT1CompressedTextureTestWebGL2, InitializeTextureContents)
{}

ANGLE_INSTANTIATE_TEST_ES2_AND_ES3();

GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST();
ANGLE_INSTANTIATE_TEST_ES3_AND();

ANGLE_INSTANTIATE_TEST_ES3();