Searched refs:tryToSnap (Results 1 – 2 of 2) sorted by relevance
530 const bool tryToSnap = MathUtils::areEqual(op.src.getWidth(), op.unmappedBounds.getWidth()) in onBitmapRectOp() local538 .setModelViewMapUnitToRectOptionalSnap(tryToSnap, op.unmappedBounds) in onBitmapRectOp()781 const bool tryToSnap = !op.layer->getForceFilter(); in onTextureLayerOp() local789 ….setModelViewMapUnitToRectOptionalSnap(tryToSnap, Rect(op.layer->getWidth(), op.layer->getHeight()… in onTextureLayerOp()
785 const bool tryToSnap = !layer->getForceFilter() in drawTextureLayer() local794 .setModelViewMapUnitToRectOptionalSnap(tryToSnap, rect) in drawTextureLayer()819 const bool tryToSnap = layer->getWidth() == static_cast<uint32_t>(rect.getWidth()) in composeLayerRect() local827 .setModelViewMapUnitToRectOptionalSnap(tryToSnap, rect) in composeLayerRect()1617 const bool tryToSnap = MathUtils::areEqual(src.getWidth(), dst.getWidth())1625 .setModelViewMapUnitToRectOptionalSnap(tryToSnap, dst)