Lines Matching refs:dst
223 SkPath* dst,
237 } rec = {dst, pos};
277 void create_hemi_normal_map(SkBitmap* bm, const SkIRect& dst) {
279 SkPoint::Make(dst.fLeft + (dst.width() / 2.0f), dst.fTop + (dst.height() / 2.0f));
280 const SkPoint halfSize = SkPoint::Make(dst.width() / 2.0f, dst.height() / 2.0f);
284 for (int y = dst.fTop; y < dst.fBottom; ++y) {
285 for (int x = dst.fLeft; x < dst.fRight; ++x) {
301 void create_frustum_normal_map(SkBitmap* bm, const SkIRect& dst) {
303 SkPoint::Make(dst.fLeft + (dst.width() / 2.0f), dst.fTop + (dst.height() / 2.0f));
305 SkIRect inner = dst;
306 inner.inset(dst.width() / 4, dst.height() / 4);
314 for (int y = dst.fTop; y < dst.fBottom; ++y) {
315 for (int x = dst.fLeft; x < dst.fRight; ++x) {
342 void create_tetra_normal_map(SkBitmap* bm, const SkIRect& dst) {
344 SkPoint::Make(dst.fLeft + (dst.width() / 2.0f), dst.fTop + (dst.height() / 2.0f));
353 for (int y = dst.fTop; y < dst.fBottom; ++y) {
354 for (int x = dst.fLeft; x < dst.fRight; ++x) {
377 bool copy_to(SkBitmap* dst, SkColorType dstColorType, const SkBitmap& src) {
402 dst->swap(tmpDst);
406 void copy_to_g8(SkBitmap* dst, const SkBitmap& src) {
411 dst->allocPixels(grayInfo);
412 uint8_t* dst8 = (uint8_t*)dst->getPixels();
433 dst8 += dst->rowBytes();