Home
last modified time | relevance | path

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

/external/neven/Embedded/common/src/b_BasicEm/
DMemory.c52 void* bbs_memcpy16( void* dstA, const void* srcA, uint32 sizeA ) in bbs_memcpy16() argument
55 if( ( ( int32 ) dstA >> 16 ) == ( ( ( int32 ) dstA + sizeA ) >> 16 ) && in bbs_memcpy16()
59 uint16* dstL = ( uint16* )dstA; in bbs_memcpy16()
73 *( uint16* ) ( ( int32 ) dstA + iL ) = *( uint16* ) ( ( int32 ) srcA + iL ); in bbs_memcpy16()
76 return dstA; in bbs_memcpy16()
78 uint16* dstL = ( uint16* )dstA; in bbs_memcpy16()
96 return dstA; in bbs_memcpy16()
102 void* bbs_memcpy32( void* dstA, const void* srcA, uint32 sizeA ) in bbs_memcpy32() argument
105 if( ( ( int32 ) dstA >> 16 ) == ( ( ( int32 ) dstA + ( sizeA << 1 ) ) >> 16 ) && in bbs_memcpy32()
109 uint32* dstL = ( uint32* )dstA; in bbs_memcpy32()
[all …]
DString.c40 char* bbs_strcpy( char* dstA, const char* srcA ) in bbs_strcpy() argument
43 char* dstL = dstA; in bbs_strcpy()
45 return dstA; in bbs_strcpy()
50 char* bbs_strncpy( char* dstA, const char* srcA, uint32 sizeA ) in bbs_strncpy() argument
55 if( ( dstA[ iL ] = srcA[ iL ] ) == 0 ) break; in bbs_strncpy()
57 if( iL == sizeA && sizeA > 0 ) dstA[ iL - 1 ] = 0; in bbs_strncpy()
58 return dstA; in bbs_strncpy()
63 char* bbs_strcat( char* dstA, const char* srcA ) in bbs_strcat() argument
66 char* dstL = dstA; in bbs_strcat()
69 return dstA; in bbs_strcat()
[all …]
DString.h39 char* bbs_strcpy( char* dstA, const char* srcA );
42 char* bbs_strncpy( char* dstA, const char* srcA, uint32 sizeA );
45 char* bbs_strcat( char* dstA, const char* srcA );
48 char* bbs_strncat( char* dstA, const char* srcA, uint32 sizeA );
62 uint32 bbs_snprintf( char* dstA, uint32 bufSizeA, const char* formatA, ... );
67 uint32 bbs_vsnprintf( char* dstA, uint32 bufSizeA, const char* formatA, va_list argsA );
DMemory.h45 void* bbs_memcpy16( void* dstA, const void* srcA, uint32 sizeA );
51 void* bbs_memcpy32( void* dstA, const void* srcA, uint32 sizeA );
57 void* bbs_memset16( void* dstA, uint16 valA, uint32 sizeA );
63 void* bbs_memset32( void* dstA, uint32 valA, uint32 sizeA );
/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen8_blend_state.c111 GLenum dstA = ctx->Color.Blend[i].DstA; in gen8_upload_blend_state() local
117 srcA = dstA = GL_ONE; in gen8_upload_blend_state()
130 dstA = brw_fix_xRGB_alpha(dstA); in gen8_upload_blend_state()
137 SET_FIELD(blend_factor(dstA), GEN8_BLEND_DST_ALPHA_BLEND_FACTOR) | in gen8_upload_blend_state()
142 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) in gen8_upload_blend_state()
249 GLenum dstA = ctx->Color.Blend[0].DstA; in gen8_upload_ps_blend() local
255 srcA = dstA = GL_ONE; in gen8_upload_ps_blend()
268 dstA = brw_fix_xRGB_alpha(dstA); in gen8_upload_ps_blend()
275 SET_FIELD(blend_factor(dstA), GEN8_PS_BLEND_DST_ALPHA_BLEND_FACTOR) | in gen8_upload_ps_blend()
278 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) in gen8_upload_ps_blend()
Dgen6_cc.c114 GLenum dstA = ctx->Color.Blend[b].DstA; in gen6_upload_blend_state() local
121 srcA = dstA = GL_ONE; in gen6_upload_blend_state()
136 dstA = brw_fix_xRGB_alpha(dstA); in gen6_upload_blend_state()
143 blend[b].blend0.ia_dest_blend_factor = brw_translate_blend_factor(dstA); in gen6_upload_blend_state()
149 dstA != dstRGB || in gen6_upload_blend_state()
Dbrw_cc.c172 GLenum dstA = ctx->Color.Blend[0].DstA; in upload_cc_unit() local
182 dstA = brw_fix_xRGB_alpha(dstA); in upload_cc_unit()
190 srcA = dstA = GL_ONE; in upload_cc_unit()
197 cc->cc5.ia_dest_blend_factor = brw_translate_blend_factor(dstA); in upload_cc_unit()
203 dstA != dstRGB || in upload_cc_unit()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_state.c60 unsigned dstRGB, unsigned dstA) in blend_discard_if_src_alpha_0() argument
75 (dstA == PIPE_BLENDFACTOR_INV_SRC_COLOR || in blend_discard_if_src_alpha_0()
76 dstA == PIPE_BLENDFACTOR_INV_SRC_ALPHA || in blend_discard_if_src_alpha_0()
77 dstA == PIPE_BLENDFACTOR_ONE); in blend_discard_if_src_alpha_0()
81 unsigned dstRGB, unsigned dstA) in blend_discard_if_src_alpha_1() argument
94 (dstA == PIPE_BLENDFACTOR_SRC_COLOR || in blend_discard_if_src_alpha_1()
95 dstA == PIPE_BLENDFACTOR_SRC_ALPHA || in blend_discard_if_src_alpha_1()
96 dstA == PIPE_BLENDFACTOR_ONE); in blend_discard_if_src_alpha_1()
100 unsigned dstRGB, unsigned dstA) in blend_discard_if_src_color_0() argument
111 (dstA == PIPE_BLENDFACTOR_ONE); in blend_discard_if_src_color_0()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i915/
Di915_state.c303 GLuint dstA = ctx->Color.Blend[0].DstA; in i915UpdateBlendState() local
310 srcA = dstA = GL_ONE; in i915UpdateBlendState()
318 iab |= DST_ABLND_FACT(intel_translate_blend_factor(dstA)); in i915UpdateBlendState()
321 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) in i915UpdateBlendState()
340 GLenum dstRGB, GLenum srcA, GLenum dstA) in i915BlendFuncSeparate() argument
/external/mesa3d/src/amd/vulkan/
Dradv_pipeline.c846 VkBlendFactor dstA = att->dstAlphaBlendFactor; in radv_pipeline_init_blend_state() local
859 if (is_dual_src(srcRGB) || is_dual_src(dstRGB) || is_dual_src(srcA) || is_dual_src(dstA)) in radv_pipeline_init_blend_state()
869 dstA = VK_BLEND_FACTOR_ONE; in radv_pipeline_init_blend_state()
877 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in radv_pipeline_init_blend_state()
881 blend_cntl |= S_028780_ALPHA_DESTBLEND(si_translate_blend_factor(dstA)); in radv_pipeline_init_blend_state()
/external/skqp/tests/
DMatrix44Test.cpp201 SkMScalar dstA[4], dstB[4]; in test_map2() local
204 dstA[i] = SkDoubleToMScalar(123456789); in test_map2()
208 mat.map2(src2, 1, dstA); in test_map2()
212 REPORTER_ASSERT(reporter, dstA[i] == dstB[i]); in test_map2()
/external/skia/tests/
DMatrix44Test.cpp201 SkMScalar dstA[4], dstB[4]; in test_map2() local
204 dstA[i] = SkDoubleToMScalar(123456789); in test_map2()
208 mat.map2(src2, 1, dstA); in test_map2()
212 REPORTER_ASSERT(reporter, dstA[i] == dstB[i]); in test_map2()
/external/mesa3d/src/gallium/drivers/i915/
Di915_state.c113 unsigned dstA = blend->rt[0].alpha_dst_factor; in i915_create_blend_state() local
120 dstA != dstRGB || in i915_create_blend_state()
130 DST_ABLND_FACT(i915_translate_blend_factor(dstA)) | in i915_create_blend_state()
/external/deqp/framework/referencerenderer/
DrrFragmentOperations.cpp603 const float dstA = dstColor.w(); in executeAdvancedBlend() local
604 const float p0 = srcA*dstA; in executeAdvancedBlend()
605 const float p1 = srcA*(1.0f-dstA); in executeAdvancedBlend()
606 const float p2 = dstA*(1.0f-srcA); in executeAdvancedBlend()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.c446 unsigned dstA = state->rt[j].alpha_dst_factor; in si_create_blend_state_mode() local
493 si_blend_remove_dst(&eqA, &srcA, &dstA, in si_create_blend_state_mode()
496 si_blend_remove_dst(&eqA, &srcA, &dstA, in si_create_blend_state_mode()
504 dstA_opt = si_translate_blend_opt_factor(dstA, true); in si_create_blend_state_mode()
533 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in si_create_blend_state_mode()
537 blend_cntl |= S_028780_ALPHA_DESTBLEND(si_translate_blend_factor(dstA)); in si_create_blend_state_mode()
/external/mesa3d/src/mesa/swrast/
Ds_blend.c907 const GLenum dstA = ctx->Color.Blend[0].DstA; in _swrast_choose_blend_func() local
932 else if (srcRGB != srcA || dstRGB != dstA) { in _swrast_choose_blend_func()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_state.c294 unsigned dstA = state->rt[j].alpha_dst_factor; in r600_get_blend_control() local
304 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in r600_get_blend_control()
308 bc |= S_028804_ALPHA_DESTBLEND(r600_translate_blend_factor(dstA)); in r600_get_blend_control()
Devergreen_state.c368 unsigned dstA = state->rt[j].alpha_dst_factor; in evergreen_create_blend_state_mode() local
383 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in evergreen_create_blend_state_mode()
387 bc |= S_028780_ALPHA_DESTBLEND(r600_translate_blend_factor(dstA)); in evergreen_create_blend_state_mode()