Lines Matching defs:image
45 #include "src/image/SkImage_Base.h"
46 #include "src/image/SkReadPixelsRec.h"
47 #include "src/image/SkSurface_Gpu.h"
659 // the special image
669 sk_sp<SkSpecialImage> Device::makeSpecial(const SkImage* image) {
673 if (image->isTextureBacked()) {
674 auto [view, ct] = as_IB(image)->asView(this->recordingContext(), GrMipmapped::kNo);
678 SkIRect::MakeWH(image->width(), image->height()),
679 image->uniqueID(),
682 image->refColorSpace(),
684 } else if (image->peekPixels(&pm)) {
699 // If we are wrapping a vulkan secondary command buffer, then we can't snap off a special image
723 // Since this copied only the requested subset, the special image wrapping the proxy no
748 void Device::drawImageRect(const SkImage* image,
757 this->drawImageQuad(image, src, &dst, nullptr, aa, aaFlags, nullptr, sampling, paint,
794 void Device::drawImageLattice(const SkImage* image,
801 if (auto [view, ct] = as_IB(image)->asView(this->recordingContext(), GrMipmapped::kNo); view) {
802 GrColorInfo colorInfo(ct, image->alphaType(), image->refColorSpace());
1066 bool Device::drawBlurImage(const SkImage* image, const SkBlurArg& blurArg)
1068 if (image == nullptr) {
1071 if (auto[view, ct] = as_IB(image)->asView(this->recordingContext(), GrMipmapped::kNo); view) {