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

Unified Diff: tests/DeferredCanvasTest.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/DeferredCanvasTest.cpp
diff --git a/tests/DeferredCanvasTest.cpp b/tests/DeferredCanvasTest.cpp
index 747b23b9abab5cf778aa197e079c127d2323b563..bc415d5fd4e0f7284695d330c0cc02b39efa2b6e 100644
--- a/tests/DeferredCanvasTest.cpp
+++ b/tests/DeferredCanvasTest.cpp
@@ -692,7 +692,8 @@ static void TestDeferredCanvasSurface(skiatest::Reporter* reporter, GrContextFac
bool useGpu = NULL != factory;
#if SK_SUPPORT_GPU
if (useGpu) {
- GrContext* context = factory->get(GrContextFactory::kNative_GLContextType);
+ GrContext* context = factory->get(GrContextFactory::kNative_GLContextType,
+ kNone_GrGLStandard);
if (NULL == context) {
return;
}
@@ -759,7 +760,7 @@ static void TestDeferredCanvasSetSurface(skiatest::Reporter* reporter, GrContext
bool useGpu = NULL != factory;
#if SK_SUPPORT_GPU
if (useGpu) {
robertphillips 2014/06/09 14:31:05 nit: overlength
Kimmo Kinnunen 2014/06/16 12:36:40 Done. (reverted)
- GrContext* context = factory->get(GrContextFactory::kNative_GLContextType);
+ GrContext* context = factory->get(GrContextFactory::kNative_GLContextType, kNone_GrGLStandard);
if (NULL == context) {
return;
}

Powered by Google App Engine
This is Rietveld 408576698