#include <gtest/gtest.h>
#include "common/platform.h"
#include "test_utils/ANGLETest.h"
#include "test_utils/gl_raii.h"
usingnamespaceangle;
class ContextNoErrorTest : public ANGLETest<>
{ … };
class ContextNoErrorTestES3 : public ContextNoErrorTest
{ … };
class ContextNoErrorPPOTest31 : public ContextNoErrorTest
{ … };
void ContextNoErrorPPOTest31::bindProgramPipeline(const GLchar *vertString,
const GLchar *fragString)
{ … }
void ContextNoErrorPPOTest31::drawQuadWithPPO(const std::string &positionAttribName,
const GLfloat positionAttribZ,
const GLfloat positionAttribXYScale)
{ … }
TEST_P(ContextNoErrorTest, NoError)
{ … }
TEST_P(ContextNoErrorTest, DetachAfterLink)
{ … }
TEST_P(ContextNoErrorPPOTest31, DrawWithPPO)
{ … }
TEST_P(ContextNoErrorPPOTest31, DrawWithProgramThenPPO)
{ … }
TEST_P(ContextNoErrorPPOTest31, UseProgramStagesWithDifferentPrograms)
{ … }
TEST_P(ContextNoErrorPPOTest31, RepeatedCallToUseProgramStagesWithSamePrograms)
{ … }
TEST_P(ContextNoErrorTest, InvalidGetIntegerDoesNotCrash)
{ … }
TEST_P(ContextNoErrorTest, InvalidTextureType)
{ … }
TEST_P(ContextNoErrorTestES3, DrawWithRelinkedProgram)
{ … }
ANGLE_INSTANTIATE_TEST_ES2_AND_ES3(…);
ANGLE_INSTANTIATE_TEST_ES3(…);
GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(…);
ANGLE_INSTANTIATE_TEST_ES31(…);