chromium/third_party/skia/src/gpu/ganesh/gl/GrGLInterfaceAutogen.cpp

/*
 * Copyright 2011 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 *
 * THIS FILE IS AUTOGENERATED
 * Make edits to tools/gpu/gl/interface/templates.go or they will
 * be overwritten.
 */

#include "include/gpu/ganesh/gl/GrGLConfig.h"
#include "include/gpu/ganesh/gl/GrGLExtensions.h"
#include "include/gpu/ganesh/gl/GrGLFunctions.h"
#include "include/gpu/ganesh/gl/GrGLInterface.h"
#include "include/gpu/ganesh/gl/GrGLTypes.h"
#include "include/private/base/SkDebug.h"
#include "src/gpu/ganesh/gl/GrGLDefines.h"
#include "src/gpu/ganesh/gl/GrGLUtil.h"

GrGLInterface::GrGLInterface() {}

#if GR_GL_CHECK_ERROR
static const char* get_error_string(GrGLenum err) {}

GrGLenum GrGLInterface::checkError(const char* location, const char* call) const {}

bool GrGLInterface::checkAndResetOOMed() const {}

void GrGLInterface::suppressErrorLogging() {}
#endif

#define RETURN_FALSE_INTERFACE

bool GrGLInterface::validate() const {}

#if defined(GPU_TEST_UTILS)

void GrGLInterface::abandon() const {
    const_cast<GrGLInterface*>(this)->fFunctions = GrGLInterface::Functions();
}

#endif // defined(GPU_TEST_UTILS)