Lines Matching refs:src

8 #include "src/gpu/d3d/GrD3DGpu.h"
12 #include "src/core/SkConvertPixels.h"
13 #include "src/core/SkMipmap.h"
14 #include "src/gpu/GrBackendUtils.h"
15 #include "src/gpu/GrDataUtils.h"
16 #include "src/gpu/GrTexture.h"
17 #include "src/gpu/GrThreadSafePipelineBuilder.h"
18 #include "src/gpu/d3d/GrD3DAMDMemoryAllocator.h"
19 #include "src/gpu/d3d/GrD3DAttachment.h"
20 #include "src/gpu/d3d/GrD3DBuffer.h"
21 #include "src/gpu/d3d/GrD3DCaps.h"
22 #include "src/gpu/d3d/GrD3DOpsRenderPass.h"
23 #include "src/gpu/d3d/GrD3DSemaphore.h"
24 #include "src/gpu/d3d/GrD3DTexture.h"
25 #include "src/gpu/d3d/GrD3DTextureRenderTarget.h"
26 #include "src/gpu/d3d/GrD3DUtil.h"
27 #include "src/sksl/SkSLCompiler.h"
333 const char* src = static_cast<const char*>(compressedData);
338 src, rowSizeInBytes[currentMipLevel], rowSizeInBytes[currentMipLevel],
340 src += numRows[currentMipLevel] * rowSizeInBytes[currentMipLevel];
431 bool GrD3DGpu::onCopySurface(GrSurface* dst, GrSurface* src, const SkIRect& srcRect,
434 if (src->isProtected() && !dst->isProtected()) {
440 int srcSampleCnt = get_surface_sample_cnt(src);
452 GrRenderTarget* srcRT = src->asRenderTarget();
457 SkASSERT(src->asTexture());
458 srcTexResource = static_cast<GrD3DTexture*>(src->asTexture());
465 this->copySurfaceAsResolve(dst, src, srcRect, dstPoint);
470 this->copySurfaceAsCopyTexture(dst, src, dstTexResource, srcTexResource, srcRect, dstPoint);
477 void GrD3DGpu::copySurfaceAsCopyTexture(GrSurface* dst, GrSurface* src,
483 int srcSampleCnt = get_surface_sample_cnt(src);
489 if (src->isProtected() && !dst->isProtected()) {
528 void GrD3DGpu::copySurfaceAsResolve(GrSurface* dst, GrSurface* src, const SkIRect& srcRect,
530 GrD3DRenderTarget* srcRT = static_cast<GrD3DRenderTarget*>(src->asRenderTarget());
541 GrD3DRenderTarget* src, const SkIRect& srcIRect) {
543 SkASSERT(src && src->numSamples() > 1 && src->msaaTextureResource());
557 src->msaaTextureResource()->setResourceState(this, D3D12_RESOURCE_STATE_RESOLVE_SOURCE);
560 src->msaaTextureResource(), &srcRect);
634 // Set up src location and box
764 const char* src = (const char*)texels[currentMipLevel].fPixels;
766 src, srcRowBytes, trimRowBytes, currentHeight);