Home
last modified time | relevance | path

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

/external/angle/src/libANGLE/renderer/metal/
DTextureMtl.mm2178 gl::Rectangle clippedSourceArea;
2180 &clippedSourceArea))
2185 // If negative offsets are given, clippedSourceArea ensures we don't read from those offsets.
2188 const gl::Offset modifiedDestOffset(destOffset.x + clippedSourceArea.x - sourceArea.x,
2189 destOffset.y + clippedSourceArea.y - sourceArea.y, 0);
2195 return copySubImageCPU(context, index, modifiedDestOffset, clippedSourceArea,
2200 return copySubImageWithDraw(context, index, modifiedDestOffset, clippedSourceArea,
2207 const gl::Rectangle &clippedSourceArea,
2222 clippedSourceArea.width, clippedSourceArea.height);
2232 clippedSourceArea, colorReadRT->getTexture()->size(blitParams.srcLevel));
[all …]
/external/angle/src/libANGLE/renderer/vulkan/
DFramebufferVk.cpp1076 gl::Rectangle clippedSourceArea; in blit() local
1077 if (!gl::ClipRectangle(srcFramebufferDimensions, absSourceArea, &clippedSourceArea)) in blit()
1088 srcClippedDestArea = clippedSourceArea; in blit()
1089 AdjustBlitAreaForPreRotation(dstFramebufferRotation, clippedSourceArea, in blit()
1092 else if (clippedSourceArea == absSourceArea) in blit()
1104 double x0Shift = std::round((clippedSourceArea.x - absSourceArea.x) / stretch[0]); in blit()
1105 double y0Shift = std::round((clippedSourceArea.y - absSourceArea.y) / stretch[1]); in blit()
1106 double x1Shift = std::round((absSourceArea.x1() - clippedSourceArea.x1()) / stretch[0]); in blit()
1107 double y1Shift = std::round((absSourceArea.y1() - clippedSourceArea.y1()) / stretch[1]); in blit()
DTextureVk.cpp875 gl::Rectangle clippedSourceArea; in copySubImageImpl() local
877 &clippedSourceArea)) in copySubImageImpl()
893 const gl::Offset modifiedDestOffset(destOffset.x + clippedSourceArea.x - sourceArea.x, in copySubImageImpl()
894 destOffset.y + clippedSourceArea.y - sourceArea.y, zOffset); in copySubImageImpl()
908 gl::Box clippedSourceBox(clippedSourceArea.x, clippedSourceArea.y, colorReadRT->getLayerIndex(), in copySubImageImpl()
909 clippedSourceArea.width, clippedSourceArea.height, 1); in copySubImageImpl()
950 context, offsetImageIndex, clippedSourceArea, modifiedDestOffset, in copySubImageImpl()
951 gl::Extents(clippedSourceArea.width, clippedSourceArea.height, 1), internalFormat, in copySubImageImpl()
/external/angle/src/libANGLE/renderer/d3d/
DTextureD3D.cpp2697 gl::Rectangle clippedSourceArea; in copySubImage() local
2699 &clippedSourceArea)) in copySubImage()
2703 const gl::Offset clippedDestOffset(destOffset.x + clippedSourceArea.x - sourceArea.x, in copySubImage()
2704 destOffset.y + clippedSourceArea.y - sourceArea.y, in copySubImage()
2719 clippedSourceArea, source)); in copySubImage()
3406 gl::Rectangle clippedSourceArea; in copySubImage() local
3408 &clippedSourceArea)) in copySubImage()
3412 const gl::Offset clippedDestOffset(destOffset.x + clippedSourceArea.x - sourceArea.x, in copySubImage()
3413 destOffset.y + clippedSourceArea.y - sourceArea.y, in copySubImage()
3420 context, destLayerOffset, clippedSourceArea, source)); in copySubImage()
[all …]