Home
last modified time | relevance | path

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

/external/deqp/framework/referencerenderer/
DrrRasterizer.cpp33 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()
540 const deUint64 halfPixel = 1ll << (RASTERIZER_SUBPIXEL_BITS-1); in rasterizeSingleSample()
[all …]
DrrRasterizer.hpp38 RASTERIZER_SUBPIXEL_BITS = 8, enumerator