Lines Matching refs:src
16 #include "src/gpu/GrColorInfo.h"
17 #include "src/gpu/GrDataUtils.h"
18 #include "src/gpu/GrImageInfo.h"
19 #include "src/gpu/GrPixmap.h"
20 #include "src/gpu/GrRenderTask.h"
21 #include "src/gpu/GrSurfaceProxy.h"
22 #include "src/gpu/GrSurfaceProxyView.h"
114 * Writes a rectangle of pixels from src into the surfaceDrawContext at the specified position.
116 * @param src source for the write
120 GrCPixmap src,
126 * @param src Array of pixmaps
127 * @param numLevels Number of pixmaps in src. To succeed this must be 1 or the total
131 const GrCPixmap src[],
176 bool testCopy(sk_sp<GrSurfaceProxy> src, const SkIRect& srcRect, const SkIPoint& dstPoint) {
177 return this->copy(std::move(src), srcRect, dstPoint) != nullptr;
180 bool testCopy(sk_sp<GrSurfaceProxy> src) {
181 auto rect = SkIRect::MakeSize(src->dimensions());
182 return this->copy(std::move(src), rect, {0, 0}) != nullptr;
226 * Copy 'src' into the proxy backing this context. This call will not do any draw fallback.
229 * @param src src of pixels
234 * Note: Notionally, 'srcRect' is clipped to 'src's extent with 'dstPoint' being adjusted.
236 * The end result is only valid src pixels and dst pixels will be touched but the copied
237 * regions will not be shifted. The 'src' must have the same origin as the backing proxy
240 sk_sp<GrRenderTask> copy(sk_sp<GrSurfaceProxy> src, SkIRect srcRect, SkIPoint dstPoint);
243 const GrCPixmap src[],