Lines Matching defs:src
8 #include "src/gpu/gl/GrGLCaps.h"
13 #include "src/core/SkCompressedDataUtils.h"
14 #include "src/core/SkMathPriv.h"
15 #include "src/core/SkTSearch.h"
16 #include "src/gpu/GrBackendUtils.h"
17 #include "src/gpu/GrProgramDesc.h"
18 #include "src/gpu/GrShaderCaps.h"
19 #include "src/gpu/GrSurfaceProxyPriv.h"
20 #include "src/gpu/GrTextureProxyPriv.h"
21 #include "src/gpu/SkGr.h"
22 #include "src/gpu/gl/GrGLContext.h"
23 #include "src/gpu/gl/GrGLRenderTarget.h"
24 #include "src/gpu/gl/GrGLTexture.h"
1143 #include "src/utils/SkJSONWriter.h"
1894 // requires the src and dst be bindable to FBOs. However, we can't do this in the current
3347 // Either both the src and dst formats need to be SRGB or both need to not be SRGB
3376 // The dst can't have gray if the src is alpha-only.
3482 bool GrGLCaps::onCanCopySurface(const GrSurfaceProxy* dst, const GrSurfaceProxy* src,
3489 if (const GrRenderTargetProxy* rtProxy = src->asRenderTargetProxy()) {
3493 SkASSERT((srcSampleCnt > 0) == SkToBool(src->asRenderTargetProxy()));
3496 const GrTextureProxy* srcTex = src->asTextureProxy();
3512 auto srcFormat = src->backendFormat().asGLFormat();
3514 srcFormat, has_msaa_render_buffer(src, *this), srcTexTypePtr) ||
3516 srcTexTypePtr, src->getBoundsRect(), src->priv().isExact(), srcRect,
3521 GrCaps::DstCopyRestrictions GrGLCaps::getDstCopyRestrictions(const GrRenderTargetProxy* src,
3523 // If the src is a texture, we can implement the blit as a draw assuming the config is
3525 if (src->asTextureProxy() && !this->isFormatAsColorTypeRenderable(colorType,
3526 src->backendFormat())) {
3530 if (const auto* texProxy = src->asTextureProxy()) {
3543 if (src->numSamples() > 1 &&
3548 } else if (src->numSamples() > 1 && (fBlitFramebufferFlags &
3553 auto srcFormat = src->backendFormat().asGLFormat();
3566 bool srcIsMSAARenderbuffer = src->numSamples() > 1 &&
4638 // requires the src to be an FBO attachment, blit requires both src and dst to be FBO