Home
last modified time | relevance | path

Searched refs:dstOrigin (Results 1 – 25 of 27) sorted by relevance

12

/external/skqp/src/gpu/mtl/
DGrMtlGpu.mm593 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 …]
DGrMtlGpu.h73 bool copySurfaceAsBlit(GrSurface* dst, GrSurfaceOrigin dstOrigin,
80 bool copySurfaceAsDrawThenBlit(GrSurface* dst, GrSurfaceOrigin dstOrigin,
84 bool onCopySurface(GrSurface* dst, GrSurfaceOrigin dstOrigin,
DGrMtlCopyManager.h25 bool copySurfaceAsDraw(GrSurface* dst, GrSurfaceOrigin dstOrigin,
DGrMtlCaps.mm118 GrSurfaceOrigin dstOrigin,
129 if (dstOrigin != srcOrigin) {
171 GrSurfaceOrigin dstOrigin = dst->origin();
185 return this->canCopyAsBlit(dst->config(), dstSampleCnt, dstOrigin,
DGrMtlCaps.h49 bool canCopyAsBlit(GrPixelConfig dstConfig, int dstSampleCount, GrSurfaceOrigin dstOrigin,
DGrMtlCopyManager.mm128 bool GrMtlCopyManager::copySurfaceAsDraw(GrSurface* dst, GrSurfaceOrigin dstOrigin,
164 if (kBottomLeft_GrSurfaceOrigin == dstOrigin) {
/external/skqp/src/gpu/vk/
DGrVkCaps.cpp115 bool GrVkCaps::canCopyImage(GrPixelConfig dstConfig, int dstSampleCnt, GrSurfaceOrigin dstOrigin, in canCopyImage() argument
124 if (srcOrigin != dstOrigin || in canCopyImage()
161 GrSurfaceOrigin dstOrigin, GrPixelConfig srcConfig, in canCopyAsResolve() argument
179 if (srcOrigin != dstOrigin) { in canCopyAsResolve()
204 GrSurfaceOrigin dstOrigin = dst->origin(); in onCanCopySurface() local
240 return this->canCopyImage(dstConfig, dstSampleCnt, dstOrigin, in onCanCopySurface()
244 this->canCopyAsResolve(dstConfig, dstSampleCnt, dstOrigin, in onCanCopySurface()
DGrVkGpu.h213 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,
DGrVkGpu.cpp1814 void GrVkGpu::copySurfaceAsCopyImage(GrSurface* dst, GrSurfaceOrigin dstOrigin, in copySurfaceAsCopyImage() argument
1823 SkASSERT(this->vkCaps().canCopyImage(dst->config(), dstSampleCnt, dstOrigin, in copySurfaceAsCopyImage()
1847 SkASSERT(kBottomLeft_GrSurfaceOrigin == dstOrigin); in copySurfaceAsCopyImage()
1871 this->didWriteToSurface(dst, dstOrigin, &dstRect); in copySurfaceAsCopyImage()
1874 void GrVkGpu::copySurfaceAsBlit(GrSurface* dst, GrSurfaceOrigin dstOrigin, in copySurfaceAsBlit() argument
1915 if (kBottomLeft_GrSurfaceOrigin == dstOrigin) { in copySurfaceAsBlit()
1924 if (srcOrigin != dstOrigin) { in copySurfaceAsBlit()
1946 this->didWriteToSurface(dst, dstOrigin, &dstRect); in copySurfaceAsBlit()
1949 void GrVkGpu::copySurfaceAsResolve(GrSurface* dst, GrSurfaceOrigin dstOrigin, GrSurface* src, in copySurfaceAsResolve() argument
1956 SkASSERT(kBottomLeft_GrSurfaceOrigin == dstOrigin); in copySurfaceAsResolve()
[all …]
DGrVkCaps.h133 bool canCopyImage(GrPixelConfig dstConfig, int dstSampleCnt, GrSurfaceOrigin dstOrigin,
139 bool canCopyAsResolve(GrPixelConfig dstConfig, int dstSampleCnt, GrSurfaceOrigin dstOrigin,
DGrVkCopyManager.h31 GrSurface* dst, GrSurfaceOrigin dstOrigin,
DGrVkCopyManager.cpp152 GrSurface* dst, GrSurfaceOrigin dstOrigin, in copySurfaceAsDraw() argument
205 if (kBottomLeft_GrSurfaceOrigin == dstOrigin) { in copySurfaceAsDraw()
/external/skqp/src/gpu/gl/
DGrGLGpu.h246 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,
DGrGLGpu.cpp3126 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 …]
DGrGLCaps.h400 GrSurfaceOrigin dstOrigin,
406 GrSurfaceOrigin dstOrigin,
DGrGLCaps.cpp2120 GrSurfaceOrigin dstOrigin, in canCopyTexSubImage() argument
2148 dstOrigin == srcOrigin) { in canCopyTexSubImage()
2157 GrSurfaceOrigin dstOrigin, in canCopyAsBlit() argument
2181 if (dstOrigin != srcOrigin) { in canCopyAsBlit()
2218 if (dstOrigin != srcOrigin) { in canCopyAsBlit()
2246 GrSurfaceOrigin dstOrigin = dst->origin(); in onCanCopySurface() local
2283 dstIsTex2D, dstOrigin, srcConfig, srcSampleCnt, SkToBool(srcTex), in onCanCopySurface()
2291 SkToBool(dstTex), dstIsTex2D, dstOrigin, in onCanCopySurface()
2295 dstIsTex2D, dstOrigin, srcConfig, srcSampleCnt, SkToBool(srcTex), in onCanCopySurface()
/external/angle/src/libANGLE/renderer/metal/
Dmtl_command_buffer.h285 MTLOrigin dstOrigin,
291 MTLOrigin dstOrigin,
Dmtl_command_buffer.mm854 MTLOrigin dstOrigin,
873 destinationOrigin:dstOrigin
882 MTLOrigin dstOrigin,
904 destinationOrigin:dstOrigin];
/external/skqp/src/gpu/
DGrGpu.h243 bool copySurface(GrSurface* dst, GrSurfaceOrigin dstOrigin,
493 virtual bool onCopySurface(GrSurface* dst, GrSurfaceOrigin dstOrigin,
DGrGpu.cpp230 bool GrGpu::copySurface(GrSurface* dst, GrSurfaceOrigin dstOrigin, in copySurface() argument
243 return this->onCopySurface(dst, dstOrigin, src, srcOrigin, srcRect, dstPoint, in copySurface()
/external/skqp/src/gpu/mock/
DGrMockGpu.h93 bool onCopySurface(GrSurface* dst, GrSurfaceOrigin dstOrigin, GrSurface* src, in onCopySurface() argument
/external/dng_sdk/source/
Ddng_resample.h88 int32 dstOrigin,
Ddng_resample.cpp90 int32 dstOrigin, in Initialize() argument
96 fOrigin = dstOrigin; in Initialize()
/external/skia/src/core/
DSkCanvas.cpp910 SkBaseDevice* dst, const SkIPoint& dstOrigin, in DrawDeviceWithFilter() argument
920 SkIRect snapBounds = SkIRect::MakeXYWH(dstOrigin.x() - src->getOrigin().x(), in DrawDeviceWithFilter()
921 dstOrigin.y() - src->getOrigin().y(), in DrawDeviceWithFilter()
965 SkRect::MakeXYWH(dstOrigin.x(), dstOrigin.y(), dst->width(), dst->height())).roundOut(); in DrawDeviceWithFilter()
1058 dstCTM.postTranslate(-dstOrigin.x(), -dstOrigin.y()); in DrawDeviceWithFilter()
/external/skqp/src/core/
DSkCanvas.cpp943 SkBaseDevice* dst, const SkIPoint& dstOrigin, in DrawDeviceWithFilter() argument
959 int x = src->getOrigin().x() - dstOrigin.x(); in DrawDeviceWithFilter()
960 int y = src->getOrigin().y() - dstOrigin.y(); in DrawDeviceWithFilter()

12