webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
angle::Format Struct Referencefinal

#include <Format.h>

Inheritance diagram for angle::Format:
angle::NonCopyable

Public Types

enum  ID {
  ID::NONE, ID::A16_FLOAT, ID::A32_FLOAT, ID::A8_UNORM,
  ID::ASTC_10x10_SRGB_BLOCK, ID::ASTC_10x10_UNORM_BLOCK, ID::ASTC_10x5_SRGB_BLOCK, ID::ASTC_10x5_UNORM_BLOCK,
  ID::ASTC_10x6_SRGB_BLOCK, ID::ASTC_10x6_UNORM_BLOCK, ID::ASTC_10x8_SRGB_BLOCK, ID::ASTC_10x8_UNORM_BLOCK,
  ID::ASTC_12x10_SRGB_BLOCK, ID::ASTC_12x10_UNORM_BLOCK, ID::ASTC_12x12_SRGB_BLOCK, ID::ASTC_12x12_UNORM_BLOCK,
  ID::ASTC_4x4_SRGB_BLOCK, ID::ASTC_4x4_UNORM_BLOCK, ID::ASTC_5x4_SRGB_BLOCK, ID::ASTC_5x4_UNORM_BLOCK,
  ID::ASTC_5x5_SRGB_BLOCK, ID::ASTC_5x5_UNORM_BLOCK, ID::ASTC_6x5_SRGB_BLOCK, ID::ASTC_6x5_UNORM_BLOCK,
  ID::ASTC_6x6_SRGB_BLOCK, ID::ASTC_6x6_UNORM_BLOCK, ID::ASTC_8x5_SRGB_BLOCK, ID::ASTC_8x5_UNORM_BLOCK,
  ID::ASTC_8x6_SRGB_BLOCK, ID::ASTC_8x6_UNORM_BLOCK, ID::ASTC_8x8_SRGB_BLOCK, ID::ASTC_8x8_UNORM_BLOCK,
  ID::B4G4R4A4_UNORM, ID::B5G5R5A1_UNORM, ID::B5G6R5_UNORM, ID::B8G8R8A8_UNORM,
  ID::B8G8R8X8_UNORM, ID::BC1_RGBA_UNORM_BLOCK, ID::BC1_RGB_UNORM_BLOCK, ID::BC2_RGBA_UNORM_BLOCK,
  ID::BC3_RGBA_UNORM_BLOCK, ID::D16_UNORM, ID::D24_UNORM, ID::D24_UNORM_S8_UINT,
  ID::D32_FLOAT, ID::D32_FLOAT_S8X24_UINT, ID::D32_UNORM, ID::EAC_R11G11_SNORM_BLOCK,
  ID::EAC_R11G11_UNORM_BLOCK, ID::EAC_R11_SNORM_BLOCK, ID::EAC_R11_UNORM_BLOCK, ID::ETC2_R8G8B8A1_SRGB_BLOCK,
  ID::ETC2_R8G8B8A1_UNORM_BLOCK, ID::ETC2_R8G8B8A8_SRGB_BLOCK, ID::ETC2_R8G8B8A8_UNORM_BLOCK, ID::ETC2_R8G8B8_SRGB_BLOCK,
  ID::ETC2_R8G8B8_UNORM_BLOCK, ID::L16A16_FLOAT, ID::L16_FLOAT, ID::L32A32_FLOAT,
  ID::L32_FLOAT, ID::L8A8_UNORM, ID::L8_UNORM, ID::R10G10B10A2_UINT,
  ID::R10G10B10A2_UNORM, ID::R11G11B10_FLOAT, ID::R16G16B16A16_FLOAT, ID::R16G16B16A16_SINT,
  ID::R16G16B16A16_SNORM, ID::R16G16B16A16_UINT, ID::R16G16B16A16_UNORM, ID::R16G16B16_FLOAT,
  ID::R16G16B16_SINT, ID::R16G16B16_SNORM, ID::R16G16B16_UINT, ID::R16G16B16_UNORM,
  ID::R16G16_FLOAT, ID::R16G16_SINT, ID::R16G16_SNORM, ID::R16G16_UINT,
  ID::R16G16_UNORM, ID::R16_FLOAT, ID::R16_SINT, ID::R16_SNORM,
  ID::R16_UINT, ID::R16_UNORM, ID::R32G32B32A32_FLOAT, ID::R32G32B32A32_SINT,
  ID::R32G32B32A32_UINT, ID::R32G32B32_FLOAT, ID::R32G32B32_SINT, ID::R32G32B32_UINT,
  ID::R32G32_FLOAT, ID::R32G32_SINT, ID::R32G32_UINT, ID::R32_FLOAT,
  ID::R32_SINT, ID::R32_UINT, ID::R4G4B4A4_UNORM, ID::R5G5B5A1_UNORM,
  ID::R5G6B5_UNORM, ID::R8G8B8A8_SINT, ID::R8G8B8A8_SNORM, ID::R8G8B8A8_UINT,
  ID::R8G8B8A8_UNORM, ID::R8G8B8A8_UNORM_SRGB, ID::R8G8B8_SINT, ID::R8G8B8_SNORM,
  ID::R8G8B8_UINT, ID::R8G8B8_UNORM, ID::R8G8B8_UNORM_SRGB, ID::R8G8_SINT,
  ID::R8G8_SNORM, ID::R8G8_UINT, ID::R8G8_UNORM, ID::R8_SINT,
  ID::R8_SNORM, ID::R8_UINT, ID::R8_UNORM, ID::R9G9B9E5_SHAREDEXP,
  ID::S8_UINT
}
 

Public Member Functions

 Format (ID id, GLenum glFormat, GLenum fboFormat, rx::MipGenerationFunction mipGen, rx::ColorReadFunction colorRead, GLenum componentType, GLuint redBits, GLuint greenBits, GLuint blueBits, GLuint alphaBits, GLuint depthBits, GLuint stencilBits)
 
- Public Member Functions inherited from angle::NonCopyable
 NonCopyable ()=default
 
 ~NonCopyable ()=default
 

Static Public Member Functions

static const FormatGet (ID id)
 

Public Attributes

ID id
 
GLenum glInternalFormat
 
GLenum fboImplementationInternalFormat
 
rx::MipGenerationFunction mipGenerationFunction
 
rx::ColorReadFunction colorReadFunction
 
rx::FastCopyFunctionMap fastCopyFunctions
 
GLenum componentType
 
GLuint redBits
 
GLuint greenBits
 
GLuint blueBits
 
GLuint alphaBits
 
GLuint depthBits
 
GLuint stencilBits
 

Additional Inherited Members

- Protected Member Functions inherited from angle::NonCopyable
 NonCopyable (const NonCopyable &)=delete
 
void operator= (const NonCopyable &)=delete
 

Member Enumeration Documentation

◆ ID

Enumerator
NONE 
A16_FLOAT 
A32_FLOAT 
A8_UNORM 
ASTC_10x10_SRGB_BLOCK 
ASTC_10x10_UNORM_BLOCK 
ASTC_10x5_SRGB_BLOCK 
ASTC_10x5_UNORM_BLOCK 
ASTC_10x6_SRGB_BLOCK 
ASTC_10x6_UNORM_BLOCK 
ASTC_10x8_SRGB_BLOCK 
ASTC_10x8_UNORM_BLOCK 
ASTC_12x10_SRGB_BLOCK 
ASTC_12x10_UNORM_BLOCK 
ASTC_12x12_S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16G16B16_SINT 
R16G16B16_SNORM 
R16G16B16_UINT 
R16G16B16_UNORM 
R16G16_FLOAT 
R16G16_SINT 
R16G16_SNORM 
R16G16_UINT 
R16G16_UNORM 
R16_FLOAT 
R16_SINT 
R16_SNORM 
R16_UINT 
R16_UNORM 
R32G32B32A32_FLOAT 
R32G32B32A32_SINT 
R32G32B32A32_UINT 
R32G32B32_FLOAT 
R32G32B32_SINT 
R32G32B32_UINT 
R32G32_FLOAT 
R32G32_SINT 
R32G32_UINT 
R32_FLOAT 
R32_SINT 
R32_UINT 
R4G4B4A4_UNORM 
R5G5B5A1_UNORM 
R5G6B5_UNORM 
R8G8B8A8_SINT 
R8G8B8A8_SNORM 
R8G8B8A8_UINT 
R8G8B8A8_UNORM 
R8G8B8A8_UNORM_SRGB 
R8G8B8_SINT 
R8G8B8_SNORM 
R8G8B8_UINT 
R8G8B8_UNORM 
R8G8B8_UNORM_SRGB 
R8G8_SINT 
R8G8_SNORM 
R8G8_UINT 
R8G8_UNORM 
R8_SINT 
R8_SNORM 
R8_UINT 
R8_UNORM 
R9G9B9E5_SHAREDEXP 
S8_UINT 

Constructor & Destructor Documentation

◆ Format()

angle::Format::Format ( ID  id,
GLenum  glFormat,
GLenum  fboFormat,
rx::MipGenerationFunction  mipGen,
rx::ColorReadFunction  colorRead,
GLenum  componentType,
GLuint  redBits,
GLuint  greenBits,
GLuint  blueBits,
GLuint  alphaBits,
GLuint  depthBits,
GLuint  stencilBits 
)

Member Function Documentation

◆ Get()

const Format & angle::Format::Get ( ID  id)
static

Member Data Documentation

◆ alphaBits

GLuint angle::Format::alphaBits

◆ blueBits

GLuint angle::Format::blueBits

◆ colorReadFunction

rx::ColorReadFunction angle::Format::colorReadFunction

◆ componentType

GLenum angle::Format::componentType

◆ depthBits

GLuint angle::Format::depthBits

◆ fastCopyFunctions

rx::FastCopyFunctionMap angle::Format::fastCopyFunctions

◆ fboImplementationInternalFormat

GLenum angle::Format::fboImplementationInternalFormat

◆ glInternalFormat

GLenum angle::Format::glInternalFormat

◆ greenBits

GLuint angle::Format::greenBits

◆ id

ID angle::Format::id

◆ mipGenerationFunction

rx::MipGenerationFunction angle::Format::mipGenerationFunction

◆ redBits

GLuint angle::Format::redBits

◆ stencilBits

GLuint angle::Format::stencilBits

The documentation for this struct was generated from the following files: