Home
last modified time | relevance | path

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

/external/deqp/framework/referencerenderer/
DrrRasterizer.cpp41 inline deInt32 ceilSubpixelToPixelCoord (deInt64 coord, bool fillEdge) in ceilSubpixelToPixelCoord() argument
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()
49 inline deInt32 floorSubpixelToPixelCoord (deInt64 coord, bool fillEdge) in floorSubpixelToPixelCoord() argument
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()