Home
last modified time | relevance | path

Searched refs:clippedSourceArea (Results 1 – 5 of 5) sorted by relevance

/external/angle/src/libANGLE/renderer/metal/
DTextureMtl.mm1948 gl::Rectangle clippedSourceArea;
1950 &clippedSourceArea))
1955 // If negative offsets are given, clippedSourceArea ensures we don't read from those offsets.
1958 const gl::Offset modifiedDestOffset(destOffset.x + clippedSourceArea.x - sourceArea.x,
1959 destOffset.y + clippedSourceArea.y - sourceArea.y, 0);
1965 return copySubImageCPU(context, index, modifiedDestOffset, clippedSourceArea,
1970 return copySubImageWithDraw(context, index, modifiedDestOffset, clippedSourceArea,
1977 const gl::Rectangle &clippedSourceArea,
1992 clippedSourceArea.width, clippedSourceArea.height);
2000 blitParams.srcRect = clippedSourceArea;
[all …]
DFrameBufferMtl.mm314 gl::Rectangle clippedSourceArea;
315 if (!gl::ClipRectangle(srcFramebufferDimensions, absSourceArea, &clippedSourceArea))
323 if (clippedSourceArea == absSourceArea)
332 float x0Shift = std::round((clippedSourceArea.x - absSourceArea.x) / stretch[0]);
333 float y0Shift = std::round((clippedSourceArea.y - absSourceArea.y) / stretch[1]);
334 float x1Shift = std::round((absSourceArea.x1() - clippedSourceArea.x1()) / stretch[0]);
335 float y1Shift = std::round((absSourceArea.y1() - clippedSourceArea.y1()) / stretch[1]);
359 clippedSourceArea = srcFrameBuffer->getCorrectFlippedReadArea(context, clippedSourceArea);
388 baseParams.srcRect = clippedSourceArea;
/external/angle/src/libANGLE/renderer/vulkan/
DFramebufferVk.cpp977 gl::Rectangle clippedSourceArea; in blit() local
978 if (!gl::ClipRectangle(srcFramebufferDimensions, absSourceArea, &clippedSourceArea)) in blit()
989 srcClippedDestArea = clippedSourceArea; in blit()
990 AdjustBlitAreaForPreRotation(destFramebufferRotation, clippedSourceArea, in blit()
993 else if (clippedSourceArea == absSourceArea) in blit()
1005 double x0Shift = std::round((clippedSourceArea.x - absSourceArea.x) / stretch[0]); in blit()
1006 double y0Shift = std::round((clippedSourceArea.y - absSourceArea.y) / stretch[1]); in blit()
1007 double x1Shift = std::round((absSourceArea.x1() - clippedSourceArea.x1()) / stretch[0]); in blit()
1008 double y1Shift = std::round((absSourceArea.y1() - clippedSourceArea.y1()) / stretch[1]); in blit()
DTextureVk.cpp702 gl::Rectangle clippedSourceArea; in copySubImageImpl() local
704 &clippedSourceArea)) in copySubImageImpl()
720 const gl::Offset modifiedDestOffset(destOffset.x + clippedSourceArea.x - sourceArea.x, in copySubImageImpl()
721 destOffset.y + clippedSourceArea.y - sourceArea.y, zOffset); in copySubImageImpl()
732 gl::Box clippedSourceBox(clippedSourceArea.x, clippedSourceArea.y, colorReadRT->getLayerIndex(), in copySubImageImpl()
733 clippedSourceArea.width, clippedSourceArea.height, 1); in copySubImageImpl()
776 context, offsetImageIndex, clippedSourceArea, modifiedDestOffset, in copySubImageImpl()
777 gl::Extents(clippedSourceArea.width, clippedSourceArea.height, 1), internalFormat, in copySubImageImpl()
/external/angle/src/libANGLE/renderer/d3d/
DTextureD3D.cpp2601 gl::Rectangle clippedSourceArea; in copySubImage() local
2603 &clippedSourceArea)) in copySubImage()
2607 const gl::Offset clippedDestOffset(destOffset.x + clippedSourceArea.x - sourceArea.x, in copySubImage()
2608 destOffset.y + clippedSourceArea.y - sourceArea.y, in copySubImage()
2623 clippedSourceArea, source)); in copySubImage()
3297 gl::Rectangle clippedSourceArea; in copySubImage() local
3299 &clippedSourceArea)) in copySubImage()
3303 const gl::Offset clippedDestOffset(destOffset.x + clippedSourceArea.x - sourceArea.x, in copySubImage()
3304 destOffset.y + clippedSourceArea.y - sourceArea.y, in copySubImage()
3311 context, destLayerOffset, clippedSourceArea, source)); in copySubImage()
[all …]