Home
last modified time | relevance | path

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

/aosp_15_r20/external/skia/src/gpu/ganesh/d3d/
H A DGrD3DCaps.cpp73 DXGI_FORMAT srcFormat, int srcSampleCnt) const { in canCopyTexture()
74 if ((dstSampleCnt > 1 || srcSampleCnt > 1) && dstSampleCnt != srcSampleCnt) { in canCopyTexture()
84 DXGI_FORMAT srcFormat, int srcSampleCnt) const { in canCopyAsResolve()
86 if (srcSampleCnt <= 1) { in canCopyAsResolve()
116 int srcSampleCnt = 0; in onCanCopySurface() local
121 srcSampleCnt = rtProxy->numSamples(); in onCanCopySurface()
124 SkASSERT((srcSampleCnt > 0) == SkToBool(src->asRenderTargetProxy())); in onCanCopySurface()
130 return this->canCopyTexture(dstFormat, dstSampleCnt, srcFormat, srcSampleCnt) || in onCanCopySurface()
131 this->canCopyAsResolve(dstFormat, dstSampleCnt, srcFormat, srcSampleCnt); in onCanCopySurface()
H A DGrD3DGpu.cpp448 int srcSampleCnt = get_surface_sample_cnt(src); in onCopySurface() local
473 if (this->d3dCaps().canCopyAsResolve(dstFormat, dstSampleCnt, srcFormat, srcSampleCnt)) { in onCopySurface()
478 if (this->d3dCaps().canCopyTexture(dstFormat, dstSampleCnt, srcFormat, srcSampleCnt)) { in onCopySurface()
492 int srcSampleCnt = get_surface_sample_cnt(src); in copySurfaceAsCopyTexture() local
496 SkASSERT(this->d3dCaps().canCopyTexture(dstFormat, dstSampleCnt, srcFormat, srcSampleCnt)); in copySurfaceAsCopyTexture()
/aosp_15_r20/external/skia/src/gpu/ganesh/vk/
H A DGrVkCaps.cpp167 VkFormat srcFormat, int srcSampleCnt, bool srcHasYcbcr) const { in canCopyImage() argument
168 if ((dstSampleCnt > 1 || srcSampleCnt > 1) && dstSampleCnt != srcSampleCnt) { in canCopyImage()
182 bool dstHasYcbcr, VkFormat srcFormat, int srcSampleCnt, in canCopyAsBlit() argument
193 if (dstSampleCnt > 1 || srcSampleCnt > 1) { in canCopyAsBlit()
205 VkFormat srcFormat, int srcSampleCnt, bool srcHasYcbcr) const { in canCopyAsResolve() argument
207 if (srcSampleCnt <= 1) { in canCopyAsResolve()
242 int srcSampleCnt = 0; in onCanCopySurface() local
266 srcSampleCnt = 1; in onCanCopySurface()
268 srcSampleCnt = rtProxy->numSamples(); in onCanCopySurface()
272 SkASSERT((srcSampleCnt > 0) == SkToBool(src->asRenderTargetProxy())); in onCanCopySurface()
[all …]
H A DGrVkGpu.cpp2260 int srcSampleCnt = srcImage->numSamples(); in copySurfaceAsCopyImage() local
2267 srcFormat, srcSampleCnt, srcHasYcbcr)); in copySurfaceAsCopyImage()
2325 int srcSampleCnt = srcImage->numSamples(); in copySurfaceAsBlit() local
2336 srcSampleCnt, in copySurfaceAsBlit()
2456 int srcSampleCnt = srcImage->numSamples(); in onCopySurface() local
2465 srcFormat, srcSampleCnt, srcHasYcbcr)) { in onCopySurface()
2471 srcFormat, srcSampleCnt, srcHasYcbcr)) { in onCopySurface()
2482 srcSampleCnt, in onCopySurface()
H A DGrVkCaps.h252 int srcSampleCnt,
/aosp_15_r20/external/skia/src/gpu/ganesh/gl/
H A DGrGLCaps.cpp3732 GrGLFormat srcFormat, int srcSampleCnt, in canCopyAsBlit() argument
3753 if (dstSampleCnt > 1 && dstSampleCnt != srcSampleCnt) { in canCopyAsBlit()
3763 this->useDrawInsteadOfAllRenderTargetWrites() || srcSampleCnt > 1) { in canCopyAsBlit()
3769 if (srcSampleCnt > 1) { in canCopyAsBlit()
3790 if (srcSampleCnt > 1 && srcFormat != dstFormat) { in canCopyAsBlit()
3796 if (srcSampleCnt > 1) { in canCopyAsBlit()
3832 int srcSampleCnt = 0; in onCanCopySurface() local
3837 srcSampleCnt = rtProxy->numSamples(); in onCanCopySurface()
3840 SkASSERT((srcSampleCnt > 0) == SkToBool(src->asRenderTargetProxy())); in onCanCopySurface()
3867 return this->canCopyAsBlit(dstFormat, dstSampleCnt, dstTexTypePtr, srcFormat, srcSampleCnt, in onCanCopySurface()
H A DGrGLCaps.h491 GrGLFormat srcFormat, int srcSampleCnt,
H A DGrGLGpu.cpp3084 int srcSampleCnt = 0; in can_blit_framebuffer_for_copy_surface() local
3089 srcSampleCnt = rt->numSamples(); in can_blit_framebuffer_for_copy_surface()
3092 SkASSERT((srcSampleCnt > 0) == SkToBool(src->asRenderTarget())); in can_blit_framebuffer_for_copy_surface()
3114 srcFormat, srcSampleCnt, srcTexTypePtr, in can_blit_framebuffer_for_copy_surface()
/aosp_15_r20/external/skia/src/gpu/ganesh/mtl/
H A DGrMtlCaps.mm316 int srcSampleCnt = 1;
321 srcSampleCnt = rtProxy->numSamples();
328 GrBackendFormatAsMTLPixelFormat(src->backendFormat()), srcSampleCnt,
336 srcFormat, srcSampleCnt,
H A DGrMtlGpu.mm1312 int srcSampleCnt = srcAttachment->sampleCount();
1316 srcFormat, srcSampleCnt,
1328 if (this->mtlCaps().canCopyAsBlit(dstFormat, dstSampleCnt, srcFormat, srcSampleCnt,