| Index: src/gpu/GrDrawTarget.cpp
|
| diff --git a/src/gpu/GrDrawTarget.cpp b/src/gpu/GrDrawTarget.cpp
|
| index b97aa8901a6a5cbaf7a28d4e8bd3bfad601f448b..6d8d18463aec37f28bc34c18d7ea59b578462f04 100644
|
| --- a/src/gpu/GrDrawTarget.cpp
|
| +++ b/src/gpu/GrDrawTarget.cpp
|
| @@ -1029,7 +1029,6 @@
|
| fMaxSampleCount = 0;
|
|
|
| memset(fConfigRenderSupport, 0, sizeof(fConfigRenderSupport));
|
| - memset(fCompressedFormatSupport, 0, sizeof(fCompressedFormatSupport));
|
| }
|
|
|
| GrDrawTargetCaps& GrDrawTargetCaps::operator=(const GrDrawTargetCaps& other) {
|
| @@ -1055,8 +1054,6 @@
|
| fMaxSampleCount = other.fMaxSampleCount;
|
|
|
| memcpy(fConfigRenderSupport, other.fConfigRenderSupport, sizeof(fConfigRenderSupport));
|
| - memcpy(fCompressedFormatSupport, other.fCompressedFormatSupport,
|
| - sizeof(fCompressedFormatSupport));
|
|
|
| return *this;
|
| }
|
| @@ -1132,18 +1129,5 @@
|
| gNY[fConfigRenderSupport[i][1]]);
|
| }
|
| }
|
| -
|
| - static const char* kCompressedFormatNames[] = {
|
| - "ETC1", // kETC1_GrCompressedFormat
|
| - };
|
| - GR_STATIC_ASSERT(0 == kETC1_GrCompressedFormat);
|
| - GR_STATIC_ASSERT(SK_ARRAY_COUNT(kCompressedFormatNames) == kCompressedFormatCount);
|
| -
|
| - for (size_t i = 0; i < kCompressedFormatCount; ++i) {
|
| - r.appendf("%s Compressed Texture Support: %s\n",
|
| - kCompressedFormatNames[i],
|
| - gNY[fCompressedFormatSupport[i]]);
|
| - }
|
| -
|
| return r;
|
| }
|
|
|