chromium/third_party/angle/src/common/gl_enum_utils.cpp

//
// Copyright 2019 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.
//
// gl_enum_utils.cpp:
//   Utility functions for converting GLenums to string.

#include "common/gl_enum_utils.h"

#include "common/bitset_utils.h"
#include "common/string_utils.h"

#include <iomanip>
#include <sstream>

namespace gl
{
namespace
{

template <typename EnumType>
void OutputGLenumStringImpl(std::ostream &out, EnumType enumGroup, unsigned int value)
{}

template <typename EnumType>
std::string GLbitfieldToStringImpl(EnumType enumGroup, unsigned int value)
{}
}  // namespace

const char kUnknownGLenumString[] =;

void OutputGLenumString(std::ostream &out, GLESEnum enumGroup, unsigned int value)
{}

void OutputGLenumString(std::ostream &out, BigGLEnum enumGroup, unsigned int value)
{}

void OutputGLbitfieldString(std::ostream &out, GLESEnum enumGroup, unsigned int value)
{}

const char *GLbooleanToString(unsigned int value)
{}

std::string GLbitfieldToString(GLESEnum enumGroup, unsigned int value)
{}

std::string GLbitfieldToString(BigGLEnum enumGroup, unsigned int value)
{}

const char *GLinternalFormatToString(unsigned int format)
{}

unsigned int StringToGLbitfield(const char *str)
{}
}  // namespace gl