Home
last modified time | relevance | path

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

/external/angle/src/common/
DPackedEnums.h326 enum class BlendEquationType enum
339 constexpr BlendEquationType FromGLenum<BlendEquationType>(GLenum from)
342 return (scaled == static_cast<GLenum>(BlendEquationType::Unused) ||
343 scaled >= static_cast<GLenum>(BlendEquationType::EnumCount))
344 ? BlendEquationType::InvalidEnum
345 : static_cast<BlendEquationType>(scaled);
348 constexpr GLenum ToGLenum(BlendEquationType from) in ToGLenum()
353 ANGLE_VALIDATE_PACKED_ENUM(BlendEquationType, Add, GL_FUNC_ADD);
354 ANGLE_VALIDATE_PACKED_ENUM(BlendEquationType, Min, GL_MIN);
355 ANGLE_VALIDATE_PACKED_ENUM(BlendEquationType, Max, GL_MAX);
[all …]
DPackedEnums.cpp257 std::ostream &operator<<(std::ostream &os, BlendEquationType value) in operator <<()
261 case BlendEquationType::Add: in operator <<()
264 case BlendEquationType::Min: in operator <<()
267 case BlendEquationType::Max: in operator <<()
270 case BlendEquationType::Subtract: in operator <<()
273 case BlendEquationType::ReverseSubtract: in operator <<()