Lines Matching refs:RASTERIZER_SUBPIXEL_BITS
33 return (deInt64)(v * (1<<RASTERIZER_SUBPIXEL_BITS) + (v < 0.f ? -0.5f : 0.5f)); in toSubpixelCoord()
38 return v << RASTERIZER_SUBPIXEL_BITS; in toSubpixelCoord()
44 …return (deInt32)((coord + ((1ll<<RASTERIZER_SUBPIXEL_BITS) - (fillEdge ? 0 : 1))) >> RASTERIZER_SU… in ceilSubpixelToPixelCoord()
46 return (deInt32)((coord + (fillEdge ? 1 : 0)) >> RASTERIZER_SUBPIXEL_BITS); in ceilSubpixelToPixelCoord()
52 return (deInt32)((coord - (fillEdge ? 1 : 0)) >> RASTERIZER_SUBPIXEL_BITS); in floorSubpixelToPixelCoord()
54 …return (deInt32)((coord - ((1ll<<RASTERIZER_SUBPIXEL_BITS) - (fillEdge ? 0 : 1))) >> RASTERIZER_SU… in floorSubpixelToPixelCoord()
134 const deUint64 pixelSize = 1ll << (RASTERIZER_SUBPIXEL_BITS); in isTheCenterOfTheFragment()
135 const deUint64 halfPixel = 1ll << (RASTERIZER_SUBPIXEL_BITS-1); in isTheCenterOfTheFragment()
240 const deInt64 halfPixel = 1ll << (RASTERIZER_SUBPIXEL_BITS-1); in doesLineSegmentExitDiamond()
535 const deUint64 halfPixel = 1ll << (RASTERIZER_SUBPIXEL_BITS-1); in rasterizeSingleSample()
644 (deInt64)((POS) * (1<<RASTERIZER_SUBPIXEL_BITS) + 0.5f)
707 const deUint64 halfPixel = 1ll << (RASTERIZER_SUBPIXEL_BITS-1); in rasterizeMultiSample()
928 const deInt64 halfPixel = 1ll << (RASTERIZER_SUBPIXEL_BITS-1); in rasterize()
1127 const deInt64 halfPixel = 1ll << (RASTERIZER_SUBPIXEL_BITS-1); in rasterize()