Home
last modified time | relevance | path

Searched refs:srcSampleCnt (Results 1 – 16 of 16) sorted by relevance

/external/skqp/src/gpu/vk/
DGrVkCaps.cpp116 GrPixelConfig srcConfig, int srcSampleCnt, in canCopyImage() argument
118 if ((dstSampleCnt > 1 || srcSampleCnt > 1) && dstSampleCnt != srcSampleCnt) { in canCopyImage()
138 GrPixelConfig srcConfig, int srcSampleCnt, bool srcIsLinear) const { in canCopyAsBlit() argument
153 if (dstSampleCnt > 1 || srcSampleCnt > 1) { in canCopyAsBlit()
162 int srcSampleCnt, GrSurfaceOrigin srcOrigin) const { in canCopyAsResolve() argument
164 if (srcSampleCnt <= 1) { in canCopyAsResolve()
218 int srcSampleCnt = 0; in onCanCopySurface() local
235 srcSampleCnt = rtProxy->numColorSamples(); in onCanCopySurface()
238 SkASSERT((srcSampleCnt > 0) == SkToBool(src->asRenderTargetProxy())); in onCanCopySurface()
241 srcConfig, srcSampleCnt, srcOrigin) || in onCanCopySurface()
[all …]
DGrVkGpu.cpp1822 int srcSampleCnt = get_surface_sample_cnt(src); in copySurfaceAsCopyImage() local
1824 src->config(), srcSampleCnt, srcOrigin)); in copySurfaceAsCopyImage()
1882 int srcSampleCnt = get_surface_sample_cnt(src); in copySurfaceAsBlit() local
1884 src->config(), srcSampleCnt, srcImage->isLinearTiled())); in copySurfaceAsBlit()
1984 int srcSampleCnt = get_surface_sample_cnt(src); in onCopySurface() local
1987 srcConfig, srcSampleCnt, srcOrigin)) { in onCopySurface()
2024 srcConfig, srcSampleCnt, srcOrigin)) { in onCopySurface()
2031 srcConfig, srcSampleCnt, srcImage->isLinearTiled())) { in onCopySurface()
DGrVkCaps.h137 GrPixelConfig srcConfig, int srcSampleCnt, bool srcIsLinear) const;
/external/skia/src/gpu/vk/
DGrVkCaps.cpp129 VkFormat srcFormat, int srcSampleCnt, bool srcHasYcbcr) const { in canCopyImage() argument
130 if ((dstSampleCnt > 1 || srcSampleCnt > 1) && dstSampleCnt != srcSampleCnt) { in canCopyImage()
144 bool dstHasYcbcr, VkFormat srcFormat, int srcSampleCnt, in canCopyAsBlit() argument
155 if (dstSampleCnt > 1 || srcSampleCnt > 1) { in canCopyAsBlit()
167 VkFormat srcFormat, int srcSampleCnt, bool srcHasYcbcr) const { in canCopyAsResolve() argument
169 if (srcSampleCnt <= 1) { in canCopyAsResolve()
204 int srcSampleCnt = 0; in onCanCopySurface() local
221 srcSampleCnt = rtProxy->numSamples(); in onCanCopySurface()
224 SkASSERT((srcSampleCnt > 0) == SkToBool(src->asRenderTargetProxy())); in onCanCopySurface()
245 srcFormat, srcSampleCnt, srcHasYcbcr) || in onCanCopySurface()
[all …]
DGrVkGpu.cpp2198 int srcSampleCnt = get_surface_sample_cnt(src); in copySurfaceAsCopyImage() local
2205 srcFormat, srcSampleCnt, srcHasYcbcr)); in copySurfaceAsCopyImage()
2253 int srcSampleCnt = get_surface_sample_cnt(src); in copySurfaceAsBlit() local
2260 dstHasYcbcr, srcFormat, srcSampleCnt, in copySurfaceAsBlit()
2335 int srcSampleCnt = get_surface_sample_cnt(src); in onCopySurface() local
2366 srcFormat, srcSampleCnt, srcHasYcbcr)) { in onCopySurface()
2372 srcFormat, srcSampleCnt, srcHasYcbcr)) { in onCopySurface()
2378 dstHasYcbcr, srcFormat, srcSampleCnt, in onCopySurface()
DGrVkCaps.h164 VkFormat srcConfig, int srcSampleCnt, bool srcIsLinear,
/external/skqp/src/gpu/mtl/
DGrMtlCaps.mm175 int srcSampleCnt = 0;
180 srcSampleCnt = rtProxy->numColorSamples();
183 SkASSERT((srcSampleCnt > 0) == SkToBool(src->asRenderTargetProxy()));
186 src->config(), srcSampleCnt, srcOrigin,
DGrMtlGpu.mm598 int srcSampleCnt = get_surface_sample_cnt(src);
600 src->config(), srcSampleCnt, srcOrigin,
649 int srcSampleCnt = get_surface_sample_cnt(src);
652 src->config(), srcSampleCnt, srcOrigin,
719 int srcSampleCnt = get_surface_sample_cnt(src);
721 if (dstSampleCnt > 1 || srcSampleCnt > 1) {
732 srcConfig, srcSampleCnt, srcOrigin,
/external/skqp/src/gpu/gl/
DGrGLCaps.cpp2158 GrPixelConfig srcConfig, int srcSampleCnt, in canCopyAsBlit() argument
2187 if (srcSampleCnt > 1) { in canCopyAsBlit()
2208 if (srcSampleCnt > 1 && dstConfig != srcConfig) { in canCopyAsBlit()
2214 if (srcSampleCnt > 1) { in canCopyAsBlit()
2253 int srcSampleCnt = 0; in onCanCopySurface() local
2258 srcSampleCnt = rtProxy->numColorSamples(); in onCanCopySurface()
2261 SkASSERT((srcSampleCnt > 0) == SkToBool(src->asRenderTargetProxy())); in onCanCopySurface()
2283 dstIsTex2D, dstOrigin, srcConfig, srcSampleCnt, SkToBool(srcTex), in onCanCopySurface()
2295 dstIsTex2D, dstOrigin, srcConfig, srcSampleCnt, SkToBool(srcTex), in onCanCopySurface()
DGrGLCaps.h407 GrPixelConfig srcConfig, int srcSampleCnt,
DGrGLGpu.cpp3132 int srcSampleCnt = 0; in can_blit_framebuffer_for_copy_surface() local
3137 srcSampleCnt = rt->numColorSamples(); in can_blit_framebuffer_for_copy_surface()
3140 SkASSERT((srcSampleCnt > 0) == SkToBool(src->asRenderTarget())); in can_blit_framebuffer_for_copy_surface()
3149 dstOrigin, src->config(), srcSampleCnt, SkToBool(srcTex), in can_blit_framebuffer_for_copy_surface()
/external/skia/src/gpu/mtl/
DGrMtlCaps.mm195 int srcSampleCnt = 0;
200 srcSampleCnt = rtProxy->numSamples();
203 SkASSERT((srcSampleCnt > 0) == SkToBool(src->asRenderTargetProxy()));
208 GrBackendFormatAsMTLPixelFormat(src->backendFormat()), srcSampleCnt,
DGrMtlGpu.mm1099 int srcSampleCnt = get_surface_sample_cnt(src);
1100 SkASSERT(this->mtlCaps().canCopyAsBlit(dst, dstSampleCnt, src, srcSampleCnt,
1123 int srcSampleCnt = get_surface_sample_cnt(src);
1126 if (this->mtlCaps().canCopyAsResolve(dst, dstSampleCnt, src, srcSampleCnt, srcRect, dstPoint)) {
1129 } else if (this->mtlCaps().canCopyAsBlit(dst, dstSampleCnt, src, srcSampleCnt, srcRect,
/external/skia/src/gpu/gl/
DGrGLCaps.cpp3159 GrGLFormat srcFormat, int srcSampleCnt, in canCopyAsBlit() argument
3181 if (srcSampleCnt > 1) { in canCopyAsBlit()
3202 if (srcSampleCnt > 1 && srcFormat != dstFormat) { in canCopyAsBlit()
3208 if (srcSampleCnt > 1) { in canCopyAsBlit()
3238 int srcSampleCnt = 0; in onCanCopySurface() local
3243 srcSampleCnt = rtProxy->numSamples(); in onCanCopySurface()
3246 SkASSERT((srcSampleCnt > 0) == SkToBool(src->asRenderTargetProxy())); in onCanCopySurface()
3268 this->canCopyAsBlit(dstFormat, dstSampleCnt, dstTexTypePtr, srcFormat, srcSampleCnt, in onCanCopySurface()
DGrGLCaps.h420 GrGLFormat srcFormat, int srcSampleCnt,
DGrGLGpu.cpp3013 int srcSampleCnt = 0; in can_blit_framebuffer_for_copy_surface() local
3018 srcSampleCnt = rt->numSamples(); in can_blit_framebuffer_for_copy_surface()
3021 SkASSERT((srcSampleCnt > 0) == SkToBool(src->asRenderTarget())); in can_blit_framebuffer_for_copy_surface()
3043 srcFormat, srcSampleCnt, srcTexTypePtr, in can_blit_framebuffer_for_copy_surface()