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

Unified Diff: samplecode/SampleApp.cpp

Issue 1815823002: Move SkGLContext and some GrGLInterface implementations to skgputest module (Closed) Base URL: https://chromium.googlesource.com/skia.git@debugobject
Patch Set: fix windows and android? Created 4 years, 9 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 | « include/views/SkOSWindow_Win.h ('k') | src/gpu/GrContextFactory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samplecode/SampleApp.cpp
diff --git a/samplecode/SampleApp.cpp b/samplecode/SampleApp.cpp
index e0d152d97b252dbc01f5049effff42f1b4641f2f..780eabd1e38d2fa7ff162bbe87781612943daf73 100644
--- a/samplecode/SampleApp.cpp
+++ b/samplecode/SampleApp.cpp
@@ -33,11 +33,14 @@
#include "sk_tool_utils.h"
#if SK_SUPPORT_GPU
-#include "gl/GrGLInterface.h"
-#include "gl/GrGLUtil.h"
-#include "GrRenderTarget.h"
-#include "GrContext.h"
-#include "SkGpuDevice.h"
+# include "gl/GrGLInterface.h"
+# include "gl/GrGLUtil.h"
+# include "GrRenderTarget.h"
+# include "GrContext.h"
+# include "SkGpuDevice.h"
+# if SK_ANGLE
+# include "gl/angle/GLContext_angle.h"
+# endif
#else
class GrContext;
#endif
@@ -233,7 +236,7 @@ public:
break;
#if SK_ANGLE
case kANGLE_DeviceType:
- glInterface.reset(GrGLCreateANGLEInterface());
+ glInterface.reset(sk_gpu_test::CreateANGLEGLInterface());
break;
#endif // SK_ANGLE
#if SK_COMMAND_BUFFER
« no previous file with comments | « include/views/SkOSWindow_Win.h ('k') | src/gpu/GrContextFactory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698