Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(282)

Unified Diff: src/gpu/SkGpuDevice.cpp

Issue 23481012: silence the error test to be a better citizen (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Silence 2nd instance of same error Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tests/ErrorTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/SkGpuDevice.cpp
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp
index a5c261c75d31fe15d7a5a060a29626c2d5840e6b..8cf2e4b664320dea8444be7a3d6da899ae21ee17 100644
--- a/src/gpu/SkGpuDevice.cpp
+++ b/src/gpu/SkGpuDevice.cpp
@@ -1209,10 +1209,7 @@ void SkGpuDevice::drawBitmapCommon(const SkDraw& draw,
textureFilterMode = GrTextureParams::kMipMap_FilterMode;
break;
case SkPaint::kHigh_FilterLevel:
- SkErrorInternals::SetError( kInvalidPaint_SkError,
- "Sorry, I don't yet support high quality "
- "filtering on the GPU. Falling back to "
- "MIPMaps.");
+ // Fall back to mips for now
textureFilterMode = GrTextureParams::kMipMap_FilterMode;
break;
default:
« no previous file with comments | « no previous file | tests/ErrorTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698