Home
last modified time | relevance | path

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

/external/angle/src/common/
DPackedEnums.h336 enum class BlendEquationType enum
349 constexpr BlendEquationType FromGLenum<BlendEquationType>(GLenum from)
352 return (scaled == static_cast<GLenum>(BlendEquationType::Unused) ||
353 scaled >= static_cast<GLenum>(BlendEquationType::EnumCount))
354 ? BlendEquationType::InvalidEnum
355 : static_cast<BlendEquationType>(scaled);
358 constexpr GLenum ToGLenum(BlendEquationType from) in ToGLenum()
363 ANGLE_VALIDATE_PACKED_ENUM(BlendEquationType, Add, GL_FUNC_ADD);
364 ANGLE_VALIDATE_PACKED_ENUM(BlendEquationType, Min, GL_MIN);
365 ANGLE_VALIDATE_PACKED_ENUM(BlendEquationType, Max, GL_MAX);
[all …]
DPackedEnums.cpp331 std::ostream &operator<<(std::ostream &os, BlendEquationType value) in operator <<()
335 case BlendEquationType::Add: in operator <<()
338 case BlendEquationType::Min: in operator <<()
341 case BlendEquationType::Max: in operator <<()
344 case BlendEquationType::Subtract: in operator <<()
347 case BlendEquationType::ReverseSubtract: in operator <<()
/external/angle/src/libANGLE/
Dangletypes.cpp348 mEquationColor(EquationStorage::GetReplicatedValue(BlendEquationType::Add, mMaxEquationMask)), in BlendStateExt()
349 mEquationAlpha(EquationStorage::GetReplicatedValue(BlendEquationType::Add, mMaxEquationMask)), in BlendStateExt()
437 return EquationStorage::GetReplicatedValue(FromGLenum<BlendEquationType>(mode), in expandEquationValue()
466 EquationStorage::SetValueIndexed(index, FromGLenum<BlendEquationType>(modeColor), in setEquationsIndexed()
468 EquationStorage::SetValueIndexed(index, FromGLenum<BlendEquationType>(modeAlpha), in setEquationsIndexed()
Dangletypes.h577 using EquationStorage = StorageType<BlendEquationType, angle::EnumSize<BlendEquationType>()>;