/external/skqp/src/gpu/vk/ |
D | GrVkCaps.cpp | 116 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 …]
|
D | GrVkCaps.h | 137 GrPixelConfig srcConfig, int srcSampleCnt, bool srcIsLinear) const;
|
D | GrVkGpu.cpp | 1822 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()
|
/external/skia/src/gpu/d3d/ |
D | GrD3DCaps.cpp | 64 DXGI_FORMAT srcFormat, int srcSampleCnt) const { in canCopyTexture() 65 if ((dstSampleCnt > 1 || srcSampleCnt > 1) && dstSampleCnt != srcSampleCnt) { in canCopyTexture() 75 DXGI_FORMAT srcFormat, int srcSampleCnt) const { in canCopyAsResolve() 77 if (srcSampleCnt <= 1) { in canCopyAsResolve() 103 int srcSampleCnt = 0; in onCanCopySurface() local 108 srcSampleCnt = rtProxy->numSamples(); in onCanCopySurface() 111 SkASSERT((srcSampleCnt > 0) == SkToBool(src->asRenderTargetProxy())); in onCanCopySurface() 117 return this->canCopyTexture(dstFormat, dstSampleCnt, srcFormat, srcSampleCnt) || in onCanCopySurface() 118 this->canCopyAsResolve(dstFormat, dstSampleCnt, srcFormat, srcSampleCnt); in onCanCopySurface()
|
D | GrD3DGpu.cpp | 428 int srcSampleCnt = get_surface_sample_cnt(src); in onCopySurface() local 452 if (this->d3dCaps().canCopyAsResolve(dstFormat, dstSampleCnt, srcFormat, srcSampleCnt)) { in onCopySurface() 457 if (this->d3dCaps().canCopyTexture(dstFormat, dstSampleCnt, srcFormat, srcSampleCnt)) { in onCopySurface() 471 int srcSampleCnt = get_surface_sample_cnt(src); in copySurfaceAsCopyTexture() local 475 SkASSERT(this->d3dCaps().canCopyTexture(dstFormat, dstSampleCnt, srcFormat, srcSampleCnt)); in copySurfaceAsCopyTexture()
|
/external/skia/src/gpu/vk/ |
D | GrVkCaps.cpp | 136 VkFormat srcFormat, int srcSampleCnt, bool srcHasYcbcr) const { in canCopyImage() argument 137 if ((dstSampleCnt > 1 || srcSampleCnt > 1) && dstSampleCnt != srcSampleCnt) { in canCopyImage() 151 bool dstHasYcbcr, VkFormat srcFormat, int srcSampleCnt, in canCopyAsBlit() argument 162 if (dstSampleCnt > 1 || srcSampleCnt > 1) { in canCopyAsBlit() 174 VkFormat srcFormat, int srcSampleCnt, bool srcHasYcbcr) const { in canCopyAsResolve() argument 176 if (srcSampleCnt <= 1) { in canCopyAsResolve() 211 int srcSampleCnt = 0; in onCanCopySurface() local 235 srcSampleCnt = 1; in onCanCopySurface() 237 srcSampleCnt = rtProxy->numSamples(); in onCanCopySurface() 241 SkASSERT((srcSampleCnt > 0) == SkToBool(src->asRenderTargetProxy())); in onCanCopySurface() [all …]
|
D | GrVkGpu.cpp | 2124 int srcSampleCnt = srcImage->vkImageInfo().fSampleCount; in copySurfaceAsCopyImage() local 2131 srcFormat, srcSampleCnt, srcHasYcbcr)); in copySurfaceAsCopyImage() 2185 int srcSampleCnt = srcImage->vkImageInfo().fSampleCount; in copySurfaceAsBlit() local 2192 dstHasYcbcr, srcFormat, srcSampleCnt, in copySurfaceAsBlit() 2311 int srcSampleCnt = srcImage->vkImageInfo().fSampleCount; in onCopySurface() local 2317 srcFormat, srcSampleCnt, srcHasYcbcr)) { in onCopySurface() 2323 srcFormat, srcSampleCnt, srcHasYcbcr)) { in onCopySurface() 2329 dstHasYcbcr, srcFormat, srcSampleCnt, in onCopySurface()
|
D | GrVkCaps.h | 217 int srcSampleCnt,
|
/external/skqp/src/gpu/mtl/ |
D | GrMtlCaps.mm | 175 int srcSampleCnt = 0; 180 srcSampleCnt = rtProxy->numColorSamples(); 183 SkASSERT((srcSampleCnt > 0) == SkToBool(src->asRenderTargetProxy())); 186 src->config(), srcSampleCnt, srcOrigin,
|
D | GrMtlGpu.mm | 598 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/ |
D | GrGLCaps.cpp | 2158 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()
|
D | GrGLCaps.h | 407 GrPixelConfig srcConfig, int srcSampleCnt,
|
D | GrGLGpu.cpp | 3132 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/ |
D | GrMtlCaps.mm | 243 int srcSampleCnt = 1; 248 srcSampleCnt = rtProxy->numSamples(); 254 GrBackendFormatAsMTLPixelFormat(src->backendFormat()), srcSampleCnt, 262 srcFormat, srcSampleCnt,
|
/external/skia/src/gpu/gl/ |
D | GrGLCaps.cpp | 3267 GrGLFormat srcFormat, int srcSampleCnt, in canCopyAsBlit() argument 3289 if (srcSampleCnt > 1) { in canCopyAsBlit() 3310 if (srcSampleCnt > 1 && srcFormat != dstFormat) { in canCopyAsBlit() 3316 if (srcSampleCnt > 1) { in canCopyAsBlit() 3346 int srcSampleCnt = 0; in onCanCopySurface() local 3351 srcSampleCnt = rtProxy->numSamples(); in onCanCopySurface() 3354 SkASSERT((srcSampleCnt > 0) == SkToBool(src->asRenderTargetProxy())); in onCanCopySurface() 3376 this->canCopyAsBlit(dstFormat, dstSampleCnt, dstTexTypePtr, srcFormat, srcSampleCnt, in onCanCopySurface()
|
D | GrGLCaps.h | 408 GrGLFormat srcFormat, int srcSampleCnt,
|
D | GrGLGpu.cpp | 2833 int srcSampleCnt = 0; in can_blit_framebuffer_for_copy_surface() local 2838 srcSampleCnt = rt->numSamples(); in can_blit_framebuffer_for_copy_surface() 2841 SkASSERT((srcSampleCnt > 0) == SkToBool(src->asRenderTarget())); in can_blit_framebuffer_for_copy_surface() 2863 srcFormat, srcSampleCnt, srcTexTypePtr, in can_blit_framebuffer_for_copy_surface()
|