src/third_party/angle/src/tests/egl_tests/EGLSurfaceTest.cpp
// Test drawing and checking the color is correct
Test drawing and checking the color is correct
Test drawing and checking the color is correct
TEST_P(EGLFloatSurfaceTest, Drawing)
{
    ANGLE_SKIP_TEST_IF(!initializeSurfaceWithFloatConfig());
    ASSERT_NE(0u, mProgram) << "shader compilation failed.";
    ASSERT_GL_NO_ERROR();
    glUseProgram(mProgram);
    drawQuad(mProgram, essl1_shaders::PositionAttrib(), 0.5f);
    EXPECT_PIXEL_32F_EQ(0, 0, 1.0f, 2.0f, 3.0f, 4.0f);
}
TEST_P ( EGLFloatSurfaceTest , Drawing ) { ANGLE_SKIP_TEST_IF ( ! initializeSurfaceWithFloatConfig ( ) ) ; ASSERT_NE ( 0u , mProgram ) << " " ; ASSERT_GL_NO_ERROR ( ) ; glUseProgram ( mProgram ) ; drawQuad ( mProgram , essl1_shaders :: PositionAttrib ( ) , 0.5f ) ; EXPECT_PIXEL_32F_EQ ( 0 , 0 , 1.0f , 2.0f , 3.0f , 4.0f ) ; }
Test drawing and checking the color is correct
Test drawing and checking the color is correct