webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Namespaces | Typedefs | Functions
formatutils.cpp File Reference
#include "common/mathutil.h"
#include "libANGLE/formatutils.h"
#include "libANGLE/Context.h"
#include "libANGLE/Framebuffer.h"

Namespaces

 gl
 

Typedefs

typedef boolExtensions::* gl::ExtensionBool
 

Functions

GLenum gl::GetSizedFormatInternal (GLenum format, GLenum type)
 
bool gl::operator< (const Type &a, const Type &b)
 
void gl::AddRGBAFormat (InternalFormatInfoMap *map, GLenum internalFormat, GLuint red, GLuint green, GLuint blue, GLuint alpha, GLuint shared, GLenum format, GLenum type, GLenum componentType, bool srgb, InternalFormat::SupportCheckFunction textureSupport, InternalFormat::SupportCheckFunction renderSupport, InternalFormat::SupportCheckFunction filterSupport)
 
void gl::AddDepthStencilFormat (InternalFormatInfoMap *map, GLenum internalFormat, GLuint depthBits, GLuint stencilBits, GLuint unusedBits, GLenum format, GLenum type, GLenum componentType, InternalFormat::SupportCheckFunction textureSupport, InternalFormat::SupportCheckFunction renderSupport, InternalFormat::SupportCheckFunction filterSupport)
 
const Typegl::GetTypeInfo (GLenum type)
 
const InternalFormat & gl::GetInternalFormatInfo (GLenum internalFormat)
 
GLenum gl::GetSizedInternalFormat (GLenum internalFormat, GLenum type)
 
const FormatSet & gl::GetAllSizedInternalFormats ()
 
AttributeType gl::GetAttributeType (GLenum enumValue)
 
VertexFormatType gl::GetVertexFormatType (GLenum type, GLboolean normalized, GLuint components, bool pureInteger)
 
VertexFormatType gl::GetVertexFormatType (const VertexAttribute &attrib)
 
VertexFormatType gl::GetVertexFormatType (const VertexAttribute &attrib, GLenum currentValueType)
 
const VertexFormat & gl::GetVertexFormatFromType (VertexFormatType vertexFormatType)