Index: tests/GrPorterDuffTest.cpp |
diff --git a/tests/GrPorterDuffTest.cpp b/tests/GrPorterDuffTest.cpp |
index b7f75728967aeda6e6cd4eb658d7d52a4f749206..def7280eeecde05751f1c4e8aaa0f6da59f0a8d6 100644 |
--- a/tests/GrPorterDuffTest.cpp |
+++ b/tests/GrPorterDuffTest.cpp |
@@ -62,7 +62,7 @@ |
}; |
enum { |
- kNone_OptFlags = GrXferProcessor::kNone_OptFlags, |
+ kNone_Opt = GrXferProcessor::kNone_Opt, |
kSkipDraw_OptFlag = GrXferProcessor::kSkipDraw_OptFlag, |
kIgnoreColor_OptFlag = GrXferProcessor::kIgnoreColor_OptFlag, |
kIgnoreCoverage_OptFlag = GrXferProcessor::kIgnoreCoverage_OptFlag, |
@@ -128,7 +128,7 @@ |
case SkXfermode::kSrc_Mode: |
TEST_ASSERT(!xpi.fBlendedColor.fWillBlendWithDst); |
TEST_ASSERT(kNone_GrColorComponentFlags == xpi.fBlendedColor.fKnownColorFlags); |
- TEST_ASSERT((kNone_OptFlags) == xpi.fOptFlags); |
+ TEST_ASSERT((kNone_Opt) == xpi.fOptFlags); |
TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); |
TEST_ASSERT(kCoverage_OutputType == xpi.fSecondaryOutputType); |
TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); |
@@ -175,7 +175,7 @@ |
case SkXfermode::kSrcIn_Mode: |
TEST_ASSERT(xpi.fBlendedColor.fWillBlendWithDst); |
TEST_ASSERT(kNone_GrColorComponentFlags == xpi.fBlendedColor.fKnownColorFlags); |
- TEST_ASSERT((kNone_OptFlags) == xpi.fOptFlags); |
+ TEST_ASSERT((kNone_Opt) == xpi.fOptFlags); |
TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); |
TEST_ASSERT(kCoverage_OutputType == xpi.fSecondaryOutputType); |
TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); |
@@ -186,7 +186,7 @@ |
case SkXfermode::kDstIn_Mode: |
TEST_ASSERT(xpi.fBlendedColor.fWillBlendWithDst); |
TEST_ASSERT(kNone_GrColorComponentFlags == xpi.fBlendedColor.fKnownColorFlags); |
- TEST_ASSERT((kNone_OptFlags) == xpi.fOptFlags); |
+ TEST_ASSERT((kNone_Opt) == xpi.fOptFlags); |
TEST_ASSERT(kISAModulate_OutputType == xpi.fPrimaryOutputType); |
TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); |
TEST_ASSERT(kReverseSubtract_GrBlendEquation == xpi.fBlendInfo.fEquation); |
@@ -197,7 +197,7 @@ |
case SkXfermode::kSrcOut_Mode: |
TEST_ASSERT(xpi.fBlendedColor.fWillBlendWithDst); |
TEST_ASSERT(kNone_GrColorComponentFlags == xpi.fBlendedColor.fKnownColorFlags); |
- TEST_ASSERT((kNone_OptFlags) == xpi.fOptFlags); |
+ TEST_ASSERT((kNone_Opt) == xpi.fOptFlags); |
TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); |
TEST_ASSERT(kCoverage_OutputType == xpi.fSecondaryOutputType); |
TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); |
@@ -230,7 +230,7 @@ |
case SkXfermode::kDstATop_Mode: |
TEST_ASSERT(xpi.fBlendedColor.fWillBlendWithDst); |
TEST_ASSERT(kNone_GrColorComponentFlags == xpi.fBlendedColor.fKnownColorFlags); |
- TEST_ASSERT((kNone_OptFlags) == xpi.fOptFlags); |
+ TEST_ASSERT((kNone_Opt) == xpi.fOptFlags); |
TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); |
TEST_ASSERT(kISAModulate_OutputType == xpi.fSecondaryOutputType); |
TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); |
@@ -263,7 +263,7 @@ |
case SkXfermode::kModulate_Mode: |
TEST_ASSERT(xpi.fBlendedColor.fWillBlendWithDst); |
TEST_ASSERT(kNone_GrColorComponentFlags == xpi.fBlendedColor.fKnownColorFlags); |
- TEST_ASSERT((kNone_OptFlags) == xpi.fOptFlags); |
+ TEST_ASSERT((kNone_Opt) == xpi.fOptFlags); |
TEST_ASSERT(kISCModulate_OutputType == xpi.fPrimaryOutputType); |
TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); |
TEST_ASSERT(kReverseSubtract_GrBlendEquation == xpi.fBlendInfo.fEquation); |
@@ -663,7 +663,7 @@ |
case SkXfermode::kModulate_Mode: |
TEST_ASSERT(xpi.fBlendedColor.fWillBlendWithDst); |
TEST_ASSERT(kNone_GrColorComponentFlags == xpi.fBlendedColor.fKnownColorFlags); |
- TEST_ASSERT((kNone_OptFlags) == xpi.fOptFlags); |
+ TEST_ASSERT((kNone_Opt) == xpi.fOptFlags); |
TEST_ASSERT(kISCModulate_OutputType == xpi.fPrimaryOutputType); |
TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); |
TEST_ASSERT(kReverseSubtract_GrBlendEquation == xpi.fBlendInfo.fEquation); |