Home
last modified time | relevance | path

Searched refs:TRI_CEIL (Results 1 – 2 of 2) sorted by relevance

/system/core/include/private/pixelflinger/
Dggl_context.h77 #define TRI_CEIL(x) (((x) + (TRI_ONE-1)) & ~(TRI_ONE-1)) macro
83 #define TRI_SNAP_NEXT_HALF(x) (TRI_CEIL((x)+TRI_HALF) - TRI_HALF)
84 #define TRI_SNAP_PREV_HALF(x) (TRI_CEIL((x)-TRI_HALF) - TRI_HALF)
/system/core/libpixelflinger/
Dtrap.cpp542 const int32_t bmaxx = TRI_CEIL( max(x0, x1, x2)) >> TRI_FRACTION_BITS; in trianglex_small()
543 const int32_t bmaxy = TRI_CEIL( max(y0, y1, y2)) >> TRI_FRACTION_BITS; in trianglex_small()