Home
last modified time | relevance | path

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

/external/skqp/src/gpu/vk/
DGrVkCaps.cpp77 bool GrVkCaps::canCopyImage(GrPixelConfig dstConfig, int dstSampleCnt, GrSurfaceOrigin dstOrigin, in canCopyImage() argument
86 if (srcOrigin != dstOrigin || GrBytesPerPixel(srcConfig) != GrBytesPerPixel(dstConfig)) { in canCopyImage()
91 this->shaderCaps()->configOutputSwizzle(dstConfig)) { in canCopyImage()
98 bool GrVkCaps::canCopyAsBlit(GrPixelConfig dstConfig, int dstSampleCnt, bool dstIsLinear, in canCopyAsBlit() argument
102 if (!this->configCanBeDstofBlit(dstConfig, dstIsLinear) || in canCopyAsBlit()
108 this->shaderCaps()->configOutputSwizzle(dstConfig)) { in canCopyAsBlit()
121 bool GrVkCaps::canCopyAsResolve(GrPixelConfig dstConfig, int dstSampleCnt, in canCopyAsResolve() argument
135 if (dstConfig != srcConfig) { in canCopyAsResolve()
147 bool GrVkCaps::canCopyAsDraw(GrPixelConfig dstConfig, bool dstIsRenderable, in canCopyAsDraw() argument
151 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.cpp1972 GrPixelConfig dstConfig = dst->config(); in onCopySurface() local
1978 if (this->vkCaps().canCopyAsResolve(dstConfig, dstSampleCnt, dstOrigin, in onCopySurface()
1984 if (this->vkCaps().canCopyAsDraw(dstConfig, SkToBool(dst->asRenderTarget()), in onCopySurface()
2015 if (this->vkCaps().canCopyImage(dstConfig, dstSampleCnt, dstOrigin, in onCopySurface()
2022 if (this->vkCaps().canCopyAsBlit(dstConfig, dstSampleCnt, dstImage->isLinearTiled(), in onCopySurface()
/external/skia/src/gpu/vk/
DGrVkCaps.cpp78 bool GrVkCaps::canCopyImage(GrPixelConfig dstConfig, int dstSampleCnt, GrSurfaceOrigin dstOrigin, in canCopyImage() argument
91 if (srcOrigin != dstOrigin || GrBytesPerPixel(srcConfig) != GrBytesPerPixel(dstConfig)) { in canCopyImage()
96 this->shaderCaps()->configOutputSwizzle(dstConfig)) { in canCopyImage()
103 bool GrVkCaps::canCopyAsBlit(GrPixelConfig dstConfig, int dstSampleCnt, bool dstIsLinear, in canCopyAsBlit() argument
108 if (!this->configCanBeDstofBlit(dstConfig, dstIsLinear) || in canCopyAsBlit()
114 this->shaderCaps()->configOutputSwizzle(dstConfig)) { in canCopyAsBlit()
131 bool GrVkCaps::canCopyAsResolve(GrPixelConfig dstConfig, int dstSampleCnt, in canCopyAsResolve() argument
146 if (dstConfig != srcConfig) { in canCopyAsResolve()
162 bool GrVkCaps::canCopyAsDraw(GrPixelConfig dstConfig, bool dstIsRenderable, bool dstHasYcbcr, in canCopyAsDraw() argument
167 this->shaderCaps()->configOutputSwizzle(dstConfig)) { in canCopyAsDraw()
[all …]
DGrVkCaps.h144 bool canCopyImage(GrPixelConfig dstConfig, int dstSampleCnt, GrSurfaceOrigin dstOrigin,
148 bool canCopyAsBlit(GrPixelConfig dstConfig, int dstSampleCnt, bool dstIsLinear,
152 bool canCopyAsResolve(GrPixelConfig dstConfig, int dstSampleCnt, GrSurfaceOrigin dstOrigin,
156 bool canCopyAsDraw(GrPixelConfig dstConfig, bool dstIsRenderable, bool dstHasYcbcr,
DGrVkGpu.cpp2014 GrPixelConfig dstConfig = dst->config(); in onCopySurface() local
2045 if (this->vkCaps().canCopyAsResolve(dstConfig, dstSampleCnt, dstOrigin, dstHasYcbcr, in onCopySurface()
2051 if (this->vkCaps().canCopyAsDraw(dstConfig, SkToBool(dst->asRenderTarget()), dstHasYcbcr, in onCopySurface()
2060 if (this->vkCaps().canCopyImage(dstConfig, dstSampleCnt, dstOrigin, dstHasYcbcr, in onCopySurface()
2067 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/skia/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.mm777 GrPixelConfig dstConfig = dst->config();
794 } else if (this->mtlCaps().canCopyAsBlit(dstConfig, dstSampleCnt, dstOrigin,
/external/skia/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.cpp2136 bool GrGLCaps::canCopyTexSubImage(GrPixelConfig dstConfig, bool dstHasMSAARenderBuffer, in canCopyTexSubImage() argument
2146 (kBGRA_8888_GrPixelConfig == dstConfig || kBGRA_8888_GrPixelConfig == srcConfig)) { in canCopyTexSubImage()
2173 bool GrGLCaps::canCopyAsBlit(GrPixelConfig dstConfig, int dstSampleCnt, in canCopyAsBlit() argument
2181 if (!this->canConfigBeFBOColorAttachment(dstConfig) || in canCopyAsBlit()
2222 if (dstConfig != srcConfig) { in canCopyAsBlit()
2226 if (srcSampleCnt > 1 && dstConfig != srcConfig) { in canCopyAsBlit()
2244 bool GrGLCaps::canCopyAsDraw(GrPixelConfig dstConfig, bool srcIsTextureable) const { in canCopyAsDraw() argument
2245 return this->canConfigBeFBOColorAttachment(dstConfig) && srcIsTextureable; in canCopyAsDraw()
2267 GrPixelConfig dstConfig = dst->config(); in onCanCopySurface() local
2300 if (this->canCopyAsBlit(dstConfig, dstSampleCnt, SkToBool(dstTex), in onCanCopySurface()
[all …]
/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/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()
/external/skia/src/gpu/
DSkGr.cpp343 static inline int32_t dither_range_type_for_config(GrPixelConfig dstConfig) { in dither_range_type_for_config() argument
344 switch (dstConfig) { in dither_range_type_for_config()