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

Unified Diff: tests/BlurTest.cpp

Issue 319043005: Support using OpenGL ES context on desktop (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 6 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
Index: tests/BlurTest.cpp
diff --git a/tests/BlurTest.cpp b/tests/BlurTest.cpp
index c09a4ee1c664e548107c739b6d5f13a7c1728c95..f59635549ea18118b3592337f5af60f0e16c4764 100644
--- a/tests/BlurTest.cpp
+++ b/tests/BlurTest.cpp
@@ -277,7 +277,8 @@ static bool gpu_blur_path(GrContextFactory* factory, const SkPath& path,
SkScalar gaussianSigma,
int* result, int resultCount) {
- GrContext* grContext = factory->get(GrContextFactory::kNative_GLContextType);
+ GrContext* grContext = factory->get(GrContextFactory::kNative_GLContextType,
+ kNone_GrGLStandard);
mtklein 2014/06/09 14:10:46 Passing kNone in all these tests reads weird. Can
robertphillips 2014/06/09 14:31:05 I agree - it is kind of weird.
Kimmo Kinnunen 2014/06/16 12:36:40 That would be double the weird for all the other f
if (NULL == grContext) {
return false;
}

Powered by Google App Engine
This is Rietveld 408576698