Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/angle2/src/libANGLE/
DState.cpp729 ANGLE_INLINE bool State::hasConstantColor(GLenum sourceRGB, GLenum destRGB) const in hasConstantColor()
732 destRGB == GL_CONSTANT_COLOR || destRGB == GL_ONE_MINUS_CONSTANT_COLOR; in hasConstantColor()
735 ANGLE_INLINE bool State::hasConstantAlpha(GLenum sourceRGB, GLenum destRGB) const in hasConstantAlpha()
738 destRGB == GL_CONSTANT_ALPHA || destRGB == GL_ONE_MINUS_CONSTANT_ALPHA; in hasConstantAlpha()
919 void State::setBlendFactors(GLenum sourceRGB, GLenum destRGB, GLenum sourceAlpha, GLenum destAlpha) in setBlendFactors() argument
922 mBlendState.destBlendRGB == destRGB && mBlendState.sourceBlendAlpha == sourceAlpha && in setBlendFactors()
929 mBlendState.destBlendRGB = destRGB; in setBlendFactors()
935 if (hasConstantColor(sourceRGB, destRGB)) in setBlendFactors()
944 if (hasConstantAlpha(sourceRGB, destRGB)) in setBlendFactors()
955 mBlendStateExt.setFactors(sourceRGB, destRGB, sourceAlpha, destAlpha); in setBlendFactors()
[all …]
DState.h197 void setBlendFactors(GLenum sourceRGB, GLenum destRGB, GLenum sourceAlpha, GLenum destAlpha);
199 GLenum destRGB,
924 bool hasConstantColor(GLenum sourceRGB, GLenum destRGB) const;
925 bool hasConstantAlpha(GLenum sourceRGB, GLenum destRGB) const;
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DContext.h430 void setBlendFactors(GLenum sourceRGB, GLenum destRGB, GLenum sourceAlpha, GLenum destAlpha);
DContext.cpp428 void Context::setBlendFactors(GLenum sourceRGB, GLenum destRGB, GLenum sourceAlpha, GLenum destAlph… in setBlendFactors() argument
432 mState.destBlendRGB != destRGB || in setBlendFactors()
436 mState.destBlendRGB = destRGB; in setBlendFactors()