#ifndef COMMON_COLOR_H_
#define COMMON_COLOR_H_
#include <cstdint>
#include <cstring>
#include "common/debug.h"
namespace angle
{
template <typename T>
struct Color
{ … };
template <typename T>
bool operator==(const Color<T> &a, const Color<T> &b);
template <typename T>
bool operator!=(const Color<T> &a, const Color<T> &b);
ColorF;
ColorI;
ColorUI;
ANGLE_ENABLE_STRUCT_PADDING_WARNINGS
struct ColorGeneric
{ … };
ANGLE_DISABLE_STRUCT_PADDING_WARNINGS
inline bool operator==(const ColorGeneric &a, const ColorGeneric &b);
inline bool operator!=(const ColorGeneric &a, const ColorGeneric &b);
struct DepthStencil
{ … };
}
namespace gl
{
Color;
ColorF;
ColorI;
ColorUI;
ColorGeneric;
}
#include "Color.inc"
#endif