Index: src/gpu/gl/debug/SkDebugGLContext.cpp |
diff --git a/src/gpu/gl/debug/SkDebugGLContext.cpp b/src/gpu/gl/debug/SkDebugGLContext.cpp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ecb27db95d62191c1ce40a2db2fc20458bd30f91 |
--- /dev/null |
+++ b/src/gpu/gl/debug/SkDebugGLContext.cpp |
@@ -0,0 +1,16 @@ |
+/* |
+ * Copyright 2012 Google Inc. |
+ * |
+ * Use of this source code is governed by a BSD-style license that can be |
+ * found in the LICENSE file. |
+ */ |
+ |
+#include "gl/debug/SkDebugGLContext.h" |
+ |
+SkDebugGLContext::SkDebugGLContext() { |
+ this->init(GrGLCreateDebugInterface()); |
+} |
+ |
+SkDebugGLContext::~SkDebugGLContext() { |
+ this->teardown(); |
+} |