aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/utils/SkEGLContext_none.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/SkEGLContext_none.cpp')
-rw-r--r--src/utils/SkEGLContext_none.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/utils/SkEGLContext_none.cpp b/src/utils/SkEGLContext_none.cpp
new file mode 100644
index 0000000000..1c55c95e36
--- /dev/null
+++ b/src/utils/SkEGLContext_none.cpp
@@ -0,0 +1,11 @@
+#include "SkEGLContext.h"
+
+SkEGLContext::SkEGLContext() : fContext(NULL) {
+}
+
+SkEGLContext::~SkEGLContext() {
+}
+
+bool SkEGLContext::init(int width, int height) {
+ return false;
+}