chromium/third_party/angle/src/libANGLE/renderer/gl/FunctionsGL.cpp

//
// Copyright 2015 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//

// FunctionsGL.cpp: Implements the FuntionsGL class to contain loaded GL functions

#include "libANGLE/renderer/gl/FunctionsGL.h"

#include <algorithm>

#include "common/string_utils.h"
#include "libANGLE/AttributeMap.h"
#include "libANGLE/renderer/gl/renderergl_utils.h"

namespace rx
{

static void GetGLVersion(PFNGLGETSTRINGPROC getStringFunction,
                         gl::Version *outVersion,
                         StandardGL *outStandard)
{}

static std::vector<std::string> GetIndexedExtensions(PFNGLGETINTEGERVPROC getIntegerFunction,
                                                     PFNGLGETSTRINGIPROC getStringIFunction)
{}

#if defined(ANGLE_ENABLE_OPENGL_NULL)
static GLenum INTERNAL_GL_APIENTRY StubCheckFramebufferStatus(GLenum)
{}

static void INTERNAL_GL_APIENTRY StubGetProgramiv(GLuint program, GLenum pname, GLint *params)
{}

static void INTERNAL_GL_APIENTRY StubGetShaderiv(GLuint program, GLenum pname, GLint *params)
{}
#endif  // defined(ANGLE_ENABLE_OPENGL_NULL)

#define ASSIGN(NAME, FP)

FunctionsGL::FunctionsGL() :{}

FunctionsGL::~FunctionsGL() {}

void FunctionsGL::initialize(const egl::AttributeMap &displayAttributes)
{}

bool FunctionsGL::isAtLeastGL(const gl::Version &glVersion) const
{}

bool FunctionsGL::isAtMostGL(const gl::Version &glVersion) const
{}

bool FunctionsGL::isAtLeastGLES(const gl::Version &glesVersion) const
{}

bool FunctionsGL::isAtMostGLES(const gl::Version &glesVersion) const
{}

bool FunctionsGL::hasExtension(const std::string &ext) const
{}

bool FunctionsGL::hasGLExtension(const std::string &ext) const
{}

bool FunctionsGL::hasGLESExtension(const std::string &ext) const
{}

#if defined(ANGLE_ENABLE_OPENGL_NULL)
void FunctionsGL::initializeStubFunctionsForNULLDriver(const std::set<std::string> &extensionSet)
{}
#endif  // defined(ANGLE_ENABLE_OPENGL_NULL)

}  // namespace rx