10da3719050473344b6013fd7b614611984f20effrobertphillips@google.com 20da3719050473344b6013fd7b614611984f20effrobertphillips@google.com/* 30da3719050473344b6013fd7b614611984f20effrobertphillips@google.com * Copyright 2012 Google Inc. 40da3719050473344b6013fd7b614611984f20effrobertphillips@google.com * 50da3719050473344b6013fd7b614611984f20effrobertphillips@google.com * Use of this source code is governed by a BSD-style license that can be 60da3719050473344b6013fd7b614611984f20effrobertphillips@google.com * found in the LICENSE file. 70da3719050473344b6013fd7b614611984f20effrobertphillips@google.com */ 80da3719050473344b6013fd7b614611984f20effrobertphillips@google.com 9e4545210c950f98d9fa20f51bc1be6c5591534bddjsollen#include "gl/debug/SkDebugGLContext.h" 100da3719050473344b6013fd7b614611984f20effrobertphillips@google.com 1130bc88ccd524c0372fd2f8f79190ea4b81685bebkkinnunenSkDebugGLContext::SkDebugGLContext() { 1230bc88ccd524c0372fd2f8f79190ea4b81685bebkkinnunen fGL.reset(GrGLCreateDebugInterface()); 1330bc88ccd524c0372fd2f8f79190ea4b81685bebkkinnunen} 1480549fcdd50269d7e069d6db02b395fca128056ckkinnunen 1530bc88ccd524c0372fd2f8f79190ea4b81685bebkkinnunenSkDebugGLContext::~SkDebugGLContext() { 1630bc88ccd524c0372fd2f8f79190ea4b81685bebkkinnunen fGL.reset(NULL); 17944bcf0acb78f8f9da01e991f1307629959e338absalomon} 18