#include "test_utils/ANGLETest.h"
#include <array>
#include "test_utils/gl_raii.h"
#include "util/random_utils.h"
usingnamespaceangle;
namespace
{
class ReadPixelsTest : public ANGLETest<>
{ … };
TEST_P(ReadPixelsTest, OutOfBounds)
{ … }
class ReadPixelsPBONVTest : public ReadPixelsTest
{ … };
TEST_P(ReadPixelsPBONVTest, Basic)
{ … }
TEST_P(ReadPixelsPBONVTest, SubDataPreservesContents)
{ … }
TEST_P(ReadPixelsPBONVTest, DynamicPBO)
{ … }
TEST_P(ReadPixelsPBONVTest, ReadFromFBO)
{ … }
TEST_P(ReadPixelsPBONVTest, ReadFromFBOWithDataOffset)
{ … }
class ReadPixelsPBOTest : public ReadPixelsPBONVTest
{ … };
TEST_P(ReadPixelsPBOTest, Basic)
{ … }
TEST_P(ReadPixelsPBOTest, Snorm)
{ … }
TEST_P(ReadPixelsPBOTest, PBOTooSmall)
{ … }
TEST_P(ReadPixelsPBOTest, PBOMapped)
{ … }
TEST_P(ReadPixelsPBOTest, ArrayBufferTarget)
{ … }
TEST_P(ReadPixelsPBOTest, ExistingDataPreserved)
{ … }
TEST_P(ReadPixelsPBOTest, SubDataPreservesContents)
{ … }
TEST_P(ReadPixelsPBOTest, SubDataOffsetPreservesContents)
{ … }
TEST_P(ReadPixelsPBOTest, UseAsUBOThenUpdateThenReadFromFBO)
{ … }
TEST_P(ReadPixelsPBOTest, SmallRowLength)
{ … }
class ReadPixelsPBODrawTest : public ReadPixelsPBOTest
{ … };
TEST_P(ReadPixelsPBODrawTest, DrawWithPBO)
{ … }
TEST_P(ReadPixelsPBODrawTest, UpdateVertexArrayWithPixelPack)
{ … }
class ReadPixelsTextureNorm16PBOTest : public ReadPixelsTest
{ … };
TEST_P(ReadPixelsTextureNorm16PBOTest, RGBA16_RGBA)
{ … }
TEST_P(ReadPixelsTextureNorm16PBOTest, RG16_RGBA)
{ … }
TEST_P(ReadPixelsTextureNorm16PBOTest, RG16_RG)
{ … }
TEST_P(ReadPixelsTextureNorm16PBOTest, R16_RGBA)
{ … }
TEST_P(ReadPixelsTextureNorm16PBOTest, R16_RED)
{ … }
TEST_P(ReadPixelsTextureNorm16PBOTest, RGBA16_SNORM_RGBA)
{ … }
TEST_P(ReadPixelsTextureNorm16PBOTest, RG16_SNORM_RGBA)
{ … }
TEST_P(ReadPixelsTextureNorm16PBOTest, RG16_SNORM_RG)
{ … }
TEST_P(ReadPixelsTextureNorm16PBOTest, R16_SNORM_RGBA)
{ … }
TEST_P(ReadPixelsTextureNorm16PBOTest, R16_SNORM_RED)
{ … }
class ReadPixelsMultisampleTest : public ReadPixelsTest
{ … };
TEST_P(ReadPixelsMultisampleTest, BasicClear)
{ … }
class ReadPixelsTextureTest : public ANGLETest<>
{ … };
TEST_P(ReadPixelsTextureTest, BasicAttachment3D)
{ … }
TEST_P(ReadPixelsTextureTest, MipAttachment3D)
{ … }
TEST_P(ReadPixelsTextureTest, LayerAttachment3D)
{ … }
TEST_P(ReadPixelsTextureTest, MipLayerAttachment3D)
{ … }
TEST_P(ReadPixelsTextureTest, BasicAttachment2DArray)
{ … }
TEST_P(ReadPixelsTextureTest, MipAttachment2DArray)
{ … }
TEST_P(ReadPixelsTextureTest, LayerAttachment2DArray)
{ … }
TEST_P(ReadPixelsTextureTest, MipLayerAttachment2DArray)
{ … }
TEST_P(ReadPixelsTextureTest, BasicAttachment3DPBO)
{ … }
TEST_P(ReadPixelsTextureTest, MipAttachment3DPBO)
{ … }
TEST_P(ReadPixelsTextureTest, LayerAttachment3DPBO)
{ … }
TEST_P(ReadPixelsTextureTest, MipLayerAttachment3DPBO)
{ … }
TEST_P(ReadPixelsTextureTest, BasicAttachment2DArrayPBO)
{ … }
TEST_P(ReadPixelsTextureTest, MipAttachment2DArrayPBO)
{ … }
TEST_P(ReadPixelsTextureTest, LayerAttachment2DArrayPBO)
{ … }
TEST_P(ReadPixelsTextureTest, MipLayerAttachment2DArrayPBO)
{ … }
class ReadPixelsErrorTest : public ReadPixelsTest
{ … };
TEST_P(ReadPixelsErrorTest, ReadBufferIsNone)
{ … }
TEST_P(ReadPixelsErrorTest, ColorBufferSnorm8)
{ … }
TEST_P(ReadPixelsErrorTest, ColorBufferSnorm16)
{ … }
class ReadPixelsWebGLErrorTest : public ReadPixelsTest
{ … };
TEST_P(ReadPixelsWebGLErrorTest, TypeIsUnsignedInt24_8)
{ … }
TEST_P(ReadPixelsWebGLErrorTest, FormatIsDepthComponent)
{ … }
}
ANGLE_INSTANTIATE_TEST_ES2(…);
ANGLE_INSTANTIATE_TEST_ES2(…);
GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(…);
ANGLE_INSTANTIATE_TEST_ES3(…);
GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(…);
ANGLE_INSTANTIATE_TEST_ES3_AND(…);
GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(…);
ANGLE_INSTANTIATE_TEST_ES3(…);
GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(…);
ANGLE_INSTANTIATE_TEST_ES3(…);
GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(…);
ANGLE_INSTANTIATE_TEST_ES3(…);
GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(…);
ANGLE_INSTANTIATE_TEST_ES3(…);
GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(…);
ANGLE_INSTANTIATE_TEST_ES3(…);