/external/mesa3d/src/mesa/main/ |
D | blend.c | 172 ctx->Color.Blend[buf]._UsesDualSrc = in update_uses_dual_src() 173 (blend_factor_is_dual_src(ctx->Color.Blend[buf].SrcRGB) || in update_uses_dual_src() 174 blend_factor_is_dual_src(ctx->Color.Blend[buf].DstRGB) || in update_uses_dual_src() 175 blend_factor_is_dual_src(ctx->Color.Blend[buf].SrcA) || in update_uses_dual_src() 176 blend_factor_is_dual_src(ctx->Color.Blend[buf].DstA)); in update_uses_dual_src() 204 if (ctx->Color.Blend[buf].SrcRGB != sfactorRGB || in skip_blend_state_update() 205 ctx->Color.Blend[buf].DstRGB != dfactorRGB || in skip_blend_state_update() 206 ctx->Color.Blend[buf].SrcA != sfactorA || in skip_blend_state_update() 207 ctx->Color.Blend[buf].DstA != dfactorA) { in skip_blend_state_update() 214 if (ctx->Color.Blend[0].SrcRGB != sfactorRGB || in skip_blend_state_update() [all …]
|
D | attrib.c | 71 GLboolean Blend; member 325 attr->Blend = ctx->Color.BlendEnabled; in _mesa_PushAttrib() 583 if (ctx->Color.BlendEnabled != enable->Blend) { in pop_enable_group() 587 _mesa_set_enablei(ctx, GL_BLEND, i, (enable->Blend >> i) & 1); in pop_enable_group() 591 _mesa_set_enable(ctx, GL_BLEND, (enable->Blend & 1)); in pop_enable_group() 1033 _mesa_BlendFuncSeparateiARB(buf, color->Blend[buf].SrcRGB, in _mesa_PopAttrib() 1034 color->Blend[buf].DstRGB, in _mesa_PopAttrib() 1035 color->Blend[buf].SrcA, in _mesa_PopAttrib() 1036 color->Blend[buf].DstA); in _mesa_PopAttrib() 1038 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/state_tracker/ |
D | st_atom_blend.c | 219 translate_blend(ctx->Color.Blend[j].EquationRGB); in st_update_blend() 221 if (ctx->Color.Blend[i].EquationRGB == GL_MIN || in st_update_blend() 222 ctx->Color.Blend[i].EquationRGB == GL_MAX) { in st_update_blend() 229 translate_blend(ctx->Color.Blend[j].SrcRGB); in st_update_blend() 231 translate_blend(ctx->Color.Blend[j].DstRGB); in st_update_blend() 235 translate_blend(ctx->Color.Blend[j].EquationA); in st_update_blend() 237 if (ctx->Color.Blend[i].EquationA == GL_MIN || in st_update_blend() 238 ctx->Color.Blend[i].EquationA == GL_MAX) { in st_update_blend() 245 translate_blend(ctx->Color.Blend[j].SrcA); in st_update_blend() 247 translate_blend(ctx->Color.Blend[j].DstA); in st_update_blend()
|
/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 …]
|
D | i830_state.c | 295 SRC_BLND_FACT(intel_translate_blend_factor(ctx->Color.Blend[0].SrcRGB)) in i830_set_blend_state() 296 | DST_BLND_FACT(intel_translate_blend_factor(ctx->Color.Blend[0].DstRGB)); in i830_set_blend_state() 298 switch (ctx->Color.Blend[0].EquationRGB) { in i830_set_blend_state() 318 __func__, __LINE__, ctx->Color.Blend[0].EquationRGB); in i830_set_blend_state() 323 funcA = SRC_ABLEND_FACT(intel_translate_blend_factor(ctx->Color.Blend[0].SrcA)) in i830_set_blend_state() 324 | DST_ABLEND_FACT(intel_translate_blend_factor(ctx->Color.Blend[0].DstA)); in i830_set_blend_state() 326 switch (ctx->Color.Blend[0].EquationA) { in i830_set_blend_state() 346 __func__, __LINE__, ctx->Color.Blend[0].EquationA); in i830_set_blend_state()
|
/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/skia/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/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/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(int blend_mode, int back_color, int src_color) { in Blend() function 57 return Blend(FXDIB_BLEND_HARDLIGHT, src_color, back_color); in Blend() 78 return Blend(FXDIB_BLEND_SCREEN, back_color, 2 * src_color - 255); in Blend() 230 gray = Blend(blend_type, *dest_scan, gray); in GetGrayWithBlend() 272 gray = Blend(blend_type, *dest_scan, gray); in CompositeRow_Argb2Graya() 427 : Blend(blend_type, *dest_scan, *src_scan); in CompositeRow_Argb2Argb() 482 : Blend(blend_type, *dest_scan, src_color); in CompositeRow_Rgb2Argb_Blend_NoClip() 540 : Blend(blend_type, *dest_scan, src_color); in CompositeRow_Rgb2Argb_Blend_Clip() 678 : Blend(blend_type, back_color, *src_scan); in CompositeRow_Argb2Rgb_Blend() 705 : Blend(blend_type, back_color, *src_scan); in CompositeRow_Argb2Rgb_Blend() [all …]
|
/external/mesa3d/src/mesa/drivers/common/ |
D | driverfuncs.c | 225 ctx->Color.Blend[0].EquationRGB, in _mesa_init_driver_state() 226 ctx->Color.Blend[0].EquationA); in _mesa_init_driver_state() 229 ctx->Color.Blend[0].SrcRGB, in _mesa_init_driver_state() 230 ctx->Color.Blend[0].DstRGB, in _mesa_init_driver_state() 231 ctx->Color.Blend[0].SrcA, in _mesa_init_driver_state() 232 ctx->Color.Blend[0].DstA); in _mesa_init_driver_state()
|
/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/tensorflow/tensorflow/examples/android/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/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/ImageMagick/PerlMagick/t/reference/read/ |
D | input_null_DarkOrange.miff | 2 class=DirectClass colors=0 alpha-trait=Blend
|
D | input_ico.miff | 2 class=DirectClass colors=16 alpha-trait=Blend
|
D | input_null_black.miff | 2 class=DirectClass colors=0 alpha-trait=Blend
|
D | input_null_white.miff | 2 class=DirectClass colors=0 alpha-trait=Blend
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_state.c | 144 && ctx->Color.Blend[0].EquationRGB == GL_LOGIC_OP)) ) { in radeonBlendEquationSeparate() 161 switch ( ctx->Color.Blend[0].SrcRGB ) { in radeonBlendFuncSeparate() 208 switch ( ctx->Color.Blend[0].DstRGB ) { in radeonBlendFuncSeparate() 1481 && ctx->Color.Blend[0].EquationRGB == GL_LOGIC_OP)) ) { in radeonEnable() 1491 ctx->Color.Blend[0].EquationRGB, in radeonEnable() 1492 ctx->Color.Blend[0].EquationA ); in radeonEnable() 1493 ctx->Driver.BlendFuncSeparate( ctx, ctx->Color.Blend[0].SrcRGB, in radeonEnable() 1494 ctx->Color.Blend[0].DstRGB, in radeonEnable() 1495 ctx->Color.Blend[0].SrcA, in radeonEnable() 1496 ctx->Color.Blend[0].DstA ); in radeonEnable() [all …]
|
/external/mesa3d/prebuilt-intermediates/main/ |
D | get_hash.h | 9 { GL_BLEND_SRC, CONTEXT_ENUM(Color.Blend[0].SrcRGB), NO_EXTRA }, 55 { GL_BLEND_SRC_RGB, CONTEXT_ENUM(Color.Blend[0].SrcRGB), NO_EXTRA }, 56 { GL_BLEND_DST_RGB, CONTEXT_ENUM(Color.Blend[0].DstRGB), NO_EXTRA }, 57 { GL_BLEND_SRC_ALPHA, CONTEXT_ENUM(Color.Blend[0].SrcA), NO_EXTRA }, 58 { GL_BLEND_DST_ALPHA, CONTEXT_ENUM(Color.Blend[0].DstA), NO_EXTRA }, 59 { GL_BLEND_EQUATION, CONTEXT_ENUM(Color.Blend[0].EquationRGB), NO_EXTRA }, 60 { GL_BLEND_EQUATION_ALPHA_EXT, CONTEXT_ENUM(Color.Blend[0].EquationA), NO_EXTRA }, 112 { GL_BLEND_DST, CONTEXT_ENUM(Color.Blend[0].DstRGB), NO_EXTRA },
|