webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Namespaces | Macros | Typedefs | Enumerations | Functions
angletypes.h File Reference
#include "libANGLE/Constants.h"
#include "libANGLE/RefCountObject.h"
#include <stdint.h>
#include <bitset>
#include <unordered_map>
#include "angletypes.inl"

Go to the source code of this file.

Classes

struct  gl::Rectangle
 
struct  gl::Offset
 
struct  gl::Extents
 
struct  gl::Box
 
struct  gl::RasterizerState
 
struct  gl::BlendState
 
struct  gl::DepthStencilState
 
struct  gl::SamplerState
 
struct  gl::PixelStoreStateBase
 
struct  gl::PixelUnpackState
 
struct  gl::PixelPackState
 

Namespaces

 gl
 
 rx
 
 angle
 

Macros

#define ANGLE_HAS_DYNAMIC_CAST   1
 
#define ANGLE_HAS_DYNAMIC_TYPE(type, obj)   (dynamic_cast<type >(obj) != nullptr)
 

Typedefs

typedef std::bitset< MAX_VERTEX_ATTRIBS > gl::AttributesMask
 
typedef std::bitset< IMPLEMENTATION_MAX_COMBINED_SHADER_UNIFORM_BUFFERS > gl::UniformBlockBindingMask
 
template<class ResourceT >
using gl::ResourceMap = std::unordered_map< GLuint, ResourceT * >
 

Enumerations

enum  gl::PrimitiveType {
  gl::PRIMITIVE_POINTS, gl::PRIMITIVE_LINES, gl::PRIMITIVE_LINE_STRIP, gl::PRIMITIVE_LINE_LOOP,
  gl::PRIMITIVE_TRIANGLES, gl::PRIMITIVE_TRIANGLE_STRIP, gl::PRIMITIVE_TRIANGLE_FAN, gl::PRIMITIVE_TYPE_MAX
}
 
enum  gl::SamplerType { gl::SAMPLER_PIXEL, gl::SAMPLER_VERTEX }
 
enum  rx::VendorID : uint32_t {
  rx::VENDOR_ID_UNKNOWN = 0x0, rx::VENDOR_ID_AMD = 0x1002, rx::VENDOR_ID_INTEL = 0x8086, rx::VENDOR_ID_NVIDIA = 0x10DE,
  rx::VENDOR_ID_QUALCOMM = 0x5143
}
 
enum  angle::FramebufferBinding {
  angle::FramebufferBindingRead = 0, angle::FramebufferBindingDraw, angle::FramebufferBindingSingletonMax, angle::FramebufferBindingBoth = FramebufferBindingSingletonMax,
  angle::FramebufferBindingMax, angle::FramebufferBindingUnknown = FramebufferBindingMax
}
 

Functions

PrimitiveType gl::GetPrimitiveType (GLenum drawMode)
 
bool gl::operator== (const Rectangle &a, const Rectangle &b)
 
bool gl::operator!= (const Rectangle &a, const Rectangle &b)
 
bool gl::ClipRectangle (const Rectangle &source, const Rectangle &clip, Rectangle *intersection)
 
bool gl::operator== (const Extents &lhs, const Extents &rhs)
 
bool gl::operator!= (const Extents &lhs, const Extents &rhs)
 
bool gl::operator== (const SamplerState &a, const SamplerState &b)
 
bool gl::operator!= (const SamplerState &a, const SamplerState &b)
 
template<typename DestT , typename SrcT >
DestT * rx::GetAs (SrcT *src)
 
template<typename DestT , typename SrcT >
const DestT * rx::GetAs (const SrcT *src)
 
template<typename DestT , typename SrcT >
DestT * rx::GetImplAs (SrcT *src)
 
FramebufferBinding angle::EnumToFramebufferBinding (GLenum enumValue)
 
GLenum angle::FramebufferBindingToEnum (FramebufferBinding binding)
 

Macro Definition Documentation

◆ ANGLE_HAS_DYNAMIC_CAST

#define ANGLE_HAS_DYNAMIC_CAST   1

◆ ANGLE_HAS_DYNAMIC_TYPE

#define ANGLE_HAS_DYNAMIC_TYPE (   type,
  obj 
)    (dynamic_cast<type >(obj) != nullptr)