Home
last modified time | relevance | path

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

/external/swiftshader/src/OpenGL/libGLESv2/
DDevice.cpp937 float offsetf = roundf((static_cast<float>(clipRect.x0) - srcRect.x0) * ratio); in ClipSrcRect() local
938 int offset = static_cast<int>(offsetf); in ClipSrcRect()
947 srcRect.x0 += offsetf / ratio; in ClipSrcRect()
952 float offsetf = roundf((srcRect.x1 - static_cast<float>(clipRect.x1)) * ratio); in ClipSrcRect() local
953 int offset = static_cast<int>(offsetf); in ClipSrcRect()
962 srcRect.x1 -= offsetf / ratio; in ClipSrcRect()
967 float offsetf = roundf((static_cast<float>(clipRect.y0) - srcRect.y0) * ratio); in ClipSrcRect() local
968 int offset = static_cast<int>(offsetf); in ClipSrcRect()
977 srcRect.y0 += offsetf / ratio; in ClipSrcRect()
982 float offsetf = roundf((srcRect.y1 - static_cast<float>(clipRect.y1)) * ratio); in ClipSrcRect() local
[all …]