Lines Matching defs:src
8 #include "src/gpu/GrSurfaceProxy.h"
9 #include "src/gpu/GrSurfaceProxyPriv.h"
12 #include "src/core/SkMathPriv.h"
13 #include "src/gpu/GrAttachment.h"
14 #include "src/gpu/GrCaps.h"
15 #include "src/gpu/GrGpuResourcePriv.h"
16 #include "src/gpu/GrImageInfo.h"
17 #include "src/gpu/GrRecordingContextPriv.h"
18 #include "src/gpu/GrResourceProvider.h"
19 #include "src/gpu/GrSurface.h"
20 #include "src/gpu/GrTexture.h"
21 #include "src/gpu/GrTextureRenderTargetProxy.h"
22 #include "src/gpu/SurfaceFillContext.h"
26 #include "src/gpu/GrDirectContextPriv.h"
27 #include "src/gpu/GrRenderTarget.h"
261 sk_sp<GrSurfaceProxy> src,
269 SkASSERT(!src->isFullyLazy());
275 width = src->width();
276 height = src->height();
284 if (!srcRect.intersect(SkIRect::MakeSize(src->dimensions()))) {
287 auto format = src->backendFormat().makeTexture2D();
290 if (src->backendFormat().textureType() != GrTextureType::kExternal) {
299 src->isProtected(),
302 if (dstContext && (copyTask = dstContext->copy(src, srcRect, dstPoint))) {
309 if (src->asTextureProxy()) {
317 src->isProtected(),
322 GrSurfaceProxyView view(std::move(src), origin, GrSwizzle::RGBA());
335 sk_sp<GrSurfaceProxy> src,
341 SkASSERT(!src->isFullyLazy());
342 auto rect = SkIRect::MakeSize(src->dimensions());
344 std::move(src),