Searched refs:iround (Results 1 - 7 of 7) sorted by relevance

/external/chromium_org/third_party/angle/src/common/
H A Dutilities.h44 template <typename outT> outT iround(GLfloat value) { return static_cast<outT>(value > 0.0f ? floor(value + 0.5f) : ceil(value - 0.5f)); } function in namespace:gl
/external/chromium_org/third_party/skia/tests/
H A DMathTest.cpp337 int iround = SkMulDiv255Round(a, b); local
340 REPORTER_ASSERT(reporter, iround == round);
343 REPORTER_ASSERT(reporter, itrunc <= iround);
344 REPORTER_ASSERT(reporter, iround <= a);
345 REPORTER_ASSERT(reporter, iround <= b);
/external/skia/tests/
H A DMathTest.cpp339 int iround = SkMulDiv255Round(a, b); local
342 REPORTER_ASSERT(reporter, iround == round);
345 REPORTER_ASSERT(reporter, itrunc <= iround);
346 REPORTER_ASSERT(reporter, iround <= a);
347 REPORTER_ASSERT(reporter, iround <= b);
/external/chromium_org/third_party/angle/src/libGLESv2/
H A Dqueryconversions.cpp43 return gl::iround<QueryT>(value);
H A DlibGLESv2.cpp3348 params[i] = gl::iround<GLint>(currentValue);
4207 case GL_TEXTURE_BASE_LEVEL: texture->getSamplerState().baseLevel = gl::iround<GLint>(param); break;
4208 case GL_TEXTURE_MAX_LEVEL: texture->getSamplerState().maxLevel = gl::iround<GLint>(param); break;
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dimports.h333 #pragma aux iround = \
352 * This floor operation is done by "(iround(f + .5) + iround(f - .5)) >> 1",
399 * This ceil operation is done by "(iround(f + .5) + iround(f - .5) + 1) >> 1",
/external/mesa3d/src/mesa/main/
H A Dimports.h331 #pragma aux iround = \
350 * This floor operation is done by "(iround(f + .5) + iround(f - .5)) >> 1",
397 * This ceil operation is done by "(iround(f + .5) + iround(f - .5) + 1) >> 1",

Completed in 384 milliseconds