Searched refs:FactorStorage (Results 1 – 4 of 4) sorted by relevance
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | angletypes.cpp | 344 : mMaxFactorMask(FactorStorage::GetMask(drawBuffers)), in BlendStateExt() 345 mSrcColor(FactorStorage::GetReplicatedValue(BlendFactorType::One, mMaxFactorMask)), in BlendStateExt() 346 mDstColor(FactorStorage::GetReplicatedValue(BlendFactorType::Zero, mMaxFactorMask)), in BlendStateExt() 347 mSrcAlpha(FactorStorage::GetReplicatedValue(BlendFactorType::One, mMaxFactorMask)), in BlendStateExt() 348 mDstAlpha(FactorStorage::GetReplicatedValue(BlendFactorType::Zero, mMaxFactorMask)), in BlendStateExt() 507 BlendStateExt::FactorStorage::Type BlendStateExt::expandFactorValue(const GLenum func) const in expandFactorValue() 509 return FactorStorage::GetReplicatedValue(FromGLenum<BlendFactorType>(func), mMaxFactorMask); in expandFactorValue() 512 BlendStateExt::FactorStorage::Type BlendStateExt::expandSrcColorIndexed(const size_t index) const in expandSrcColorIndexed() 515 return FactorStorage::GetReplicatedValue(FactorStorage::GetValueIndexed(index, mSrcColor), in expandSrcColorIndexed() 519 BlendStateExt::FactorStorage::Type BlendStateExt::expandDstColorIndexed(const size_t index) const in expandDstColorIndexed() [all …]
|
D | angletypes.h | 610 using FactorStorage = StorageType<BlendFactorType, angle::EnumSize<BlendFactorType>()>; variable 683 FactorStorage::Type expandFactorValue(const GLenum func) const; 684 FactorStorage::Type expandSrcColorIndexed(const size_t index) const; 685 FactorStorage::Type expandDstColorIndexed(const size_t index) const; 686 FactorStorage::Type expandSrcAlphaIndexed(const size_t index) const; 687 FactorStorage::Type expandDstAlphaIndexed(const size_t index) const; 702 DrawBufferMask compareFactors(const FactorStorage::Type srcColor, 703 const FactorStorage::Type dstColor, 704 const FactorStorage::Type srcAlpha, 705 const FactorStorage::Type dstAlpha) const; [all …]
|
D | angletypes_unittest.cpp | 187 gl::BlendStateExt::FactorStorage::Type otherSrcColor = blendStateExt.expandSrcColorIndexed(1); in TEST() 188 gl::BlendStateExt::FactorStorage::Type otherDstColor = blendStateExt.expandDstColorIndexed(1); in TEST() 189 gl::BlendStateExt::FactorStorage::Type otherSrcAlpha = blendStateExt.expandSrcAlphaIndexed(1); in TEST() 190 gl::BlendStateExt::FactorStorage::Type otherDstAlpha = blendStateExt.expandDstAlphaIndexed(1); in TEST()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
D | StateManagerGL.cpp | 1265 gl::BlendStateExt::FactorStorage::Type commonSrcColor = 0; in setBlendFuncs() 1266 gl::BlendStateExt::FactorStorage::Type commonDstColor = 0; in setBlendFuncs() 1267 gl::BlendStateExt::FactorStorage::Type commonSrcAlpha = 0; in setBlendFuncs() 1268 gl::BlendStateExt::FactorStorage::Type commonDstAlpha = 0; in setBlendFuncs() 1271 const gl::BlendStateExt::FactorStorage::Type tempCommonSrcColor = in setBlendFuncs() 1273 const gl::BlendStateExt::FactorStorage::Type tempCommonDstColor = in setBlendFuncs() 1275 const gl::BlendStateExt::FactorStorage::Type tempCommonSrcAlpha = in setBlendFuncs() 1277 const gl::BlendStateExt::FactorStorage::Type tempCommonDstAlpha = in setBlendFuncs() 1302 ToGLenum(gl::BlendStateExt::FactorStorage::GetValueIndexed(0, commonSrcColor)), in setBlendFuncs() 1303 ToGLenum(gl::BlendStateExt::FactorStorage::GetValueIndexed(0, commonDstColor)), in setBlendFuncs() [all …]
|