Thu, 15 Jan 2015 21:03:48 +0100
Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)
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 }