| OLD | NEW |
| 1 | |
| 2 /* | 1 /* |
| 3 * Copyright 2012 Google Inc. | 2 * Copyright 2012 Google Inc. |
| 4 * | 3 * |
| 5 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 7 */ | 6 */ |
| 8 | 7 |
| 9 #include "gl/debug/SkDebugGLContext.h" | 8 #include "gl/debug/SkDebugGLContext.h" |
| 10 | 9 |
| 11 SkDebugGLContext::SkDebugGLContext() { | 10 SkDebugGLContext::SkDebugGLContext() { |
| 12 this->init(GrGLCreateDebugInterface()); | 11 this->init(GrGLCreateDebugInterface()); |
| 13 } | 12 } |
| 14 | 13 |
| 15 SkDebugGLContext::~SkDebugGLContext() { | 14 SkDebugGLContext::~SkDebugGLContext() { |
| 16 this->teardown(); | 15 this->teardown(); |
| 17 } | 16 } |
| OLD | NEW |