Home
last modified time | relevance | path

Searched refs:blendColor (Results 1 – 25 of 92) sorted by relevance

1234

/third_party/vk-gl-cts/modules/gles2/functional/
Des2fBlendTests.cpp76 Vec4 blendColor; member
91 , blendColor (blendColor_) in BlendParams()
227 …r = (" << paramSet.blendColor.x() << ", " << paramSet.blendColor.y() << ", " << paramSet.blendColo… in iterate()
233 …_CHECK_CALL(glBlendColor(paramSet.blendColor.x(), paramSet.blendColor.y(), paramSet.blendColor.z()… in iterate()
243 referenceState.blendColor = paramSet.blendColor; in iterate()
Des2fRandomFragmentOpTests.cpp125 dst.blendColor = tcu::clamp(src.blendColor, Vec4(0.0f), Vec4(1.0f)); in translateState()
195 …wrapper.glBlendColor(state.blendColor.x(), state.blendColor.y(), state.blendColor.z(), state.blend… in setGLState()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fBlendTests.cpp88 Vec4 blendColor; member
103 , blendColor (blendColor_) in BlendParams()
275 …r = (" << paramSet.blendColor.x() << ", " << paramSet.blendColor.y() << ", " << paramSet.blendColo… in iterate()
281 …_CHECK_CALL(glBlendColor(paramSet.blendColor.x(), paramSet.blendColor.y(), paramSet.blendColor.z()… in iterate()
291 referenceState.blendColor = paramSet.blendColor; in iterate()
Des3fRandomFragmentOpTests.cpp125 dst.blendColor = tcu::clamp(src.blendColor, Vec4(0.0f), Vec4(1.0f)); in translateState()
195 …wrapper.glBlendColor(state.blendColor.x(), state.blendColor.y(), state.blendColor.z(), state.blend… in setGLState()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DStateManager9.cpp329 const gl::ColorF &blendColor = glState.getBlendColor(); in setBlendDepthRasterStates() local
351 setBlendColor(blendState, blendColor); in setBlendDepthRasterStates()
700 void StateManager9::setBlendColor(const gl::BlendState &blendState, const gl::ColorF &blendColor) in setBlendColor() argument
711 gl_d3d9::ConvertColor(blendColor)); in setBlendColor()
717 D3DCOLOR_RGBA(gl::unorm<8>(blendColor.alpha), gl::unorm<8>(blendColor.alpha), in setBlendColor()
718 gl::unorm<8>(blendColor.alpha), gl::unorm<8>(blendColor.alpha))); in setBlendColor()
720 mCurBlendColor = blendColor; in setBlendColor()
DStateManager9.h77 void setBlendColor(const gl::BlendState &blendState, const gl::ColorF &blendColor);
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DStateManager9.cpp329 const gl::ColorF &blendColor = glState.getBlendColor(); in setBlendDepthRasterStates() local
351 setBlendColor(blendState, blendColor); in setBlendDepthRasterStates()
699 void StateManager9::setBlendColor(const gl::BlendState &blendState, const gl::ColorF &blendColor) in setBlendColor() argument
710 gl_d3d9::ConvertColor(blendColor)); in setBlendColor()
716 D3DCOLOR_RGBA(gl::unorm<8>(blendColor.alpha), gl::unorm<8>(blendColor.alpha), in setBlendColor()
717 gl::unorm<8>(blendColor.alpha), gl::unorm<8>(blendColor.alpha))); in setBlendColor()
719 mCurBlendColor = blendColor; in setBlendColor()
DStateManager9.h77 void setBlendColor(const gl::BlendState &blendState, const gl::ColorF &blendColor);
/third_party/skia/docs/examples/
Dpathops.cpp29 SkColor blendColor = blend(oneColor, twoColor); in draw() local
33 makePaint(&fOpPaint[kIntersect_SkPathOp], blendColor); in draw()
/third_party/flutter/skia/gm/
Dpathopsinverse.cpp32 SkColor blendColor = blend(oneColor, twoColor); in onOnceBeforeDraw() local
36 makePaint(&fOpPaint[kIntersect_SkPathOp], blendColor); in onOnceBeforeDraw()
/third_party/vk-gl-cts/framework/referencerenderer/
DrrFragmentOperations.cpp359 void FragmentProcessor::executeBlendFactorComputeRGB (const Vec4& blendColor, const BlendState& ble… in executeBlendFactorComputeRGB() argument
390 …case BLENDFUNC_CONSTANT_COLOR: SAMPLE_REGISTER_BLEND_FACTOR(FACTOR_NAME, blendColor.swizzle(0,1… in executeBlendFactorComputeRGB()
391 …CONSTANT_COLOR: SAMPLE_REGISTER_BLEND_FACTOR(FACTOR_NAME, Vec3(1.0f) - blendColor.swizzle(0,1,2)) … in executeBlendFactorComputeRGB()
392 …case BLENDFUNC_CONSTANT_ALPHA: SAMPLE_REGISTER_BLEND_FACTOR(FACTOR_NAME, Vec3(blendColor.w())) … in executeBlendFactorComputeRGB()
393 …_CONSTANT_ALPHA: SAMPLE_REGISTER_BLEND_FACTOR(FACTOR_NAME, Vec3(1.0f - blendColor.w())) break; \ in executeBlendFactorComputeRGB()
410 void FragmentProcessor::executeBlendFactorComputeA (const Vec4& blendColor, const BlendState& blend… in executeBlendFactorComputeA() argument
441 …case BLENDFUNC_CONSTANT_COLOR: SAMPLE_REGISTER_BLEND_FACTOR(FACTOR_NAME, blendColor.w()) brea… in executeBlendFactorComputeA()
442 …ONE_MINUS_CONSTANT_COLOR: SAMPLE_REGISTER_BLEND_FACTOR(FACTOR_NAME, 1.0f - blendColor.w()) break; \ in executeBlendFactorComputeA()
443 …case BLENDFUNC_CONSTANT_ALPHA: SAMPLE_REGISTER_BLEND_FACTOR(FACTOR_NAME, blendColor.w()) brea… in executeBlendFactorComputeA()
444 …ONE_MINUS_CONSTANT_ALPHA: SAMPLE_REGISTER_BLEND_FACTOR(FACTOR_NAME, 1.0f - blendColor.w()) break; \ in executeBlendFactorComputeA()
[all …]
DrrFragmentOperations.hpp141 void executeBlendFactorComputeRGB (const tcu::Vec4& blendColor, const BlendState& blendRGBState);
142 void executeBlendFactorComputeA (const tcu::Vec4& blendColor, const BlendState& blendAState);
DrrRenderState.hpp260 tcu::Vec4 blendColor; //!< Components should be in range [0, 1]. member
296 , blendColor (0.0f) in FragmentOperationState()
/third_party/skia/gm/
Dpathopsinverse.cpp32 SkColor blendColor = blend(oneColor, twoColor); in onOnceBeforeDraw() local
36 makePaint(&fOpPaint[kIntersect_SkPathOp], blendColor); in onOnceBeforeDraw()
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
DPixelProgram.hpp37 …virtual void blendColor(Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMask[4], Int cMask[4]…
DPixelRoutine.hpp50 …virtual void blendColor(Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMask[4], Int cMask[4]…
/third_party/vk-gl-cts/modules/glshared/
DglsFragOpInteractionCase.cpp266 …ctx.blendColor(state.blendColor.x(), state.blendColor.y(), state.blendColor.z(), state.blendColor.… in setRenderState()
DglsInteractionTestUtil.hpp96 tcu::Vec4 blendColor; member
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DContext.cpp71 mState.blendColor.red = 0; in Context()
72 mState.blendColor.green = 0; in Context()
73 mState.blendColor.blue = 0; in Context()
74 mState.blendColor.alpha = 0; in Context()
445 if(mState.blendColor.red != red || in setBlendColor()
446 mState.blendColor.green != green || in setBlendColor()
447 mState.blendColor.blue != blue || in setBlendColor()
448 mState.blendColor.alpha != alpha) in setBlendColor()
450 mState.blendColor.red = red; in setBlendColor()
451 mState.blendColor.green = green; in setBlendColor()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
Dmtl_command_buffer.mm1001 blendColor = {0, 0, 0, 0};
1456 if (mStateCache.blendColor[0] == r && mStateCache.blendColor[1] == g &&
1457 mStateCache.blendColor[2] == b && mStateCache.blendColor[3] == a)
1461 mStateCache.blendColor[0] = r;
1462 mStateCache.blendColor[1] = g;
1463 mStateCache.blendColor[2] = b;
1464 mStateCache.blendColor[3] = a;
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DStateManagerGL.h52 gl::ColorF blendColor; member
204 void setBlendColor(const gl::ColorF &blendColor);
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DCommandBufferGL.cpp1316 const std::array<float, 4> blendColor = ConvertToFloatColor(cmd->color); in ExecuteRenderPass() local
1317 gl.BlendColor(blendColor[0], blendColor[1], blendColor[2], blendColor[3]); in ExecuteRenderPass()
/third_party/vk-gl-cts/framework/opengl/wrapper/
DglwInitES20Direct.inl13 gl->blendColor = &glBlendColor;
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DStateManager11.cpp1233 const gl::ColorF &blendColor, in syncBlendState() argument
1250 blendColors[0] = blendColor.red; in syncBlendState()
1251 blendColors[1] = blendColor.green; in syncBlendState()
1252 blendColors[2] = blendColor.blue; in syncBlendState()
1253 blendColors[3] = blendColor.alpha; in syncBlendState()
1257 blendColors[0] = blendColor.alpha; in syncBlendState()
1258 blendColors[1] = blendColor.alpha; in syncBlendState()
1259 blendColors[2] = blendColor.alpha; in syncBlendState()
1260 blendColors[3] = blendColor.alpha; in syncBlendState()
1266 mCurBlendColor = blendColor; in syncBlendState()
/third_party/vk-gl-cts/framework/opengl/
DgluES3PlusWrapperFuncs.inl24 dst->blendColor = src.blendColor;

1234