Home
last modified time | relevance | path

Searched refs:dstA (Results 1 – 13 of 13) sorted by relevance

/third_party/flutter/skia/third_party/externals/sdl/src/video/
DSDL_blit_slow.c41 Uint32 dstR, dstG, dstB, dstA; in SDL_Blit_Slow() local
98 dstB, dstA); in SDL_Blit_Slow()
102 dstA = 0xFF; in SDL_Blit_Slow()
126 dstA = srcA; in SDL_Blit_Slow()
132 dstA = srcA + ((255 - srcA) * dstA) / 255; in SDL_Blit_Slow()
152 ASSEMBLE_RGBA(dst, dstbpp, dst_fmt, dstR, dstG, dstB, dstA); in SDL_Blit_Slow()
DSDL_blit_auto.c874 Uint32 dstR, dstG, dstB, dstA; in SDL_Blit_RGB888_ARGB8888_Blend() local
884 …)(dstpixel >> 16); dstG = (Uint8)(dstpixel >> 8); dstB = (Uint8)dstpixel; dstA = (Uint8)(dstpixel … in SDL_Blit_RGB888_ARGB8888_Blend()
898 dstA = srcA + ((255 - srcA) * dstA) / 255; in SDL_Blit_RGB888_ARGB8888_Blend()
911 dstpixel = ((Uint32)dstA << 24) | ((Uint32)dstR << 16) | ((Uint32)dstG << 8) | dstB; in SDL_Blit_RGB888_ARGB8888_Blend()
927 Uint32 dstR, dstG, dstB, dstA; in SDL_Blit_RGB888_ARGB8888_Blend_Scale() local
958 …)(dstpixel >> 16); dstG = (Uint8)(dstpixel >> 8); dstB = (Uint8)dstpixel; dstA = (Uint8)(dstpixel … in SDL_Blit_RGB888_ARGB8888_Blend_Scale()
972 dstA = srcA + ((255 - srcA) * dstA) / 255; in SDL_Blit_RGB888_ARGB8888_Blend_Scale()
985 dstpixel = ((Uint32)dstA << 24) | ((Uint32)dstR << 16) | ((Uint32)dstG << 8) | dstB; in SDL_Blit_RGB888_ARGB8888_Blend_Scale()
1096 Uint32 dstR, dstG, dstB, dstA; in SDL_Blit_RGB888_ARGB8888_Modulate_Blend() local
1106 …)(dstpixel >> 16); dstG = (Uint8)(dstpixel >> 8); dstB = (Uint8)dstpixel; dstA = (Uint8)(dstpixel … in SDL_Blit_RGB888_ARGB8888_Modulate_Blend()
[all …]
/third_party/mesa3d/src/gallium/drivers/r300/
Dr300_state.c62 unsigned dstRGB, unsigned dstA) in blend_discard_if_src_alpha_0() argument
77 (dstA == PIPE_BLENDFACTOR_INV_SRC_COLOR || in blend_discard_if_src_alpha_0()
78 dstA == PIPE_BLENDFACTOR_INV_SRC_ALPHA || in blend_discard_if_src_alpha_0()
79 dstA == PIPE_BLENDFACTOR_ONE); in blend_discard_if_src_alpha_0()
83 unsigned dstRGB, unsigned dstA) in blend_discard_if_src_alpha_1() argument
96 (dstA == PIPE_BLENDFACTOR_SRC_COLOR || in blend_discard_if_src_alpha_1()
97 dstA == PIPE_BLENDFACTOR_SRC_ALPHA || in blend_discard_if_src_alpha_1()
98 dstA == PIPE_BLENDFACTOR_ONE); in blend_discard_if_src_alpha_1()
102 unsigned dstRGB, unsigned dstA) in blend_discard_if_src_color_0() argument
113 (dstA == PIPE_BLENDFACTOR_ONE); in blend_discard_if_src_color_0()
[all …]
/third_party/flutter/skia/tests/
DMatrix44Test.cpp197 SkMScalar dstA[4], dstB[4]; in test_map2() local
200 dstA[i] = SkDoubleToMScalar(123456789); in test_map2()
204 mat.map2(src2, 1, dstA); in test_map2()
208 REPORTER_ASSERT(reporter, dstA[i] == dstB[i]); in test_map2()
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_state.c161 unsigned dstA = blend->rt[0].alpha_dst_factor; in i915_create_blend_state() local
167 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in i915_create_blend_state()
173 DST_ABLND_FACT(i915_translate_blend_factor(dstA)) | in i915_create_blend_state()
/third_party/vk-gl-cts/framework/referencerenderer/
DrrFragmentOperations.cpp659 const float dstA = dstColor.w(); in executeAdvancedBlend() local
660 const float p0 = srcA*dstA; in executeAdvancedBlend()
661 const float p1 = srcA*(1.0f-dstA); in executeAdvancedBlend()
662 const float p2 = dstA*(1.0f-srcA); in executeAdvancedBlend()
/third_party/flutter/skia/third_party/skcms/
Dskcms.cc1180 uint8_t dstA[252], in skcms_ApproximatelyEqualProfiles() local
1184 dstA, skcms_PixelFormat_RGB_888, skcms_AlphaFormat_Unpremul, skcms_XYZD50_profile(), in skcms_ApproximatelyEqualProfiles()
1197 if (abs((int)dstA[i] - (int)dstB[i]) > 1) { in skcms_ApproximatelyEqualProfiles()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.c506 unsigned dstA = state->rt[j].alpha_dst_factor; in si_create_blend_state_mode() local
548 si_blend_check_commutativity(sctx->screen, blend, eqA, srcA, dstA, 0x8 << (4 * i)); in si_create_blend_state_mode()
558 si_blend_remove_dst(&eqA, &srcA, &dstA, PIPE_BLENDFACTOR_DST_COLOR, in si_create_blend_state_mode()
560 si_blend_remove_dst(&eqA, &srcA, &dstA, PIPE_BLENDFACTOR_DST_ALPHA, in si_create_blend_state_mode()
567 dstA_opt = si_translate_blend_opt_factor(dstA, true); in si_create_blend_state_mode()
593 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in si_create_blend_state_mode()
597 blend_cntl |= S_028780_ALPHA_DESTBLEND(si_translate_blend_factor(sctx->gfx_level, dstA)); in si_create_blend_state_mode()
/third_party/mesa3d/src/amd/vulkan/
Dradv_pipeline.c735 unsigned dstA = info->cb.att[i].dst_alpha_blend_factor; in radv_pipeline_init_blend_state() local
757 is_dual_src(gfx_level, srcA) || is_dual_src(gfx_level, dstA)) in radv_pipeline_init_blend_state()
768 dstA = V_028780_BLEND_ONE; in radv_pipeline_init_blend_state()
772 radv_blend_check_commutativity(gfx_level, &blend, eqA, srcA, dstA, 0x8u << (4 * i)); in radv_pipeline_init_blend_state()
783 si_blend_remove_dst(&eqA, &srcA, &dstA, V_028780_BLEND_DST_COLOR, in radv_pipeline_init_blend_state()
786 si_blend_remove_dst(&eqA, &srcA, &dstA, V_028780_BLEND_DST_ALPHA, in radv_pipeline_init_blend_state()
793 dstA_opt = si_translate_blend_opt_factor(dstA, true); in radv_pipeline_init_blend_state()
817 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in radv_pipeline_init_blend_state()
821 blend_cntl |= S_028780_ALPHA_DESTBLEND(dstA); in radv_pipeline_init_blend_state()
/third_party/skia/third_party/skcms/
Dskcms.cc1601 uint8_t dstA[252], in skcms_ApproximatelyEqualProfiles() local
1605 dstA, skcms_PixelFormat_RGB_888, skcms_AlphaFormat_Unpremul, skcms_XYZD50_profile(), in skcms_ApproximatelyEqualProfiles()
1618 if (abs((int)dstA[i] - (int)dstB[i]) > 1) { in skcms_ApproximatelyEqualProfiles()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DVulkanPerformanceCounterTest.cpp372 GLBuffer dstA; in TEST_P() local
373 glBindBuffer(GL_COPY_WRITE_BUFFER, dstA); in TEST_P()
390 glBindBuffer(GL_COPY_WRITE_BUFFER, dstA); in TEST_P()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_state.c300 unsigned dstA = state->rt[j].alpha_dst_factor; in r600_get_blend_control() local
310 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in r600_get_blend_control()
314 bc |= S_028804_ALPHA_DESTBLEND(r600_translate_blend_factor(dstA)); in r600_get_blend_control()
Devergreen_state.c386 unsigned dstA = state->rt[j].alpha_dst_factor; in evergreen_create_blend_state_mode() local
401 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in evergreen_create_blend_state_mode()
405 bc |= S_028780_ALPHA_DESTBLEND(r600_translate_blend_factor(dstA)); in evergreen_create_blend_state_mode()