Home
last modified time | relevance | path

Searched refs:dstConfig (Results 1 – 10 of 10) sorted by relevance

/external/skqp/src/gpu/vk/
DGrVkCaps.cpp115 bool GrVkCaps::canCopyImage(GrPixelConfig dstConfig, int dstSampleCnt, GrSurfaceOrigin dstOrigin, in canCopyImage() argument
125 get_compatible_format_class(srcConfig) != get_compatible_format_class(dstConfig)) { in canCopyImage()
130 this->shaderCaps()->configOutputSwizzle(dstConfig)) { in canCopyImage()
137 bool GrVkCaps::canCopyAsBlit(GrPixelConfig dstConfig, int dstSampleCnt, bool dstIsLinear, in canCopyAsBlit() argument
141 if (!this->configCanBeDstofBlit(dstConfig, dstIsLinear) || in canCopyAsBlit()
147 this->shaderCaps()->configOutputSwizzle(dstConfig)) { in canCopyAsBlit()
160 bool GrVkCaps::canCopyAsResolve(GrPixelConfig dstConfig, int dstSampleCnt, in canCopyAsResolve() argument
174 if (dstConfig != srcConfig) { in canCopyAsResolve()
186 bool GrVkCaps::canCopyAsDraw(GrPixelConfig dstConfig, bool dstIsRenderable, in canCopyAsDraw() argument
190 this->shaderCaps()->configOutputSwizzle(dstConfig)) { in canCopyAsDraw()
[all …]
DGrVkCaps.h133 bool canCopyImage(GrPixelConfig dstConfig, int dstSampleCnt, GrSurfaceOrigin dstOrigin,
136 bool canCopyAsBlit(GrPixelConfig dstConfig, int dstSampleCnt, bool dstIsLinear,
139 bool canCopyAsResolve(GrPixelConfig dstConfig, int dstSampleCnt, GrSurfaceOrigin dstOrigin,
143 bool canCopyAsDraw(GrPixelConfig dstConfig, bool dstIsRenderable,
DGrVkGpu.cpp1980 GrPixelConfig dstConfig = dst->config(); in onCopySurface() local
1986 if (this->vkCaps().canCopyAsResolve(dstConfig, dstSampleCnt, dstOrigin, in onCopySurface()
1992 if (this->vkCaps().canCopyAsDraw(dstConfig, SkToBool(dst->asRenderTarget()), in onCopySurface()
2023 if (this->vkCaps().canCopyImage(dstConfig, dstSampleCnt, dstOrigin, in onCopySurface()
2030 if (this->vkCaps().canCopyAsBlit(dstConfig, dstSampleCnt, dstImage->isLinearTiled(), in onCopySurface()
/external/skqp/src/gpu/mtl/
DGrMtlCaps.h49 bool canCopyAsBlit(GrPixelConfig dstConfig, int dstSampleCount, GrSurfaceOrigin dstOrigin,
54 bool canCopyAsDraw(GrPixelConfig dstConfig, bool dstIsRenderable,
57 bool canCopyAsDrawThenBlit(GrPixelConfig dstConfig, GrPixelConfig srcConfig,
DGrMtlCaps.mm117 bool GrMtlCaps::canCopyAsBlit(GrPixelConfig dstConfig, int dstSampleCount,
123 if (dstConfig != srcConfig) {
142 bool GrMtlCaps::canCopyAsDraw(GrPixelConfig dstConfig, bool dstIsRenderable,
146 this->shaderCaps()->configOutputSwizzle(dstConfig)) {
156 bool GrMtlCaps::canCopyAsDrawThenBlit(GrPixelConfig dstConfig, GrPixelConfig srcConfig,
160 this->shaderCaps()->configOutputSwizzle(dstConfig)) {
DGrMtlGpu.mm715 GrPixelConfig dstConfig = dst->config();
731 } else if (this->mtlCaps().canCopyAsBlit(dstConfig, dstSampleCnt, dstOrigin,
/external/skqp/src/gpu/gl/
DGrGLCaps.h398 bool canCopyTexSubImage(GrPixelConfig dstConfig, bool dstHasMSAARenderBuffer,
404 bool canCopyAsBlit(GrPixelConfig dstConfig, int dstSampleCnt,
411 bool canCopyAsDraw(GrPixelConfig dstConfig, bool srcIsTextureable) const;
DGrGLCaps.cpp2118 bool GrGLCaps::canCopyTexSubImage(GrPixelConfig dstConfig, bool dstHasMSAARenderBuffer, in canCopyTexSubImage() argument
2128 (kBGRA_8888_GrPixelConfig == dstConfig || kBGRA_8888_GrPixelConfig == srcConfig)) { in canCopyTexSubImage()
2155 bool GrGLCaps::canCopyAsBlit(GrPixelConfig dstConfig, int dstSampleCnt, in canCopyAsBlit() argument
2163 if (!this->canConfigBeFBOColorAttachment(dstConfig) || in canCopyAsBlit()
2204 if (dstConfig != srcConfig) { in canCopyAsBlit()
2208 if (srcSampleCnt > 1 && dstConfig != srcConfig) { in canCopyAsBlit()
2226 bool GrGLCaps::canCopyAsDraw(GrPixelConfig dstConfig, bool srcIsTextureable) const { in canCopyAsDraw() argument
2227 return this->canConfigBeFBOColorAttachment(dstConfig) && srcIsTextureable; in canCopyAsDraw()
2249 GrPixelConfig dstConfig = dst->config(); in onCanCopySurface() local
2282 if (this->canCopyAsBlit(dstConfig, dstSampleCnt, SkToBool(dstTex), in onCanCopySurface()
[all …]
/external/skia/src/gpu/vk/
DGrVkCaps.h212 bool canCopyAsBlit(VkFormat dstConfig,
221 bool canCopyAsResolve(VkFormat dstConfig,
/external/skqp/src/gpu/
DSkGr.cpp338 static inline int32_t dither_range_type_for_config(GrPixelConfig dstConfig) { in dither_range_type_for_config() argument
339 switch (dstConfig) { in dither_range_type_for_config()