Chromium Code Reviews| Index: gpu/command_buffer/tests/gl_readback_unittest.cc |
| diff --git a/gpu/command_buffer/tests/gl_readback_unittest.cc b/gpu/command_buffer/tests/gl_readback_unittest.cc |
| index c9038dc9973f6e632a9bb4ebe95bf39b5e801cbb..0c728e425f15d2b97124bb44d3db85bfeff0d6fc 100644 |
| --- a/gpu/command_buffer/tests/gl_readback_unittest.cc |
| +++ b/gpu/command_buffer/tests/gl_readback_unittest.cc |
| @@ -141,7 +141,16 @@ static GLuint CompileShader(GLenum type, const char *data) { |
| return shader; |
| } |
| -TEST_F(GLReadbackTest, ReadPixelsFloat) { |
| +// TODO(zmo): ReadPixels with float type isn't implemented in ANGLE ES2 |
| +// backend. crbug.com/607283. |
| +// TODO(zmo): This test also fails on some android devices when the readback |
| +// type is HALF_FLOAT_OES. Likely it's due to a driver bug. crbug.com/607936. |
|
Zhenyao Mo
2016/04/29 18:16:48
This is the added part from the original CL: in th
|
| +#if defined(OS_WIN) || defined(OS_ANDROID) |
| +#define MAYBE_ReadPixelsFloat DISABLED_ReadPixelsFloat |
| +#else |
| +#define MAYBE_ReadPixelsFloat ReadPixelsFloat |
| +#endif |
| +TEST_F(GLReadbackTest, MAYBE_ReadPixelsFloat) { |
| const GLsizei kTextureSize = 4; |
| const GLfloat kDrawColor[4] = { -10.9f, 0.5f, 10.5f, 100.12f }; |
| const GLfloat kEpsilon = 0.01f; |