aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/GpuBitmapCopyTest.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-02-06 18:17:50 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-02-06 18:17:50 +0000
commit9c68058b679aee81e6e0158e7fcbfb5d8479c91a (patch)
tree94026a8f32ed51e761efd79b72c350b58741539f /tests/GpuBitmapCopyTest.cpp
parent2fd0979c2d038d75233a4c3eb62f224d1fdfd90e (diff)
Fix WritePixels test on ANGLE.
Don't upload BGRA to RGBA if not supported (ES2 w/ EXT BGRA extension). R=senorblanco@chromium.org Review URL: https://codereview.appspot.com/7305046 git-svn-id: http://skia.googlecode.com/svn/trunk@7622 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests/GpuBitmapCopyTest.cpp')
-rw-r--r--tests/GpuBitmapCopyTest.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/GpuBitmapCopyTest.cpp b/tests/GpuBitmapCopyTest.cpp
index cf9139c952..22141e54de 100644
--- a/tests/GpuBitmapCopyTest.cpp
+++ b/tests/GpuBitmapCopyTest.cpp
@@ -107,11 +107,6 @@ static void TestGpuBitmapCopy(skiatest::Reporter* reporter, GrContextFactory* fa
if (!GrContextFactory::IsRenderingGLContext(glType)) {
continue;
}
-#if SK_ANGLE // This test breaks ANGLE: memcmps fail and readpixels return value is false.
- if (type == GrContextFactory::kANGLE_GLContextType) {
- continue;
- }
-#endif
GrContext* grContext = factory->get(glType);
if (NULL == grContext) {