3 * Copyright 2012 Google Inc.
5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file.
8 #include "gl/SkNativeGLContext.h"
10 SkNativeGLContext::AutoContextRestore::AutoContextRestore() {
13 SkNativeGLContext::AutoContextRestore::~AutoContextRestore() {
16 SkNativeGLContext::SkNativeGLContext()
22 SkNativeGLContext::~SkNativeGLContext() {
23 this->destroyGLContext();
26 void SkNativeGLContext::destroyGLContext() {
29 const GrGLInterface* SkNativeGLContext::createGLContext(GrGLStandard forcedGpuAPI) {
33 void SkNativeGLContext::makeCurrent() const {
36 void SkNativeGLContext::swapBuffers() const {