michael@0: michael@0: /* michael@0: * Copyright 2012 Google Inc. michael@0: * michael@0: * Use of this source code is governed by a BSD-style license that can be michael@0: * found in the LICENSE file. michael@0: */ michael@0: #include "gl/SkNativeGLContext.h" michael@0: michael@0: SkNativeGLContext::AutoContextRestore::AutoContextRestore() { michael@0: } michael@0: michael@0: SkNativeGLContext::AutoContextRestore::~AutoContextRestore() { michael@0: } michael@0: michael@0: SkNativeGLContext::SkNativeGLContext() michael@0: : fContext(NULL) michael@0: , fDisplay(NULL) michael@0: { michael@0: } michael@0: michael@0: SkNativeGLContext::~SkNativeGLContext() { michael@0: this->destroyGLContext(); michael@0: } michael@0: michael@0: void SkNativeGLContext::destroyGLContext() { michael@0: } michael@0: michael@0: const GrGLInterface* SkNativeGLContext::createGLContext() { michael@0: return NULL; michael@0: } michael@0: michael@0: void SkNativeGLContext::makeCurrent() const { michael@0: } michael@0: michael@0: void SkNativeGLContext::swapBuffers() const { michael@0: }