#include "test_utils/ANGLETest.h"
#include "test_utils/gl_raii.h"
#include "common/mathutil.h"
#include "platform/autogen/FeaturesD3D_autogen.h"
usingnamespaceangle;
struct ReadbackTestParam
{ … };
class DepthStencilFormatsTestBase : public ANGLETest<>
{ … };
class DepthStencilFormatsTest : public DepthStencilFormatsTestBase
{ … };
class DepthStencilFormatsTestES3 : public DepthStencilFormatsTestBase
{ … };
TEST_P(DepthStencilFormatsTest, DepthTexture)
{ … }
TEST_P(DepthStencilFormatsTest, PackedDepthStencil)
{ … }
void DepthStencilFormatsTestBase::depthStencilReadbackCase(const ReadbackTestParam &type)
{ … }
TEST_P(DepthStencilFormatsTest, DepthStencilReadback_UShort)
{ … }
TEST_P(DepthStencilFormatsTest, DepthStencilReadback_UInt)
{ … }
TEST_P(DepthStencilFormatsTest, DepthStencilReadback_Float)
{ … }
TEST_P(DepthStencilFormatsTest, DepthStencilReadback_DepthStencil)
{ … }
TEST_P(DepthStencilFormatsTestES3, DepthStencilReadback_DepthFloatStencil)
{ … }
TEST_P(DepthStencilFormatsTest, DepthTextureRender)
{ … }
TEST_P(DepthStencilFormatsTest, DepthBuffer16)
{ … }
TEST_P(DepthStencilFormatsTest, DepthBuffer24)
{ … }
TEST_P(DepthStencilFormatsTestES3, DrawWithDepth16)
{ … }
TEST_P(DepthStencilFormatsTestES3, DrawWithLargeViewport)
{ … }
TEST_P(DepthStencilFormatsTest, VerifyDepthStencilUploadData)
{ … }
TEST_P(DepthStencilFormatsTest, VerifyDepth32UploadData)
{ … }
TEST_P(DepthStencilFormatsTest, VerifyDepth16UploadData)
{ … }
class DepthStencilFormatsTestES31 : public DepthStencilFormatsTestBase
{ … };
TEST_P(DepthStencilFormatsTestES31, DrawReadDrawDispatch)
{ … }
ANGLE_INSTANTIATE_TEST_ES2(…);
GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(…);
ANGLE_INSTANTIATE_TEST_ES3(…);
GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(…);
ANGLE_INSTANTIATE_TEST_ES31(…);
class TinyDepthStencilWorkaroundTest : public ANGLETest<>
{ … };
TEST_P(TinyDepthStencilWorkaroundTest, DepthTexturesStick)
{ … }
TEST_P(DepthStencilFormatsTestES31, ReadDepthStencilInComputeShader)
{ … }
GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(…);
ANGLE_INSTANTIATE_TEST_ES3_AND(…);