Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DTextureVk.cpp614 gl::Box sourceBox(gl::kOffsetZero, srcImageDesc.size); in copyTexture() local
622 gl::LevelIndex(sourceLevelGL), sourceBox, unpackFlipY, in copyTexture()
630 const gl::Box &sourceBox, in copySubTexture() argument
641 gl::LevelIndex(srcLevelGL), sourceBox, unpackFlipY, in copySubTexture()
831 const gl::Box &sourceBox, in copySubTextureImpl() argument
857 sourceLevelGL, sourceBox.z, sourceBox, in copySubTextureImpl()
871 contextVk, offsetImageIndex, dstOffset, dstVkFormat, sourceLevelGL, sourceBox, false, in copySubTextureImpl()
882 contextVk, sourceLevelGL, sourceBox.depth, sourceBox, in copySubTextureImpl()
889 sourceBox.width * sourceBox.height * sourceBox.depth * dstTextureFormat.pixelBytes; in copySubTextureImpl()
894 uint32_t stagingLayerCount = sourceBox.depth; in copySubTextureImpl()
[all …]
DTextureVk.h97 const gl::Box &sourceBox,
400 const gl::Box &sourceBox,
412 const gl::Box &sourceBox,
420 const gl::Box &sourceBox,
/third_party/skia/third_party/externals/angle2/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.cpp2643 const gl::Box &sourceBox, in copyTexture() argument
2683 D3D11_BOX d3dBox{static_cast<UINT>(sourceBox.x), in copyTexture()
2684 static_cast<UINT>(sourceBox.y), in copyTexture()
2685 static_cast<UINT>(sourceBox.z), in copyTexture()
2686 static_cast<UINT>(sourceBox.x + sourceBox.width), in copyTexture()
2687 static_cast<UINT>(sourceBox.y + sourceBox.height), in copyTexture()
2688 static_cast<UINT>(sourceBox.z + sourceBox.depth)}; in copyTexture()
2696 D3D11_BOX d3dBox{static_cast<UINT>(sourceBox.x), in copyTexture()
2697 static_cast<UINT>(sourceBox.y), in copyTexture()
2699 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,
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DTextureD3D.cpp1188 gl::Box sourceBox(0, 0, 0, size.width, size.height, 1); in copyTexture() local
1198 sourceBox, internalFormatInfo.format, in copyTexture()
1213 ANGLE_TRY(mRenderer->copyImage(context, destImage, sourceImage, sourceBox, destOffset, in copyTexture()
1229 const gl::Box &sourceBox, in copySubTexture() argument
1246 sourceBox, internalFormatInfo.format, in copySubTexture()
1261 ANGLE_TRY(mRenderer->copyImage(context, destImage, sourceImage, sourceBox, destOffset, in copySubTexture()
1266 gl::Box destRegion(destOffset.x, destOffset.y, 0, sourceBox.width, sourceBox.height, 1); in copySubTexture()
1939 gl::Box sourceBox(0, 0, 0, size.width, size.height, 1); in copyTexture() local
1950 sourceBox, internalFormatInfo.format, in copyTexture()
1965 ANGLE_TRY(mRenderer->copyImage(context, destImage, sourceImage, sourceBox, destOffset, in copyTexture()
[all …]
DRendererD3D.h239 const gl::Box &sourceBox,
302 const gl::Box &sourceBox,
DTextureD3D.h290 const gl::Box &sourceBox,
422 const gl::Box &sourceBox,
555 const gl::Box &sourceBox,
685 const gl::Box &sourceBox,
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
DTextureMtl.h97 const gl::Box &sourceBox,
258 const gl::Box &sourceBox,
269 const gl::Box &sourceBox,
281 const gl::Box &sourceBox,
DTextureMtl.mm1171 const gl::Box &sourceBox,
1179 return copySubTextureImpl(context, index, destOffset, currentFormat, sourceLevel, sourceBox,
2224 const gl::Box &sourceBox,
2231 ASSERT(sourceBox.depth == 1);
2250 mtl::kZeroNativeMipLevel, sourceBox, sourceAngleFormat,
2255 context, index, destOffset, internalFormat, mtl::kZeroNativeMipLevel, sourceBox,
2264 const gl::Box &sourceBox,
2288 gl::Rectangle(destOffset.x, destOffset.y, sourceBox.width, sourceBox.height);
2297 mtl::NormalizedCoords(sourceBox.toRect(), sourceTexture->size(sourceNativeLevel));
2313 const gl::Box &sourceBox,
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
DTextureImpl.cpp37 const gl::Box &sourceBox, in copySubTexture() argument
DTextureImpl.h106 const gl::Box &sourceBox,
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DRenderer9.cpp2512 const gl::Box &sourceBox, in copyTexture() argument
2524 rect.left = sourceBox.x; in copyTexture()
2525 rect.top = sourceBox.y; in copyTexture()
2526 rect.right = sourceBox.x + sourceBox.width; in copyTexture()
2527 rect.bottom = sourceBox.y + sourceBox.height; in copyTexture()
2864 const gl::Box &sourceBox, in copyImage() argument
2872 return Image9::CopyImage(context, dest9, src9, sourceBox.toRect(), destOffset, unpackFlipY, in copyImage()
DRenderer9.h211 const gl::Box &sourceBox,
273 const gl::Box &sourceBox,
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/null/
DTextureNULL.h81 const gl::Box &sourceBox,
DTextureNULL.cpp105 const gl::Box &sourceBox, in copySubTexture() argument
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DTexture.cpp1516 const Box &sourceBox, in copySubTexture() argument
1527 Box destBox(destOffset.x, destOffset.y, destOffset.z, sourceBox.width, sourceBox.height, in copySubTexture()
1528 sourceBox.depth); in copySubTexture()
1529 ImageIndex index = ImageIndex::MakeFromTarget(target, level, sourceBox.depth); in copySubTexture()
1532 ANGLE_TRY(mTexture->copySubTexture(context, index, destOffset, sourceLevel, sourceBox, in copySubTexture()
DTexture.h462 const Box &sourceBox,
/third_party/skia/third_party/externals/angle2/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()