Home
last modified time | relevance | path

Searched refs:Blend (Results 1 – 25 of 252) sorted by relevance

1234567891011

/third_party/mesa3d/src/mesa/main/
Dblend.c176 (blend_factor_is_dual_src(ctx->Color.Blend[buf].SrcRGB) || in update_uses_dual_src()
177 blend_factor_is_dual_src(ctx->Color.Blend[buf].DstRGB) || in update_uses_dual_src()
178 blend_factor_is_dual_src(ctx->Color.Blend[buf].SrcA) || in update_uses_dual_src()
179 blend_factor_is_dual_src(ctx->Color.Blend[buf].DstA)); in update_uses_dual_src()
216 if (ctx->Color.Blend[buf].SrcRGB != sfactorRGB || in skip_blend_state_update()
217 ctx->Color.Blend[buf].DstRGB != dfactorRGB || in skip_blend_state_update()
218 ctx->Color.Blend[buf].SrcA != sfactorA || in skip_blend_state_update()
219 ctx->Color.Blend[buf].DstA != dfactorA) { in skip_blend_state_update()
226 if (ctx->Color.Blend[0].SrcRGB != sfactorRGB || in skip_blend_state_update()
227 ctx->Color.Blend[0].DstRGB != dfactorRGB || in skip_blend_state_update()
[all …]
Dattrib.c140 attr->Blend = ctx->Color.BlendEnabled; in _mesa_PushAttrib()
340 if (ctx->Color.BlendEnabled != enable->Blend) { in pop_enable_group()
343 TEST_AND_UPDATE_INDEX(ctx->Color.BlendEnabled, enable->Blend, in pop_enable_group()
347 _mesa_set_enable(ctx, GL_BLEND, (enable->Blend & 1)); in pop_enable_group()
780 _mesa_BlendFuncSeparateiARB(buf, attr->Color.Blend[buf].SrcRGB, in _mesa_PopAttrib()
781 attr->Color.Blend[buf].DstRGB, in _mesa_PopAttrib()
782 attr->Color.Blend[buf].SrcA, in _mesa_PopAttrib()
783 attr->Color.Blend[buf].DstA); in _mesa_PopAttrib()
785 attr->Color.Blend[buf].EquationRGB, in _mesa_PopAttrib()
786 attr->Color.Blend[buf].EquationA); in _mesa_PopAttrib()
[all …]
/third_party/mesa3d/src/mesa/state_tracker/
Dst_atom_blend.c238 translate_blend(ctx->Color.Blend[j].EquationRGB); in st_update_blend()
240 if (ctx->Color.Blend[i].EquationRGB == GL_MIN || in st_update_blend()
241 ctx->Color.Blend[i].EquationRGB == GL_MAX) { in st_update_blend()
248 translate_blend(ctx->Color.Blend[j].SrcRGB); in st_update_blend()
250 translate_blend(ctx->Color.Blend[j].DstRGB); in st_update_blend()
254 translate_blend(ctx->Color.Blend[j].EquationA); in st_update_blend()
256 if (ctx->Color.Blend[i].EquationA == GL_MIN || in st_update_blend()
257 ctx->Color.Blend[i].EquationA == GL_MAX) { in st_update_blend()
264 translate_blend(ctx->Color.Blend[j].SrcA); in st_update_blend()
266 translate_blend(ctx->Color.Blend[j].DstA); in st_update_blend()
/third_party/skia/gm/
Dxfermodeimagefilter.cpp94 paint.setImageFilter(SkImageFilters::Blend(gModes[i], background)); in onDraw()
111 paint.setImageFilter(SkImageFilters::Blend(SkBlendMode::kSrcOver, background)); in onDraw()
125 paint.setImageFilter(SkImageFilters::Blend( in onDraw()
134 paint.setImageFilter(SkImageFilters::Blend( in onDraw()
155 paint.setImageFilter(SkImageFilters::Blend(sampledModes[i], offsetBackground, in onDraw()
167 paint.setImageFilter(SkImageFilters::Blend(SkBlendMode::kScreen, cropped, background)); in onDraw()
175 paint.setImageFilter(SkImageFilters::Blend(SkBlendMode::kScreen, background, cropped)); in onDraw()
186 paint.setImageFilter(SkImageFilters::Blend(SkBlendMode::kSrcIn, background, cropped, in onDraw()
Dimagefiltersgraph.cpp48 sk_sp<SkColorFilter> cf(SkColorFilters::Blend(SK_ColorRED, in onDraw()
73 paint.setImageFilter(SkImageFilters::Blend(SkBlendMode::kSrcOver, in onDraw()
102 SkImageFilters::Blend(SkBlendMode::kSrcIn, std::move(blur), nullptr, &cropRect)); in onDraw()
131 sk_sp<SkColorFilter> cf1(SkColorFilters::Blend(SK_ColorBLUE, SkBlendMode::kSrcIn)); in onDraw()
132 sk_sp<SkColorFilter> cf2(SkColorFilters::Blend(SK_ColorGREEN, SkBlendMode::kSrcIn)); in onDraw()
Dcomposeshader.cpp49 return SkShaders::Blend(mode, std::move(shaderA), std::move(shaderB)); in make_shader()
199 SkShaders::Blend(mode, fLinearGradientShader, fColorBitmapShader), in onDraw()
201 SkShaders::Blend(mode, fLinearGradientShader, fAlpha8BitmapShader), in onDraw()
278 SkShaders::Blend(SkBlendMode::kSrcIn,
323 p.setShader(SkShaders::Blend(mode, dst, src)); in draw_composed()
/third_party/skia/bench/
DColorFilterBench.cpp167 []() { return SkColorFilters::Blend(0x80808080, SkBlendMode::kSrc); }); ) in __anon9607f1bd0302()
169 []() { return SkColorFilters::Blend(0x80808080, SkBlendMode::kSrcOver); }); ) in __anon9607f1bd0402()
179 []() { return SkColorFilters::Compose(SkColorFilters::Blend(0x80808080, SkBlendMode::kSrc), in __anon9607f1bd0902()
180 SkColorFilters::Blend(0x80808080, SkBlendMode::kSrc)); in __anon9607f1bd0902()
184 SkColorFilters::Blend(0x80808080, SkBlendMode::kSrc), in __anon9607f1bd0a02()
185 SkColorFilters::Blend(0x80808080, SkBlendMode::kSrc)); in __anon9607f1bd0a02()
/third_party/skia/src/shaders/
DSkComposeShader.cpp45 sk_sp<SkShader> SkShaders::Blend(SkBlendMode mode, sk_sp<SkShader> dst, sk_sp<SkShader> src) { in Blend() function in SkShaders
58 sk_sp<SkShader> SkShaders::Blend(sk_sp<SkBlender> blender, sk_sp<SkShader> dst, sk_sp<SkShader> src… in Blend() function in SkShaders
63 return SkShaders::Blend(SkBlendMode::kSrcOver, std::move(dst), std::move(src)); in Blend()
66 return SkShaders::Blend(bm.value(), std::move(dst), std::move(src)); in Blend()
86 return SkShaders::Blend(std::move(blender), std::move(dst), std::move(src)); in CreateProc()
90 return SkShaders::Blend(static_cast<SkBlendMode>(mode), std::move(dst), std::move(src)); in CreateProc()
/third_party/flutter/skia/src/codec/
DSkFrameHolder.h32 , fBlend(SkCodecAnimation::Blend::kPriorFrame) in SkFrame()
137 void setBlend(SkCodecAnimation::Blend blend) { in setBlend()
141 SkCodecAnimation::Blend getBlend() const { in getBlend()
157 SkCodecAnimation::Blend fBlend;
/third_party/skia/src/codec/
DSkFrameHolder.h32 , fBlend(SkCodecAnimation::Blend::kSrcOver) in SkFrame()
137 void setBlend(SkCodecAnimation::Blend blend) { in setBlend()
141 SkCodecAnimation::Blend getBlend() const { in getBlend()
162 SkCodecAnimation::Blend fBlend;
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcBlendEquationAdvancedTests.cpp166 static tcu::Vec4 Blend(const tcu::Vec4& rgb, const tcu::Vec4& src, const tcu::Vec4& dst) in Blend() function
178 return Blend(rgb, src, dst); in BlendMultiply()
185 return Blend(rgb, src, dst); in BlendScreen()
200 return Blend(rgb, src, dst); in BlendOverlay()
207 return Blend(rgb, src, dst); in BlendDarken()
214 return Blend(rgb, src, dst); in BlendLighten()
231 return Blend(rgb, src, dst); in BlendColorDodge()
251 return Blend(rgb, src, dst); in BlendColorBurn()
266 return Blend(rgb, src, dst); in BlendHardLight()
289 return Blend(rgb, src, dst); in BlendSoftLight()
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/OES/
DOES_blend_func_separate.txt70 Replace the "Blend Equation" discussion in section 4.1.7 (Blending) with
74 blend functions. Blend functions are specified with the commands
88 Function RGB Blend Factors Alpha Blend Factor
DOES_blend_subtract.txt75 Replace the 1st paragraph of the "Blend Equation" discussion in section
85 Replace the last paragraph of the "Blend Equation" discussion in section
98 factors determined by the destination blend function. Blend functions are
119 Table 4.blendeq: Blend equations."
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/VK_EXT_blend_operation_advanced/
Dadvanced_blend.txt6 === Advanced Blend Operations
9 <<framebuffer-blend-advanced-fxyz-modes,f/X/Y/Z Advanced Blend Operations>>,
11 Blend Operations>>, and
12 <<framebuffer-blend-advanced-additional-rgb,Additional RGB Blend
62 <<framebuffer-blend-advanced-fxyz-modes,f/X/Y/Z Advanced Blend Operations>>
64 Blend Operations>>, blending is performed according to the following
161 in table <<framebuffer-blend-advanced-overlap-modes,Advanced Blend Overlap
186 .Advanced Blend Overlap Modes
222 .f/X/Y/Z Advanced Blend Operations
225 | Mode | Blend Coefficients
[all …]
Dadvanced_blend.adoc6 === Advanced Blend Operations
9 <<framebuffer-blend-advanced-fxyz-modes,f/X/Y/Z Advanced Blend Operations>>,
11 Blend Operations>>, and
12 <<framebuffer-blend-advanced-additional-rgb,Additional RGB Blend
138 <<framebuffer-blend-advanced-fxyz-modes,f/X/Y/Z Advanced Blend Operations>>
140 Blend Operations>>, blending is performed according to the following
237 in table <<framebuffer-blend-advanced-overlap-modes,Advanced Blend Overlap
262 .Advanced Blend Overlap Modes
298 .f/X/Y/Z Advanced Blend Operations
301 | Mode | Blend Coefficients
[all …]
/third_party/flutter/skia/gm/
Dcomposeshader.cpp49 return SkShaders::Blend(mode, std::move(shaderA), std::move(shaderB)); in make_shader()
202 SkShaders::Blend(mode, fLinearGradientShader, fColorBitmapShader, lm.getMaybeNull()), in onDraw()
204 SkShaders::Blend(mode, fLinearGradientShader, fAlpha8BitmapShader, lm.getMaybeNull()), in onDraw()
277 SkShaders::Blend(SkBlendMode::kSrcIn, skMaskImage->makeShader(), skSrc->makeShader()));
320 p.setShader(SkShaders::Blend(mode, dst, src)); in draw_composed()
Dimagefiltersgraph.cpp49 sk_sp<SkColorFilter> cf(SkColorFilters::Blend(SK_ColorRED, in onDraw()
132 sk_sp<SkColorFilter> cf1(SkColorFilters::Blend(SK_ColorBLUE, SkBlendMode::kSrcIn)); in onDraw()
133 sk_sp<SkColorFilter> cf2(SkColorFilters::Blend(SK_ColorGREEN, SkBlendMode::kSrcIn)); in onDraw()
Dlocalmatrixshader.cpp62 return SkShaders::Blend(SkBlendMode::kSrcOver, in __anon8449b0f80302()
70 return SkShaders::Blend(SkBlendMode::kSrcOver, in __anon8449b0f80402()
/third_party/skia/include/core/
DSkShader.h141 static sk_sp<SkShader> Blend(SkBlendMode mode, sk_sp<SkShader> dst, sk_sp<SkShader> src);
142 static sk_sp<SkShader> Blend(sk_sp<SkBlender>, sk_sp<SkShader> dst, sk_sp<SkShader> src);
/third_party/skia/tests/
DCodecAnimTest.cpp72 SkString to_string(SkCodecAnimation::Blend blend) { in to_string()
74 case SkCodecAnimation::Blend::kSrcOver: in to_string()
76 case SkCodecAnimation::Blend::kSrc: in to_string()
105 constexpr auto kSrcOver = SkCodecAnimation::Blend::kSrcOver; in DEF_TEST()
106 constexpr auto kSrc = SkCodecAnimation::Blend::kSrc; in DEF_TEST()
122 std::vector<SkCodecAnimation::Blend> fBlends; in DEF_TEST()
/third_party/openGLES/extensions/OES/
DOES_blend_subtract.txt85 Replace the 1st paragraph of the "Blend Equation" discussion in section
95 Replace the last paragraph of the "Blend Equation" discussion in section
108 factors determined by the destination blend function. Blend functions are
129 Table 4.blendeq: Blend equations."
DOES_blend_func_separate.txt80 Replace the "Blend Equation" discussion in section 4.1.7 (Blending) with
84 blend functions. Blend functions are specified with the commands
98 Function RGB Blend Factors Alpha Blend Factor
/third_party/flutter/skia/samplecode/
DSampleShaders.cpp25 return SkShaders::Blend(SkBlendMode::kDstIn, in make_bitmapfade()
47 return SkShaders::Blend(SkBlendMode::kDstIn, std::move(shaderA), std::move(shaderB)); in make_blend_shader()
/third_party/flutter/skia/tests/
DColorFilterTest.cpp38 return SkColorFilters::Blend(SK_ColorRED, SkBlendMode::kColorBurn); in make_filter()
68 auto cf = SkColorFilters::Blend(color, (SkBlendMode)mode); in DEF_TEST()
/third_party/flutter/skia/src/core/
DSkModeColorFilter.cpp61 return SkColorFilters::Blend(color, mode); in CreateProc()
107 sk_sp<SkColorFilter> SkColorFilters::Blend(SkColor color, SkBlendMode mode) { in Blend() function in SkColorFilters

1234567891011