/external/skqp/src/gpu/mtl/ |
D | GrMtlGpu.mm | 593 bool GrMtlGpu::copySurfaceAsBlit(GrSurface* dst, GrSurfaceOrigin dstOrigin, 599 SkASSERT(this->mtlCaps().canCopyAsBlit(dst->config(), dstSampleCnt, dstOrigin, 622 if (kBottomLeft_GrSurfaceOrigin == dstOrigin) { 644 bool GrMtlGpu::copySurfaceAsDrawThenBlit(GrSurface* dst, GrSurfaceOrigin dstOrigin, 651 SkASSERT(!this->mtlCaps().canCopyAsBlit(dst->config(), dstSampleCnt, dstOrigin, 680 GrSurfaceOrigin transferOrigin = dstOrigin; 696 dstOrigin, 701 if (!this->copySurface(dst, dstOrigin, 709 bool GrMtlGpu::onCopySurface(GrSurface* dst, GrSurfaceOrigin dstOrigin, 729 success = fCopyManager.copySurfaceAsDraw(dst, dstOrigin, src, srcOrigin, srcRect, dstPoint, [all …]
|
D | GrMtlGpu.h | 73 bool copySurfaceAsBlit(GrSurface* dst, GrSurfaceOrigin dstOrigin, 80 bool copySurfaceAsDrawThenBlit(GrSurface* dst, GrSurfaceOrigin dstOrigin, 84 bool onCopySurface(GrSurface* dst, GrSurfaceOrigin dstOrigin,
|
D | GrMtlCaps.mm | 118 GrSurfaceOrigin dstOrigin, 129 if (dstOrigin != srcOrigin) { 171 GrSurfaceOrigin dstOrigin = dst->origin(); 185 return this->canCopyAsBlit(dst->config(), dstSampleCnt, dstOrigin,
|
D | GrMtlCopyManager.h | 25 bool copySurfaceAsDraw(GrSurface* dst, GrSurfaceOrigin dstOrigin,
|
/external/skia/src/gpu/mtl/ |
D | GrMtlGpu.mm | 655 bool GrMtlGpu::copySurfaceAsBlit(GrSurface* dst, GrSurfaceOrigin dstOrigin, 661 SkASSERT(this->mtlCaps().canCopyAsBlit(dst->config(), dstSampleCnt, dstOrigin, 684 if (kBottomLeft_GrSurfaceOrigin == dstOrigin) { 706 bool GrMtlGpu::copySurfaceAsDrawThenBlit(GrSurface* dst, GrSurfaceOrigin dstOrigin, 713 SkASSERT(!this->mtlCaps().canCopyAsBlit(dst->config(), dstSampleCnt, dstOrigin, 742 GrSurfaceOrigin transferOrigin = dstOrigin; 758 dstOrigin, 763 if (!this->copySurface(dst, dstOrigin, 771 bool GrMtlGpu::onCopySurface(GrSurface* dst, GrSurfaceOrigin dstOrigin, 792 success = fCopyManager.copySurfaceAsDraw(dst, dstOrigin, src, srcOrigin, srcRect, dstPoint, [all …]
|
D | GrMtlGpu.h | 77 bool copySurfaceAsBlit(GrSurface* dst, GrSurfaceOrigin dstOrigin, 84 bool copySurfaceAsDrawThenBlit(GrSurface* dst, GrSurfaceOrigin dstOrigin, 88 bool onCopySurface(GrSurface* dst, GrSurfaceOrigin dstOrigin,
|
D | GrMtlCopyManager.h | 25 bool copySurfaceAsDraw(GrSurface* dst, GrSurfaceOrigin dstOrigin,
|
D | GrMtlCaps.mm | 118 GrSurfaceOrigin dstOrigin, 129 if (dstOrigin != srcOrigin) { 171 GrSurfaceOrigin dstOrigin = dst->origin(); 185 return this->canCopyAsBlit(dst->config(), dstSampleCnt, dstOrigin,
|
/external/skqp/src/gpu/vk/ |
D | GrVkCaps.cpp | 77 bool GrVkCaps::canCopyImage(GrPixelConfig dstConfig, int dstSampleCnt, GrSurfaceOrigin dstOrigin, in canCopyImage() argument 86 if (srcOrigin != dstOrigin || GrBytesPerPixel(srcConfig) != GrBytesPerPixel(dstConfig)) { in canCopyImage() 122 GrSurfaceOrigin dstOrigin, GrPixelConfig srcConfig, in canCopyAsResolve() argument 140 if (srcOrigin != dstOrigin) { in canCopyAsResolve() 165 GrSurfaceOrigin dstOrigin = dst->origin(); in onCanCopySurface() local 201 return this->canCopyImage(dstConfig, dstSampleCnt, dstOrigin, in onCanCopySurface() 205 this->canCopyAsResolve(dstConfig, dstSampleCnt, dstOrigin, in onCanCopySurface()
|
D | GrVkGpu.h | 213 bool onCopySurface(GrSurface* dst, GrSurfaceOrigin dstOrigin, GrSurface* src, 229 void copySurfaceAsCopyImage(GrSurface* dst, GrSurfaceOrigin dstOrigin, 235 void copySurfaceAsBlit(GrSurface* dst, GrSurfaceOrigin dstOrigin, 241 void copySurfaceAsResolve(GrSurface* dst, GrSurfaceOrigin dstOrigin,
|
D | GrVkGpu.cpp | 1806 void GrVkGpu::copySurfaceAsCopyImage(GrSurface* dst, GrSurfaceOrigin dstOrigin, in copySurfaceAsCopyImage() argument 1815 SkASSERT(this->vkCaps().canCopyImage(dst->config(), dstSampleCnt, dstOrigin, in copySurfaceAsCopyImage() 1839 SkASSERT(kBottomLeft_GrSurfaceOrigin == dstOrigin); in copySurfaceAsCopyImage() 1863 this->didWriteToSurface(dst, dstOrigin, &dstRect); in copySurfaceAsCopyImage() 1866 void GrVkGpu::copySurfaceAsBlit(GrSurface* dst, GrSurfaceOrigin dstOrigin, in copySurfaceAsBlit() argument 1907 if (kBottomLeft_GrSurfaceOrigin == dstOrigin) { in copySurfaceAsBlit() 1916 if (srcOrigin != dstOrigin) { in copySurfaceAsBlit() 1938 this->didWriteToSurface(dst, dstOrigin, &dstRect); in copySurfaceAsBlit() 1941 void GrVkGpu::copySurfaceAsResolve(GrSurface* dst, GrSurfaceOrigin dstOrigin, GrSurface* src, in copySurfaceAsResolve() argument 1948 SkASSERT(kBottomLeft_GrSurfaceOrigin == dstOrigin); in copySurfaceAsResolve() [all …]
|
D | GrVkCaps.h | 133 bool canCopyImage(GrPixelConfig dstConfig, int dstSampleCnt, GrSurfaceOrigin dstOrigin, 139 bool canCopyAsResolve(GrPixelConfig dstConfig, int dstSampleCnt, GrSurfaceOrigin dstOrigin,
|
D | GrVkCopyManager.h | 31 GrSurface* dst, GrSurfaceOrigin dstOrigin,
|
/external/skia/src/gpu/vk/ |
D | GrVkCaps.cpp | 78 bool GrVkCaps::canCopyImage(GrPixelConfig dstConfig, int dstSampleCnt, GrSurfaceOrigin dstOrigin, in canCopyImage() argument 91 if (srcOrigin != dstOrigin || GrBytesPerPixel(srcConfig) != GrBytesPerPixel(dstConfig)) { in canCopyImage() 132 GrSurfaceOrigin dstOrigin, bool dstHasYcbcr, in canCopyAsResolve() argument 151 if (srcOrigin != dstOrigin) { in canCopyAsResolve() 185 GrSurfaceOrigin dstOrigin = dst->origin(); in onCanCopySurface() local 235 return this->canCopyImage(dstConfig, dstSampleCnt, dstOrigin, dstHasYcbcr, in onCanCopySurface() 239 this->canCopyAsResolve(dstConfig, dstSampleCnt, dstOrigin, dstHasYcbcr, in onCanCopySurface()
|
D | GrVkGpu.h | 221 bool onCopySurface(GrSurface* dst, GrSurfaceOrigin dstOrigin, GrSurface* src, 240 void copySurfaceAsCopyImage(GrSurface* dst, GrSurfaceOrigin dstOrigin, 246 void copySurfaceAsBlit(GrSurface* dst, GrSurfaceOrigin dstOrigin, 252 void copySurfaceAsResolve(GrSurface* dst, GrSurfaceOrigin dstOrigin,
|
D | GrVkGpu.cpp | 1843 void GrVkGpu::copySurfaceAsCopyImage(GrSurface* dst, GrSurfaceOrigin dstOrigin, in copySurfaceAsCopyImage() argument 1854 SkASSERT(this->vkCaps().canCopyImage(dst->config(), dstSampleCnt, dstOrigin, dstHasYcbcr, in copySurfaceAsCopyImage() 1878 SkASSERT(kBottomLeft_GrSurfaceOrigin == dstOrigin); in copySurfaceAsCopyImage() 1902 this->didWriteToSurface(dst, dstOrigin, &dstRect); in copySurfaceAsCopyImage() 1905 void GrVkGpu::copySurfaceAsBlit(GrSurface* dst, GrSurfaceOrigin dstOrigin, in copySurfaceAsBlit() argument 1949 if (kBottomLeft_GrSurfaceOrigin == dstOrigin) { in copySurfaceAsBlit() 1958 if (srcOrigin != dstOrigin) { in copySurfaceAsBlit() 1980 this->didWriteToSurface(dst, dstOrigin, &dstRect); in copySurfaceAsBlit() 1983 void GrVkGpu::copySurfaceAsResolve(GrSurface* dst, GrSurfaceOrigin dstOrigin, GrSurface* src, in copySurfaceAsResolve() argument 1990 SkASSERT(kBottomLeft_GrSurfaceOrigin == dstOrigin); in copySurfaceAsResolve() [all …]
|
D | GrVkCaps.h | 144 bool canCopyImage(GrPixelConfig dstConfig, int dstSampleCnt, GrSurfaceOrigin dstOrigin, 152 bool canCopyAsResolve(GrPixelConfig dstConfig, int dstSampleCnt, GrSurfaceOrigin dstOrigin,
|
D | GrVkCopyManager.h | 31 GrSurface* dst, GrSurfaceOrigin dstOrigin,
|
/external/skqp/src/gpu/gl/ |
D | GrGLGpu.h | 246 bool onCopySurface(GrSurface* dst, GrSurfaceOrigin dstOrigin, 289 bool copySurfaceAsDraw(GrSurface* dst, GrSurfaceOrigin dstOrigin, 292 void copySurfaceAsCopyTexSubImage(GrSurface* dst, GrSurfaceOrigin dstOrigin, 295 bool copySurfaceAsBlitFramebuffer(GrSurface* dst, GrSurfaceOrigin dstOrigin,
|
D | GrGLGpu.cpp | 3126 const GrSurface* dst, GrSurfaceOrigin dstOrigin, in can_blit_framebuffer_for_copy_surface() argument 3149 dstOrigin, src->config(), srcSampleCnt, SkToBool(srcTex), in can_blit_framebuffer_for_copy_surface() 3161 static inline bool can_copy_texsubimage(const GrSurface* dst, GrSurfaceOrigin dstOrigin, in can_copy_texsubimage() argument 3177 dstIsGLTexture2D, dstOrigin, src->config(), in can_copy_texsubimage() 3276 bool GrGLGpu::onCopySurface(GrSurface* dst, GrSurfaceOrigin dstOrigin, in onCopySurface() argument 3290 if (this->copySurfaceAsDraw(dst, dstOrigin, src, srcOrigin, srcRect, dstPoint)) { in onCopySurface() 3295 if (can_copy_texsubimage(dst, dstOrigin, src, srcOrigin, this->glCaps())) { in onCopySurface() 3296 this->copySurfaceAsCopyTexSubImage(dst, dstOrigin, src, srcOrigin, srcRect, dstPoint); in onCopySurface() 3300 if (can_blit_framebuffer_for_copy_surface(dst, dstOrigin, src, srcOrigin, in onCopySurface() 3302 return this->copySurfaceAsBlitFramebuffer(dst, dstOrigin, src, srcOrigin, in onCopySurface() [all …]
|
D | GrGLCaps.h | 400 GrSurfaceOrigin dstOrigin, 406 GrSurfaceOrigin dstOrigin,
|
/external/skia/src/gpu/gl/ |
D | GrGLGpu.h | 251 bool onCopySurface(GrSurface* dst, GrSurfaceOrigin dstOrigin, 297 bool copySurfaceAsDraw(GrSurface* dst, GrSurfaceOrigin dstOrigin, 300 void copySurfaceAsCopyTexSubImage(GrSurface* dst, GrSurfaceOrigin dstOrigin, 303 bool copySurfaceAsBlitFramebuffer(GrSurface* dst, GrSurfaceOrigin dstOrigin,
|
D | GrGLGpu.cpp | 3154 const GrSurface* dst, GrSurfaceOrigin dstOrigin, in can_blit_framebuffer_for_copy_surface() argument 3177 dstOrigin, src->config(), srcSampleCnt, SkToBool(srcTex), in can_blit_framebuffer_for_copy_surface() 3189 static inline bool can_copy_texsubimage(const GrSurface* dst, GrSurfaceOrigin dstOrigin, in can_copy_texsubimage() argument 3205 dstIsGLTexture2D, dstOrigin, src->config(), in can_copy_texsubimage() 3304 bool GrGLGpu::onCopySurface(GrSurface* dst, GrSurfaceOrigin dstOrigin, in onCopySurface() argument 3318 if (this->copySurfaceAsDraw(dst, dstOrigin, src, srcOrigin, srcRect, dstPoint)) { in onCopySurface() 3323 if (can_copy_texsubimage(dst, dstOrigin, src, srcOrigin, this->glCaps())) { in onCopySurface() 3324 this->copySurfaceAsCopyTexSubImage(dst, dstOrigin, src, srcOrigin, srcRect, dstPoint); in onCopySurface() 3328 if (can_blit_framebuffer_for_copy_surface(dst, dstOrigin, src, srcOrigin, in onCopySurface() 3330 return this->copySurfaceAsBlitFramebuffer(dst, dstOrigin, src, srcOrigin, in onCopySurface() [all …]
|
D | GrGLCaps.h | 400 GrSurfaceOrigin dstOrigin, 406 GrSurfaceOrigin dstOrigin,
|
/external/skqp/src/gpu/ |
D | GrGpu.h | 243 bool copySurface(GrSurface* dst, GrSurfaceOrigin dstOrigin, 493 virtual bool onCopySurface(GrSurface* dst, GrSurfaceOrigin dstOrigin,
|