Lines Matching full:bounds
55 const SkIRect& bounds)
66 for (int y = bounds.top(); y < bounds.bottom(); ++y) {
67 const SkPMColor* displPtr = displ->getAddr32(bounds.left() + offset.fX,
69 for (int x = bounds.left(); x < bounds.right(); ++x, ++displPtr) {
88 const SkIRect& bounds)
93 scale, dst, displ, offset, src, bounds);
97 scale, dst, displ, offset, src, bounds);
101 scale, dst, displ, offset, src, bounds);
105 scale, dst, displ, offset, src, bounds);
118 const SkIRect& bounds)
123 yChannelSelector, scale, dst, displ, offset, src, bounds);
127 yChannelSelector, scale, dst, displ, offset, src, bounds);
131 yChannelSelector, scale, dst, displ, offset, src, bounds);
135 yChannelSelector, scale, dst, displ, offset, src, bounds);
212 SkIRect bounds;
213 // Since computeDisplacement does bounds checking on color pixel access, we don't need to pad
214 // the color bitmap to bounds here.
215 if (!this->applyCropRect(ctx, color, colorOffset, &bounds)) {
222 if (!bounds.intersect(displBounds)) {
230 if (!dst->allocPixels(color.info().makeWH(bounds.width(), bounds.height()))) {
236 SkIRect colorBounds = bounds;
242 offset->fX = bounds.left();
243 offset->fY = bounds.top();
258 SkIRect bounds = src;
261 bounds.outset(SkScalarCeilToInt(scale.fX * SK_ScalarHalf),
264 return getColorInput()->filterBounds(bounds, ctm, dst);
266 *dst = bounds;
368 SkIRect bounds;
369 // Since GrDisplacementMapEffect does bounds checking on color pixel access, we don't need to
370 // pad the color bitmap to bounds here.
371 if (!this->applyCropRect(ctx, colorBM, colorOffset, &bounds)) {
379 if (!bounds.intersect(displBounds)) {
388 desc.fWidth = bounds.width();
389 desc.fHeight = bounds.height();
412 SkIRect colorBounds = bounds;
421 offset->fX = bounds.left();
422 offset->fY = bounds.top();
423 WrapTexture(dst, bounds.width(), bounds.height(), result);
468 // Any displacement offset bringing a pixel out of bounds will output a color of (0,0,0,0),
470 // and no displacement offset push any texture coordinates out of bounds OR if the constant
583 // a 0 border color instead of computing if cCoords is out of bounds here.