From a80a012456a95a6996a8901268ec34ed0cc3aecb Mon Sep 17 00:00:00 2001 From: Timothy Liang Date: Fri, 13 Jul 2018 19:19:36 +0000 Subject: Revert "implemented metal gpu backend texture upload testing" This reverts commit 36848f6b30ddaca461c98e13b9976b2c449ca547. Reason for revert: Test-Android-Clang-NVIDIA_Shield-GPU-TegraX1-arm64-Debug-All-Android_CCPR failing. Original change's description: > implemented metal gpu backend texture upload testing > > Bug: skia: > Change-Id: Ia3af58a0710f7f9792b37682a3cc45dd14282b71 > Reviewed-on: https://skia-review.googlesource.com/140248 > Commit-Queue: Timothy Liang > Reviewed-by: Greg Daniel TBR=egdaniel@google.com,ethannicholas@google.com,timliang@google.com Change-Id: Idf40fc78b82aec1efbcc64221b6d2bbf63353960 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: skia: Reviewed-on: https://skia-review.googlesource.com/141182 Reviewed-by: Timothy Liang Commit-Queue: Timothy Liang --- tests/TestUtils.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'tests/TestUtils.h') diff --git a/tests/TestUtils.h b/tests/TestUtils.h index e89193195b..1fe96bff7c 100644 --- a/tests/TestUtils.h +++ b/tests/TestUtils.h @@ -9,7 +9,6 @@ class GrSurfaceContext; class GrSurfaceProxy; -typedef uint32_t GrColor; // Ensure that reading back from 'srcContext' as RGBA 8888 matches 'expectedPixelValues void test_read_pixels(skiatest::Reporter*, @@ -30,10 +29,3 @@ void test_copy_from_surface(skiatest::Reporter*, GrContext*, // Ensure that RGBA 8888 pixels can be copied into 'dstContext' void test_copy_to_surface(skiatest::Reporter*, GrProxyProvider*, GrSurfaceContext* dstContext, const char* testName); - -// Fills data with a red-green gradient -void fill_pixel_data(int width, int height, GrColor* data); - -// Checks srcBuffer and dstBuffer contain the same colors -bool does_full_buffer_contain_correct_color(GrColor* srcBuffer, GrColor* dstBuffer, int width, - int height); -- cgit v1.2.3