/external/chromium_org/third_party/skia/src/core/ |
SkRasterizer.cpp | 22 SkMask srcM, dstM; 24 srcM.fFormat = SkMask::kA8_Format; 25 srcM.fBounds.set(0, 0, 1, 1); 26 srcM.fImage = NULL; 27 if (!filter->filterMask(&dstM, srcM, matrix, &margin)) {
|
SkMaskFilter.cpp | 257 SkMask srcM, dstM; 259 if (!SkDraw::DrawToMask(devPath, &clip.getBounds(), this, &matrix, &srcM, 264 SkAutoMaskFreeImage autoSrc(srcM.fImage); 266 if (!this->filterMask(&dstM, srcM, matrix, NULL)) { 337 SkMask srcM, dstM; 339 srcM.fImage = NULL; 340 src.roundOut(&srcM.fBounds); 341 srcM.fRowBytes = 0; 342 srcM.fFormat = SkMask::kA8_Format; 345 if (this->filterMask(&dstM, srcM, SkMatrix::I(), &margin)) [all...] |
SkScalerContext.cpp | 570 SkMask srcM, dstM; 577 glyph->toMask(&srcM); 578 if (SkMask::kARGB32_Format == srcM.fFormat) { 580 // and copy it into a temp buffer, and then point srcM at that temp. 581 srcM.fFormat = SkMask::kA8_Format; 582 srcM.fRowBytes = SkAlign4(srcM.fBounds.width()); 583 size_t size = srcM.computeImageSize(); 585 srcM.fImage = (uint8_t*)a8storage.get(); 586 extract_alpha(srcM, [all...] |
SkBitmap.cpp | [all...] |
SkDraw.cpp | 874 void SkDraw::drawDevMask(const SkMask& srcM, const SkPaint& paint) const { 875 if (srcM.fBounds.isEmpty()) { 879 const SkMask* mask = &srcM; 883 paint.getMaskFilter()->filterMask(&dstM, srcM, *fMatrix, NULL)) { [all...] |
/external/chromium_org/third_party/skia/src/effects/ |
SkBlurMaskFilter.cpp | 309 SkMask srcM, dstM; 310 rrect.rect().roundOut(&srcM.fBounds); 311 srcM.fImage = NULL; 312 srcM.fFormat = SkMask::kA8_Format; 313 srcM.fRowBytes = 0; 324 filterResult = this->filterMask(&dstM, srcM, matrix, &margin); 379 if (!draw_rrect_into_mask(smallRR, &srcM)) { 383 SkAutoMaskFreeImage amf(srcM.fImage); 385 if (!this->filterMask(&patch->fMask, srcM, matrix, &margin)) { 421 SkMask srcM, dstM [all...] |
/external/chromium_org/third_party/skia/src/gpu/ |
SkGpuDevice.cpp | 599 SkMask srcM, dstM; 601 if (!SkDraw::DrawToMask(devPath, &clip.getBounds(), filter, &context->getMatrix(), &srcM, 605 SkAutoMaskFreeImage autoSrc(srcM.fImage); 607 if (!filter->filterMask(&dstM, srcM, context->getMatrix(), NULL)) { [all...] |