aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/GrPorterDuffTest.cpp
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@google.com>2015-09-17 11:43:01 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-09-17 11:43:02 -0700
commita7008403dcd03302e88e2df546d8427afe9e0e80 (patch)
tree5bce1f3fd012c399e17401605e3d9f5dcba53169 /tests/GrPorterDuffTest.cpp
parent4078d529e9e199eea13456db7bf3a63a104ab5b9 (diff)
Revert of add a ClassID function to GrBatch (patchset #5 id:80001 of https://codereview.chromium.org/1352813003/ )
Reason for revert: breaks mac bot Original issue's description: > add a ClassID function to GrBatch > > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/4078d529e9e199eea13456db7bf3a63a104ab5b9 TBR=robertphillips@google.com,bsalomon@google.com,joshualitt@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/1345393003
Diffstat (limited to 'tests/GrPorterDuffTest.cpp')
-rw-r--r--tests/GrPorterDuffTest.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/tests/GrPorterDuffTest.cpp b/tests/GrPorterDuffTest.cpp
index a61ab5484b..1328272a6a 100644
--- a/tests/GrPorterDuffTest.cpp
+++ b/tests/GrPorterDuffTest.cpp
@@ -1093,13 +1093,7 @@ static void test_color_opaque_no_coverage(skiatest::Reporter* reporter, const Gr
}
static void test_lcd_coverage_fallback_case(skiatest::Reporter* reporter, const GrCaps& caps) {
- class TestLCDCoverageBatch: public GrVertexBatch {
- public:
- DEFINE_BATCH_CLASS_ID
-
- TestLCDCoverageBatch() : INHERITED(ClassID()) {}
-
- private:
+ class : public GrVertexBatch {
void getInvariantOutputColor(GrInitInvariantOutput* out) const override {
out->setKnownFourComponents(GrColorPackRGBA(123, 45, 67, 221));
}
@@ -1114,7 +1108,6 @@ static void test_lcd_coverage_fallback_case(skiatest::Reporter* reporter, const
bool onCombineIfPossible(GrBatch*, const GrCaps&) override { return false; }
void onPrepareDraws(Target*) override {};
- typedef GrVertexBatch INHERITED;
} testLCDCoverageBatch;
GrProcOptInfo colorPOI, covPOI;