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

Unified Diff: src/gpu/gl/angle/GrGLCreateANGLEInterface.cpp

Issue 1395783003: skia: Add ANGLE support on Mac (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: for angle only Created 5 years, 2 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_Mac.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/gl/angle/GrGLCreateANGLEInterface.cpp
diff --git a/src/gpu/gl/angle/GrGLCreateANGLEInterface.cpp b/src/gpu/gl/angle/GrGLCreateANGLEInterface.cpp
index 1ebd376288be575b9b633c2af3b47f9f2bae8da6..834e122f574944f2ef3a699529c70c80210682af 100644
--- a/src/gpu/gl/angle/GrGLCreateANGLEInterface.cpp
+++ b/src/gpu/gl/angle/GrGLCreateANGLEInterface.cpp
@@ -27,6 +27,8 @@ const GrGLInterface* GrGLCreateANGLEInterface() {
// We load the ANGLE library and never let it go
#if defined _WIN32
gANGLELib = DynamicLoadLibrary("libGLESv2.dll");
+#elif defined SK_BUILD_FOR_MAC
+ gANGLELib = DynamicLoadLibrary("libGLESv2.dylib");
#else
gANGLELib = DynamicLoadLibrary("libGLESv2.so");
#endif // defined _WIN32
« no previous file with comments | « include/views/SkOSWindow_Mac.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698