| Index: tests/GpuBitmapCopyTest.cpp
|
| diff --git a/tests/GpuBitmapCopyTest.cpp b/tests/GpuBitmapCopyTest.cpp
|
| index af3fbdacbfcba0f0ef1ecfe18de87152c3e140bb..bf22ea7e463d8d1b7a3e3803e739afb3f8ed6583 100644
|
| --- a/tests/GpuBitmapCopyTest.cpp
|
| +++ b/tests/GpuBitmapCopyTest.cpp
|
| @@ -19,6 +19,12 @@
|
| #include "SkRect.h"
|
| #include "Test.h"
|
|
|
| +struct Pair {
|
| + SkColorType fColorType;
|
| + const char* fValid;
|
| +};
|
| +
|
| +#ifdef SK_SUPPORT_DEEPCOPYTO_CONFIG
|
| static const char* boolStr(bool value) {
|
| return value ? "true" : "false";
|
| }
|
| @@ -28,11 +34,6 @@ static const char* gColorTypeName[] = {
|
| "None", "8888"
|
| };
|
|
|
| -struct Pair {
|
| - SkColorType fColorType;
|
| - const char* fValid;
|
| -};
|
| -
|
| /**
|
| * Check to ensure that copying a GPU-backed SkBitmap behaved as expected.
|
| * @param reporter Used to report failures.
|
| @@ -99,6 +100,7 @@ static void TestIndividualCopy(skiatest::Reporter* reporter, const SkColorType d
|
| }
|
|
|
| }
|
| +#endif
|
|
|
| // Stripped down version of TestBitmapCopy that checks basic fields (width, height, config, genID)
|
| // to ensure that they were copied properly.
|
|
|