Index: tests/SurfaceTest.cpp |
diff --git a/tests/SurfaceTest.cpp b/tests/SurfaceTest.cpp |
index b755a7ed77d9eaf9033940bf40b0bbc60cbc055d..1f362f427b1f0f1bd8ac04130b4f710c785b708f 100644 |
--- a/tests/SurfaceTest.cpp |
+++ b/tests/SurfaceTest.cpp |
@@ -560,6 +560,7 @@ DEF_GPUTEST_FOR_RENDERING_CONTEXTS(SurfacepeekTexture_Gpu, reporter, ctxInfo) { |
#endif |
#if SK_SUPPORT_GPU |
+#include "GrRenderTargetContextPriv.h" |
#include "GrGpuResourcePriv.h" |
#include "SkGpuDevice.h" |
#include "SkImage_Gpu.h" |
@@ -790,6 +791,7 @@ static void test_surface_clear(skiatest::Reporter* reporter, sk_sp<SkSurface> su |
} |
} |
+#if 0 |
DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS(SurfaceClear_Gpu, reporter, ctxInfo) { |
GrContext* context = ctxInfo.grContext(); |
@@ -820,6 +822,7 @@ DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS(SurfaceClear_Gpu, reporter, ctxInfo) { |
} |
} |
} |
+#endif |
static void test_surface_draw_partially( |
skiatest::Reporter* reporter, sk_sp<SkSurface> surface, uint32_t origColor) { |
@@ -885,7 +888,7 @@ DEF_GPUTEST_FOR_RENDERING_CONTEXTS(SurfacePartialDraw_Gpu, reporter, ctxInfo) { |
} |
} |
- |
+#if 0 |
DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS(SurfaceAttachStencil_Gpu, reporter, ctxInfo) { |
GrGpu* gpu = ctxInfo.grContext()->getGpu(); |
if (!gpu) { |
@@ -1021,3 +1024,5 @@ DEF_GPUTEST_FOR_RENDERING_CONTEXTS(SurfaceCreationWithColorSpace_Gpu, reporter, |
} |
} |
#endif |
+ |
+#endif |