79 #define HIT_PAT_ORDERED 0
81 #define HIT_PAT_UNORDERED 1
84 #define HIT_PATTERN_NULL_STATIC { 0, HIT_PAT_ORDERED, NULL, NULL }
93 static inline HitPattern hit_pattern(
int defaultMode ) {
94 HitPattern newPat = { 0, defaultMode, NULL, NULL };
157 #define hit_patternDo( pattern ) { \
158 if ( pattern.defaultMode == HIT_PAT_ORDERED ) \
159 hit_patternDoOrdered( pattern ); \
161 hit_patternDoUnordered( pattern ); \
170 #define hit_patternDoOnce( pat ) { HitPattern __HIT_PAT__ = pat; hit_patternDo( __HIT_PAT__ ); hit_patternFree( &__HIT_PAT__ ); }
210 #define hit_patMatMult(pattern, lay, origin_matrix, matrix, tilePSend, tilePRecv, baseType) hit_patMatMultInternal(pattern, lay, origin_matrix, matrix, tilePSend, tilePRecv, baseType,__FILE__, __LINE__);
225 #define hit_patMatMultBitmap(pattern, lay, origin_matrix, matrix, tilePSend, tilePRecv, baseType) hit_patMatMultBitmapInternal(pattern, lay, origin_matrix, matrix, tilePSend, tilePRecv, baseType,__FILE__, __LINE__);
void hit_patternEndAsync(HitPattern pattern)
void hit_patternDoOrdered(HitPattern pattern)
HitPattern hit_patternLayRedistribute(HitLayout lay1, HitLayout lay2, void *tileP1, void *tileP2, HitType baseType)
HitPattern HIT_PATTERN_NULL
void hit_patMatMultInternal(HitPattern *pattern, HitLayout lay, HitShape origin_matrix, HitShape matrix, const void *tilePSend, const void *tilePRecv, HitType baseType, const char *file, int line)
void hit_patternAdd(HitPattern *pattern, HitCom comm)
void hit_patternFree(HitPattern *pattern)
HitPattern hit_patternRedistribute(HitLayout lay, void *tileP1, void *tileP2, HitType baseType, int flagCompact)
void hit_patMatMultBitmapInternal(HitPattern *pattern, HitLayout lay, HitShape origin_matrix, HitShape matrix, const void *tilePSend, const void *tilePRecv, HitType baseType, const char *file, int line)
void hit_patternDoUnordered(HitPattern pattern)
void hit_patternCompose(HitPattern *pattern, HitPattern *pattern2)
void hit_patternStartAsync(HitPattern pattern)