Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
2 /*
3 * Copyright 2012 Google Inc.
4 *
5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file.
7 */
8 #include "gl/SkNativeGLContext.h"
10 SkNativeGLContext::AutoContextRestore::AutoContextRestore() {
11 }
13 SkNativeGLContext::AutoContextRestore::~AutoContextRestore() {
14 }
16 SkNativeGLContext::SkNativeGLContext()
17 : fContext(NULL)
18 , fDisplay(NULL)
19 {
20 }
22 SkNativeGLContext::~SkNativeGLContext() {
23 this->destroyGLContext();
24 }
26 void SkNativeGLContext::destroyGLContext() {
27 }
29 const GrGLInterface* SkNativeGLContext::createGLContext() {
30 return NULL;
31 }
33 void SkNativeGLContext::makeCurrent() const {
34 }
36 void SkNativeGLContext::swapBuffers() const {
37 }