#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)
{ … }
}
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)
{ … }
}