Lines Matching refs:src
16 #include "src/core/SkCanvasPriv.h"
17 #include "src/core/SkConvertPixels.h"
18 #include "src/gpu/GrDirectContextPriv.h"
19 #include "src/gpu/GrPaint.h"
20 #include "src/gpu/GrProxyProvider.h"
21 #include "src/gpu/GrResourceProvider.h"
22 #include "src/gpu/SkGr.h"
23 #include "src/gpu/effects/GrTextureEffect.h"
24 #include "src/gpu/v1/SurfaceDrawContext_v1.h"
29 const SkBitmap& src,
31 SkASSERT(src.colorType() == kRGBA_8888_SkColorType);
43 [src](GrResourceProvider* rp,
47 GrMipLevel mipLevel = {src.getPixels(), src.rowBytes(), nullptr};
48 auto colorType = SkColorTypeToGrColorType(src.colorType());
50 return rp->createTexture(src.dimensions(),
76 src.pixmap());
124 const char* src = static_cast<const char*>(contentBM.getPixels());
131 memcpy(dst, src, srcRB);
132 src = src + srcRB;
137 SkRectMemcpy(dst, dstRB, src, srcRB,
150 const GrSurfaceProxyView& src,
158 auto fp = GrTextureEffect::MakeSubset(src, kOpaque_SkAlphaType, mat,