Home
last modified time | relevance | path

Searched refs:sourceBox (Results 1 – 22 of 22) sorted by relevance

/external/angle/src/libANGLE/renderer/vulkan/
DTextureVk.cpp584 gl::Box sourceBox(gl::kOffsetZero, sourceImageDesc.size); in copyTexture() local
592 gl::LevelIndex(sourceLevelGL), sourceBox, unpackFlipY, in copyTexture()
600 const gl::Box &sourceBox, in copySubTexture() argument
611 gl::LevelIndex(sourceLevelGL), sourceBox, unpackFlipY, in copySubTexture()
793 const gl::Box &sourceBox, in copySubTextureImpl() argument
816 sourceLevelGL, sourceBox.z, sourceBox, in copySubTextureImpl()
827 contextVk, offsetImageIndex, destOffset, destVkFormat, sourceLevelGL, sourceBox, false, in copySubTextureImpl()
843 ANGLE_TRY(source->copyImageDataToBufferAndGetData(contextVk, sourceLevelGL, sourceBox.depth, in copySubTextureImpl()
844 sourceBox, &sourceData)); in copySubTextureImpl()
849 sourceBox.width * sourceBox.height * sourceBox.depth * destTextureFormat.pixelBytes; in copySubTextureImpl()
[all …]
DTextureVk.h97 const gl::Box &sourceBox,
388 const gl::Box &sourceBox,
400 const gl::Box &sourceBox,
408 const gl::Box &sourceBox,
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DImage11.cpp81 const gl::Box &sourceBox, in CopyImage() argument
108 sourceBox.x * sourcePixelBytes + sourceBox.y * srcMapped.RowPitch + in CopyImage()
109 sourceBox.z * srcMapped.DepthPitch; in CopyImage()
116 destFormatInfo.componentType, sourceBox.width, sourceBox.height, in CopyImage()
117 sourceBox.depth, unpackFlipY, unpackPremultiplyAlpha, unpackUnmultiplyAlpha); in CopyImage()
368 gl::Box sourceBox(0, 0, 0, mWidth, mHeight, mDepth); in copyFromTexStorage() local
369 return copyWithoutConversion(context, gl::Offset(), sourceBox, *textureHelper, in copyFromTexStorage()
394 gl::Box sourceBox(sourceArea.x, sourceArea.y, 0, sourceArea.width, sourceArea.height, 1); in copyFromFramebuffer() local
395 return copyWithoutConversion(context, destOffset, sourceBox, textureHelper, in copyFromFramebuffer()
DSwapChain11.cpp353 D3D11_BOX sourceBox = {}; in resetOffscreenColorBuffer() local
354 sourceBox.left = 0; in resetOffscreenColorBuffer()
355 sourceBox.right = std::min(previousWidth, backbufferWidth); in resetOffscreenColorBuffer()
356 sourceBox.top = std::max(previousHeight - backbufferHeight, 0); in resetOffscreenColorBuffer()
357 sourceBox.bottom = previousHeight; in resetOffscreenColorBuffer()
358 sourceBox.front = 0; in resetOffscreenColorBuffer()
359 sourceBox.back = 1; in resetOffscreenColorBuffer()
364 previousOffscreenTexture.get(), 0, &sourceBox); in resetOffscreenColorBuffer()
DRenderer11.cpp2632 const gl::Box &sourceBox, in copyTexture() argument
2672 D3D11_BOX d3dBox{static_cast<UINT>(sourceBox.x), in copyTexture()
2673 static_cast<UINT>(sourceBox.y), in copyTexture()
2674 static_cast<UINT>(sourceBox.z), in copyTexture()
2675 static_cast<UINT>(sourceBox.x + sourceBox.width), in copyTexture()
2676 static_cast<UINT>(sourceBox.y + sourceBox.height), in copyTexture()
2677 static_cast<UINT>(sourceBox.z + sourceBox.depth)}; in copyTexture()
2685 D3D11_BOX d3dBox{static_cast<UINT>(sourceBox.x), in copyTexture()
2686 static_cast<UINT>(sourceBox.y), in copyTexture()
2688 static_cast<UINT>(sourceBox.x + sourceBox.width), in copyTexture()
[all …]
DImage11.h50 const gl::Box &sourceBox,
DRenderer11.h169 const gl::Box &sourceBox,
231 const gl::Box &sourceBox,
/external/angle/src/libANGLE/renderer/d3d/
DTextureD3D.cpp1182 gl::Box sourceBox(0, 0, 0, size.width, size.height, 1); in copyTexture() local
1192 sourceBox, internalFormatInfo.format, in copyTexture()
1207 ANGLE_TRY(mRenderer->copyImage(context, destImage, sourceImage, sourceBox, destOffset, in copyTexture()
1223 const gl::Box &sourceBox, in copySubTexture() argument
1240 sourceBox, internalFormatInfo.format, in copySubTexture()
1255 ANGLE_TRY(mRenderer->copyImage(context, destImage, sourceImage, sourceBox, destOffset, in copySubTexture()
1260 gl::Box destRegion(destOffset.x, destOffset.y, 0, sourceBox.width, sourceBox.height, 1); in copySubTexture()
1934 gl::Box sourceBox(0, 0, 0, size.width, size.height, 1); in copyTexture() local
1945 sourceBox, internalFormatInfo.format, in copyTexture()
1960 ANGLE_TRY(mRenderer->copyImage(context, destImage, sourceImage, sourceBox, destOffset, in copyTexture()
[all …]
DRendererD3D.h239 const gl::Box &sourceBox,
302 const gl::Box &sourceBox,
DTextureD3D.h287 const gl::Box &sourceBox,
419 const gl::Box &sourceBox,
552 const gl::Box &sourceBox,
682 const gl::Box &sourceBox,
/external/angle/src/libANGLE/renderer/metal/
DTextureMtl.mm1024 const gl::Box &sourceBox,
1032 return copySubTextureImpl(context, index, destOffset, currentFormat, sourceLevel, sourceBox,
2074 const gl::Box &sourceBox,
2081 ASSERT(sourceBox.depth == 1);
2100 mtl::kZeroNativeMipLevel, sourceBox, sourceAngleFormat,
2105 context, index, destOffset, internalFormat, mtl::kZeroNativeMipLevel, sourceBox,
2114 const gl::Box &sourceBox,
2138 gl::Rectangle(destOffset.x, destOffset.y, sourceBox.width, sourceBox.height);
2146 blitParams.srcRect = gl::Rectangle(sourceBox.x, sourceBox.y, sourceBox.width, sourceBox.height);
2162 const gl::Box &sourceBox,
[all …]
DTextureMtl.h97 const gl::Box &sourceBox,
257 const gl::Box &sourceBox,
268 const gl::Box &sourceBox,
280 const gl::Box &sourceBox,
/external/angle/src/libANGLE/renderer/
DTextureImpl.cpp37 const gl::Box &sourceBox, in copySubTexture() argument
DTextureImpl.h109 const gl::Box &sourceBox,
/external/angle/src/libANGLE/renderer/d3d/d3d9/
DRenderer9.cpp2507 const gl::Box &sourceBox, in copyTexture() argument
2519 rect.left = sourceBox.x; in copyTexture()
2520 rect.top = sourceBox.y; in copyTexture()
2521 rect.right = sourceBox.x + sourceBox.width; in copyTexture()
2522 rect.bottom = sourceBox.y + sourceBox.height; in copyTexture()
2859 const gl::Box &sourceBox, in copyImage() argument
2867 return Image9::CopyImage(context, dest9, src9, sourceBox.toRect(), destOffset, unpackFlipY, in copyImage()
DRenderer9.h211 const gl::Box &sourceBox,
273 const gl::Box &sourceBox,
/external/angle/src/libANGLE/renderer/null/
DTextureNULL.h81 const gl::Box &sourceBox,
DTextureNULL.cpp105 const gl::Box &sourceBox, in copySubTexture() argument
/external/angle/src/libANGLE/
DTexture.cpp1490 const Box &sourceBox, in copySubTexture() argument
1501 Box destBox(destOffset.x, destOffset.y, destOffset.z, sourceBox.width, sourceBox.height, in copySubTexture()
1502 sourceBox.depth); in copySubTexture()
1503 ImageIndex index = ImageIndex::MakeFromTarget(target, level, sourceBox.depth); in copySubTexture()
1506 ANGLE_TRY(mTexture->copySubTexture(context, index, destOffset, sourceLevel, sourceBox, in copySubTexture()
DTexture.h453 const Box &sourceBox,
/external/angle/src/libANGLE/renderer/gl/
DTextureGL.h127 const gl::Box &sourceBox,
DTextureGL.cpp912 const gl::Box &sourceBox, in copySubTexture() argument
921 return copySubTextureHelper(context, target, level, destOffset, sourceLevel, sourceBox.toRect(), in copySubTexture()