/external/mesa3d/src/mesa/main/ |
D | blend.c | 173 ctx->Color.Blend[buf]._UsesDualSrc = in update_uses_dual_src() 174 (blend_factor_is_dual_src(ctx->Color.Blend[buf].SrcRGB) || in update_uses_dual_src() 175 blend_factor_is_dual_src(ctx->Color.Blend[buf].DstRGB) || in update_uses_dual_src() 176 blend_factor_is_dual_src(ctx->Color.Blend[buf].SrcA) || in update_uses_dual_src() 177 blend_factor_is_dual_src(ctx->Color.Blend[buf].DstA)); in update_uses_dual_src() 205 if (ctx->Color.Blend[buf].SrcRGB != sfactorRGB || in skip_blend_state_update() 206 ctx->Color.Blend[buf].DstRGB != dfactorRGB || in skip_blend_state_update() 207 ctx->Color.Blend[buf].SrcA != sfactorA || in skip_blend_state_update() 208 ctx->Color.Blend[buf].DstA != dfactorA) { in skip_blend_state_update() 215 if (ctx->Color.Blend[0].SrcRGB != sfactorRGB || in skip_blend_state_update() [all …]
|
D | attrib.c | 73 GLboolean Blend; member 338 attr->Blend = ctx->Color.BlendEnabled; in _mesa_PushAttrib() 612 if (ctx->Color.BlendEnabled != enable->Blend) { in pop_enable_group() 616 _mesa_set_enablei(ctx, GL_BLEND, i, (enable->Blend >> i) & 1); in pop_enable_group() 620 _mesa_set_enable(ctx, GL_BLEND, (enable->Blend & 1)); in pop_enable_group() 1087 _mesa_BlendFuncSeparateiARB(buf, color->Blend[buf].SrcRGB, in _mesa_PopAttrib() 1088 color->Blend[buf].DstRGB, in _mesa_PopAttrib() 1089 color->Blend[buf].SrcA, in _mesa_PopAttrib() 1090 color->Blend[buf].DstA); in _mesa_PopAttrib() 1092 color->Blend[buf].EquationRGB, in _mesa_PopAttrib() [all …]
|
/external/mesa3d/src/mesa/swrast/ |
D | s_blend.c | 75 assert(ctx->Color.Blend[0].EquationRGB == GL_FUNC_ADD); in blend_noop() 76 assert(ctx->Color.Blend[0].EquationA == GL_FUNC_ADD); in blend_noop() 77 assert(ctx->Color.Blend[0].SrcRGB == GL_ZERO); in blend_noop() 78 assert(ctx->Color.Blend[0].DstRGB == GL_ONE); in blend_noop() 101 assert(ctx->Color.Blend[0].EquationRGB == GL_FUNC_ADD); in blend_replace() 102 assert(ctx->Color.Blend[0].EquationA == GL_FUNC_ADD); in blend_replace() 103 assert(ctx->Color.Blend[0].SrcRGB == GL_ONE); in blend_replace() 104 assert(ctx->Color.Blend[0].DstRGB == GL_ZERO); in blend_replace() 125 assert(ctx->Color.Blend[0].EquationRGB == GL_FUNC_ADD); in blend_transparency_ubyte() 126 assert(ctx->Color.Blend[0].EquationA == GL_FUNC_ADD); in blend_transparency_ubyte() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_pixel.c | 71 (effective_func(ctx->Color.Blend[0].SrcRGB, src_alpha_is_one) != GL_ONE || in intel_check_blit_fragment_ops() 72 effective_func(ctx->Color.Blend[0].DstRGB, src_alpha_is_one) != GL_ZERO || in intel_check_blit_fragment_ops() 73 ctx->Color.Blend[0].EquationRGB != GL_FUNC_ADD || in intel_check_blit_fragment_ops() 74 effective_func(ctx->Color.Blend[0].SrcA, src_alpha_is_one) != GL_ONE || in intel_check_blit_fragment_ops() 75 effective_func(ctx->Color.Blend[0].DstA, src_alpha_is_one) != GL_ZERO || in intel_check_blit_fragment_ops() 76 ctx->Color.Blend[0].EquationA != GL_FUNC_ADD)) { in intel_check_blit_fragment_ops()
|
D | i915_state.c | 252 if (dw != i915->state.Blend[I915_BLENDREG_BLENDCOLOR1]) { in i915BlendColor() 253 i915->state.Blend[I915_BLENDREG_BLENDCOLOR1] = dw; in i915BlendColor() 289 GLuint iab = (i915->state.Blend[I915_BLENDREG_IAB] & in i915UpdateBlendState() 298 GLuint eqRGB = ctx->Color.Blend[0].EquationRGB; in i915UpdateBlendState() 299 GLuint eqA = ctx->Color.Blend[0].EquationA; in i915UpdateBlendState() 300 GLuint srcRGB = ctx->Color.Blend[0].SrcRGB; in i915UpdateBlendState() 301 GLuint dstRGB = ctx->Color.Blend[0].DstRGB; in i915UpdateBlendState() 302 GLuint srcA = ctx->Color.Blend[0].SrcA; in i915UpdateBlendState() 303 GLuint dstA = ctx->Color.Blend[0].DstA; in i915UpdateBlendState() 324 if (iab != i915->state.Blend[I915_BLENDREG_IAB]) { in i915UpdateBlendState() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | intel_pixel.c | 68 (effective_func(ctx->Color.Blend[0].SrcRGB, src_alpha_is_one) != GL_ONE || in intel_check_blit_fragment_ops() 69 effective_func(ctx->Color.Blend[0].DstRGB, src_alpha_is_one) != GL_ZERO || in intel_check_blit_fragment_ops() 70 ctx->Color.Blend[0].EquationRGB != GL_FUNC_ADD || in intel_check_blit_fragment_ops() 71 effective_func(ctx->Color.Blend[0].SrcA, src_alpha_is_one) != GL_ONE || in intel_check_blit_fragment_ops() 72 effective_func(ctx->Color.Blend[0].DstA, src_alpha_is_one) != GL_ZERO || in intel_check_blit_fragment_ops() 73 ctx->Color.Blend[0].EquationA != GL_FUNC_ADD)) { in intel_check_blit_fragment_ops()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_atom_blend.c | 238 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()
|
/external/skia/gm/ |
D | xfermodeimagefilter.cpp | 94 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()
|
D | imagefiltersgraph.cpp | 48 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()
|
D | composeshader.cpp | 49 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()
|
/external/skia/bench/ |
D | ColorFilterBench.cpp | 167 []() { return SkColorFilters::Blend(0x80808080, SkBlendMode::kSrc); }); ) in __anonb80003540302() 169 []() { return SkColorFilters::Blend(0x80808080, SkBlendMode::kSrcOver); }); ) in __anonb80003540402() 179 []() { return SkColorFilters::Compose(SkColorFilters::Blend(0x80808080, SkBlendMode::kSrc), in __anonb80003540902() 180 SkColorFilters::Blend(0x80808080, SkBlendMode::kSrc)); in __anonb80003540902() 184 SkColorFilters::Blend(0x80808080, SkBlendMode::kSrc), in __anonb80003540a02() 185 SkColorFilters::Blend(0x80808080, SkBlendMode::kSrc)); in __anonb80003540a02()
|
/external/skqp/src/codec/ |
D | SkFrameHolder.h | 30 , fBlend(SkCodecAnimation::Blend::kPriorFrame) in SkFrame() 135 void setBlend(SkCodecAnimation::Blend blend) { in setBlend() 139 SkCodecAnimation::Blend getBlend() const { in getBlend() 155 SkCodecAnimation::Blend fBlend;
|
D | SkCodecAnimationPriv.h | 15 enum class Blend { enum
|
/external/skia/src/codec/ |
D | SkFrameHolder.h | 32 , 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;
|
/external/toolchain-utils/android_bench_suite/ |
D | panorama.diff | 27 - feature_mos/src/mosaic/Blend.cpp \ 60 + feature_mos/src/mosaic/Blend.cpp \ 134 +const int blendingType = Blend::BLEND_TYPE_HORZ; 135 +const int stripType = Blend::STRIP_TYPE_WIDE; 264 diff --git a/jni/feature_mos/src/mosaic/Blend.cpp b/jni/feature_mos/src/mosaic/Blend.cpp 266 --- a/jni/feature_mos/src/mosaic/Blend.cpp 267 +++ b/jni/feature_mos/src/mosaic/Blend.cpp 274 +const float Blend::LIMIT_SIZE_MULTIPLIER = 50.f * 2.0f; 275 +const float Blend::LIMIT_HEIGHT_MULTIPLIER = 2.5f; 277 Blend::Blend() [all …]
|
/external/pdfium/core/fxge/dib/ |
D | cfx_scanlinecompositor.cpp | 48 int Blend(BlendMode blend_mode, int back_color, int src_color) { in Blend() function 57 return Blend(BlendMode::kHardLight, src_color, back_color); in Blend() 78 return Blend(BlendMode::kScreen, back_color, 2 * src_color - 255); in Blend() 255 gray = Blend(blend_type, *dest_scan, gray); in GetGrayWithBlend() 297 gray = Blend(blend_type, *dest_scan, gray); in CompositeRow_Argb2Graya() 452 : Blend(blend_type, *dest_scan, *src_scan); in CompositeRow_Argb2Argb() 507 : Blend(blend_type, *dest_scan, src_color); in CompositeRow_Rgb2Argb_Blend_NoClip() 565 : Blend(blend_type, *dest_scan, src_color); in CompositeRow_Rgb2Argb_Blend_Clip() 703 : Blend(blend_type, back_color, *src_scan); in CompositeRow_Argb2Rgb_Blend() 730 : Blend(blend_type, back_color, *src_scan); in CompositeRow_Argb2Rgb_Blend() [all …]
|
/external/mesa3d/src/mesa/drivers/common/ |
D | driverfuncs.c | 228 ctx->Color.Blend[0].EquationRGB, in _mesa_init_driver_state() 229 ctx->Color.Blend[0].EquationA); in _mesa_init_driver_state() 232 ctx->Color.Blend[0].SrcRGB, in _mesa_init_driver_state() 233 ctx->Color.Blend[0].DstRGB, in _mesa_init_driver_state() 234 ctx->Color.Blend[0].SrcA, in _mesa_init_driver_state() 235 ctx->Color.Blend[0].DstA); in _mesa_init_driver_state()
|
/external/tensorflow/tensorflow/tools/android/test/jni/object_tracking/ |
D | time_log.h | 72 inline static float Blend(float old_val, float new_val) { in Blend() function 81 entry->average_duration = Blend(entry->average_duration, new_val); in UpdateAverage()
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nv10_state_raster.c | 71 PUSH_DATA (push, nvgl_blend_eqn(ctx->Color.Blend[0].EquationRGB)); in nv10_emit_blend_equation() 80 PUSH_DATA (push, nvgl_blend_func(ctx->Color.Blend[0].SrcRGB)); in nv10_emit_blend_func() 81 PUSH_DATA (push, nvgl_blend_func(ctx->Color.Blend[0].DstRGB)); in nv10_emit_blend_func()
|
D | nv04_state_raster.c | 207 nv04->blend |= get_blend_func(ctx->Color.Blend[0].DstRGB) << 28 | in nv04_emit_blend() 208 get_blend_func(ctx->Color.Blend[0].SrcRGB) << 24; in nv04_emit_blend()
|
/external/deqp/external/openglcts/modules/common/ |
D | glcBlendEquationAdvancedTests.cpp | 166 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 …]
|
/external/skia/tests/ |
D | CodecAnimTest.cpp | 72 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()
|
/external/skia/src/core/ |
D | SkModeColorFilter.cpp | 60 return SkColorFilters::Blend(color, mode); in CreateProc() 128 sk_sp<SkColorFilter> SkColorFilters::Blend(SkColor color, SkBlendMode mode) { in Blend() function in SkColorFilters
|
/external/skia/include/codec/ |
D | SkCodecAnimation.h | 46 enum class Blend { enum
|
/external/skia/docs/examples/ |
D | Paint_getColorFilter.cpp | 9 paint.setColorFilter(SkColorFilters::Blend(SK_ColorLTGRAY, SkBlendMode::kSrcIn)); in draw()
|