Re-enable overdraw mode in debugger.
Debugger is the last user of the deprecated SkPaintFilterCanvas
constructor. Stop using it and remove the constructor.
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=3268
Change-Id: I3e9180d48abdf86cb2c05bd8d95acabcdaa70427
Reviewed-on: https://skia-review.googlesource.com/3268
Commit-Queue: Ben Wagner <bungeman@google.com>
Reviewed-by: Mike Reed <reed@google.com>
diff --git a/src/gpu/GrProcessor.cpp b/src/gpu/GrProcessor.cpp
index 5ca9935..7d7ce9b 100644
--- a/src/gpu/GrProcessor.cpp
+++ b/src/gpu/GrProcessor.cpp
@@ -48,13 +48,15 @@
* we verify the count is as expected. If a new factory is added, then these numbers must be
* manually adjusted.
*/
-static const int kFPFactoryCount = 41;
+static const int kFPFactoryCount = 40;
static const int kGPFactoryCount = 14;
-static const int kXPFactoryCount = 6;
+static const int kXPFactoryCount = 5;
template<>
void GrProcessorTestFactory<GrFragmentProcessor>::VerifyFactoryCount() {
if (kFPFactoryCount != GetFactories()->count()) {
+ SkDebugf("\nExpected %d fragment processor factories, found %d.\n",
+ kFPFactoryCount, GetFactories()->count());
SkFAIL("Wrong number of fragment processor factories!");
}
}
@@ -62,6 +64,8 @@
template<>
void GrProcessorTestFactory<GrGeometryProcessor>::VerifyFactoryCount() {
if (kGPFactoryCount != GetFactories()->count()) {
+ SkDebugf("\nExpected %d geometry processor factories, found %d.\n",
+ kGPFactoryCount, GetFactories()->count());
SkFAIL("Wrong number of geometry processor factories!");
}
}
@@ -69,6 +73,8 @@
template<>
void GrProcessorTestFactory<GrXPFactory>::VerifyFactoryCount() {
if (kXPFactoryCount != GetFactories()->count()) {
+ SkDebugf("\nExpected %d xp factory factories, found %d.\n",
+ kXPFactoryCount, GetFactories()->count());
SkFAIL("Wrong number of xp factory factories!");
}
}