gfx/skia/trunk/src/gpu/gl/nacl/SkNativeGLContext_nacl.cpp

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gfx/skia/trunk/src/gpu/gl/nacl/SkNativeGLContext_nacl.cpp	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,37 @@
     1.4 +
     1.5 +/*
     1.6 + * Copyright 2012 Google Inc.
     1.7 + *
     1.8 + * Use of this source code is governed by a BSD-style license that can be
     1.9 + * found in the LICENSE file.
    1.10 + */
    1.11 +#include "gl/SkNativeGLContext.h"
    1.12 +
    1.13 +SkNativeGLContext::AutoContextRestore::AutoContextRestore() {
    1.14 +}
    1.15 +
    1.16 +SkNativeGLContext::AutoContextRestore::~AutoContextRestore() {
    1.17 +}
    1.18 +
    1.19 +SkNativeGLContext::SkNativeGLContext()
    1.20 +    : fContext(NULL)
    1.21 +    , fDisplay(NULL)
    1.22 +{
    1.23 +}
    1.24 +
    1.25 +SkNativeGLContext::~SkNativeGLContext() {
    1.26 +    this->destroyGLContext();
    1.27 +}
    1.28 +
    1.29 +void SkNativeGLContext::destroyGLContext() {
    1.30 +}
    1.31 +
    1.32 +const GrGLInterface* SkNativeGLContext::createGLContext() {
    1.33 +    return NULL;
    1.34 +}
    1.35 +
    1.36 +void SkNativeGLContext::makeCurrent() const {
    1.37 +}
    1.38 +
    1.39 +void SkNativeGLContext::swapBuffers() const {
    1.40 +}

mercurial