Home
last modified time | relevance | path

Searched refs:BlendFactorType (Results 1 – 2 of 2) sorted by relevance

/external/angle/src/common/
DPackedEnums.cpp284 std::ostream &operator<<(std::ostream &os, BlendFactorType value) in operator <<()
288 case BlendFactorType::Zero: in operator <<()
291 case BlendFactorType::One: in operator <<()
294 case BlendFactorType::SrcColor: in operator <<()
297 case BlendFactorType::OneMinusSrcColor: in operator <<()
300 case BlendFactorType::SrcAlpha: in operator <<()
303 case BlendFactorType::OneMinusSrcAlpha: in operator <<()
306 case BlendFactorType::DstAlpha: in operator <<()
309 case BlendFactorType::OneMinusDstAlpha: in operator <<()
312 case BlendFactorType::DstColor: in operator <<()
[all …]
DPackedEnums.h361 enum class BlendFactorType enum
398 constexpr BlendFactorType FromGLenum<BlendFactorType>(GLenum from)
401 return static_cast<BlendFactorType>(from);
403 return static_cast<BlendFactorType>(from - GL_SRC_COLOR + 2);
405 return static_cast<BlendFactorType>(from - GL_CONSTANT_COLOR + 11);
407 return BlendFactorType::Src1Alpha;
409 return static_cast<BlendFactorType>(from - GL_SRC1_COLOR_EXT + 16);
410 return BlendFactorType::InvalidEnum;
413 constexpr GLenum ToGLenum(BlendFactorType from) in ToGLenum()
418 if (from >= BlendFactorType::MinSrcDstType && from <= BlendFactorType::MaxSrcDstType) in ToGLenum()
[all …]