/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
H A D | TextureCopySplitter.cpp | 55 Extent3D copySize, in Compute2DTextureCopySubresource() 74 copy.copies[0].copySize = copySize; in Compute2DTextureCopySubresource() 76 copy.copies[0].bufferSize = copySize; in Compute2DTextureCopySubresource() 110 uint32_t copyBytesPerRowPitch = copySize.width / blockInfo.width * blockInfo.byteSize; in Compute2DTextureCopySubresource() 140 copy.copies[0].copySize = copySize; in Compute2DTextureCopySubresource() 143 copy.copies[0].bufferSize.width = copySize.width + texelOffset.x; in Compute2DTextureCopySubresource() 144 copy.copies[0].bufferSize.height = copySize.height + texelOffset.y; in Compute2DTextureCopySubresource() 145 copy.copies[0].bufferSize.depthOrArrayLayers = copySize in Compute2DTextureCopySubresource() 54 Compute2DTextureCopySubresource(Origin3D origin, Extent3D copySize, const TexelBlockInfo& blockInfo, uint64_t offset, uint32_t bytesPerRow) Compute2DTextureCopySubresource() argument [all...] |
H A D | UtilsD3D12.cpp | 103 D3D12_BOX ComputeD3D12BoxFromOffsetAndSize(const Origin3D& offset, const Extent3D& copySize) { in ComputeD3D12BoxFromOffsetAndSize() argument 108 sourceRegion.right = offset.x + copySize.width; in ComputeD3D12BoxFromOffsetAndSize() 109 sourceRegion.bottom = offset.y + copySize.height; in ComputeD3D12BoxFromOffsetAndSize() 110 sourceRegion.back = offset.z + copySize.depthOrArrayLayers; in ComputeD3D12BoxFromOffsetAndSize() 170 ComputeD3D12BoxFromOffsetAndSize(info.bufferOffset, info.copySize); in RecordCopyBufferToTextureFromTextureCopySplit() 184 const Extent3D& copySize, in CopyBufferTo2DTextureWithCopySplit() 191 textureCopy.origin, copySize, blockInfo, offset, bytesPerRow, rowsPerImage); in CopyBufferTo2DTextureWithCopySplit() 205 for (uint32_t copyLayer = 0; copyLayer < copySize.depthOrArrayLayers; ++copyLayer) { in CopyBufferTo2DTextureWithCopySplit() 229 const Extent3D& copySize, in CopyBufferTo3DTexture() 236 textureCopy.origin, copySize, blockInf in CopyBufferTo3DTexture() 178 CopyBufferTo2DTextureWithCopySplit(CommandRecordingContext* commandContext, const TextureCopy& textureCopy, ID3D12Resource* bufferResource, const uint64_t offset, const uint32_t bytesPerRow, const uint32_t rowsPerImage, const Extent3D& copySize, Texture* texture, Aspect aspect) CopyBufferTo2DTextureWithCopySplit() argument 223 CopyBufferTo3DTexture(CommandRecordingContext* commandContext, const TextureCopy& textureCopy, ID3D12Resource* bufferResource, const uint64_t offset, const uint32_t bytesPerRow, const uint32_t rowsPerImage, const Extent3D& copySize, Texture* texture, Aspect aspect) CopyBufferTo3DTexture() argument 243 RecordCopyBufferToTexture(CommandRecordingContext* commandContext, const TextureCopy& textureCopy, ID3D12Resource* bufferResource, const uint64_t offset, const uint32_t bytesPerRow, const uint32_t rowsPerImage, const Extent3D& copySize, Texture* texture, Aspect aspect) RecordCopyBufferToTexture() argument 297 Copy2DTextureToBufferWithCopySplit(ID3D12GraphicsCommandList* commandList, const TextureCopy& textureCopy, const BufferCopy& bufferCopy, Texture* texture, Buffer* buffer, const Extent3D& copySize) Copy2DTextureToBufferWithCopySplit() argument 341 Copy3DTextureToBuffer(ID3D12GraphicsCommandList* commandList, const TextureCopy& textureCopy, const BufferCopy& bufferCopy, Texture* texture, Buffer* buffer, const Extent3D& copySize) Copy3DTextureToBuffer() argument 361 RecordCopyTextureToBuffer(ID3D12GraphicsCommandList* commandList, const TextureCopy& textureCopy, const BufferCopy& bufferCopy, Texture* texture, Buffer* buffer, const Extent3D& copySize) RecordCopyTextureToBuffer() argument [all...] |
H A D | TextureCopySplitter.h | 39 Extent3D copySize; member 55 // 2D non-arrayed textures correctly, and just forwards "copySize.depthOrArrayLayers". See 77 Extent3D copySize, 83 Extent3D copySize, 90 Extent3D copySize,
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | CLKernel.cpp | 28 size_t copySize = 0u; in getInfo() local 34 copySize = mInfo.functionName.length() + 1u; in getInfo() 38 copySize = sizeof(mInfo.numArgs); in getInfo() 43 copySize = sizeof(valUInt); in getInfo() 48 copySize = sizeof(valPointer); in getInfo() 53 copySize = sizeof(valPointer); in getInfo() 57 copySize = mInfo.attributes.length() + 1u; in getInfo() 67 if (valueSize < copySize) in getInfo() 73 std::memcpy(value, copyValue, copySize); in getInfo() 78 *valueSizeRet = copySize; in getInfo() 105 size_t copySize = 0u; getWorkGroupInfo() local 165 size_t copySize = 0u; getArgInfo() local [all...] |
H A D | CLDevice.cpp | 42 size_t copySize = 0u; in getInfo() local 103 copySize = sizeof(valUInt); in getInfo() 123 copySize = sizeof(valULong); in getInfo() 136 copySize = sizeof(valSizeT); in getInfo() 146 result = mImpl->getInfoStringLength(name, ©Size); in getInfo() 151 valString.resize(copySize, '\0'); in getInfo() 152 result = mImpl->getInfoString(name, copySize, valString.data()); in getInfo() 159 copySize = sizeof(mInfo.type); in getInfo() 164 copySize = sizeof(valUInt); in getInfo() 168 copySize in getInfo() [all...] |
H A D | CLImage.cpp | 39 size_t copySize = 0u; in getInfo() local 45 copySize = sizeof(mFormat); in getInfo() 50 copySize = sizeof(valSizeT); in getInfo() 54 copySize = sizeof(mDesc.rowPitch); in getInfo() 58 copySize = sizeof(mDesc.slicePitch); in getInfo() 62 copySize = sizeof(mDesc.width); in getInfo() 66 copySize = sizeof(mDesc.height); in getInfo() 70 copySize = sizeof(mDesc.depth); in getInfo() 74 copySize = sizeof(mDesc.arraySize); in getInfo() 79 copySize in getInfo() [all...] |
H A D | CLSampler.cpp | 26 size_t copySize = 0u; in getInfo() local 33 copySize = sizeof(valUInt); in getInfo() 38 copySize = sizeof(valPointer); in getInfo() 42 copySize = sizeof(mNormalizedCoords); in getInfo() 47 copySize = sizeof(valUInt); in getInfo() 52 copySize = sizeof(valUInt); in getInfo() 56 copySize = mProperties.size() * sizeof(decltype(mProperties)::value_type); in getInfo() 66 if (valueSize < copySize) in getInfo() 72 std::memcpy(value, copyValue, copySize); in getInfo() 77 *valueSizeRet = copySize; in getInfo() [all...] |
H A D | CLMemory.cpp | 61 size_t copySize = 0u; in getInfo() local 68 copySize = sizeof(valUInt); in getInfo() 72 copySize = sizeof(mFlags); in getInfo() 76 copySize = sizeof(mSize); in getInfo() 80 copySize = sizeof(mHostPtr); in getInfo() 85 copySize = sizeof(valUInt); in getInfo() 90 copySize = sizeof(valUInt); in getInfo() 95 copySize = sizeof(valPointer); in getInfo() 100 copySize = sizeof(valPointer); in getInfo() 104 copySize in getInfo() [all...] |
H A D | CLEvent.cpp | 34 size_t copySize = 0u; in getInfo() local 41 copySize = sizeof(valPointer); in getInfo() 45 copySize = sizeof(mCommandType); in getInfo() 50 copySize = sizeof(valUInt); in getInfo() 60 copySize = sizeof(execStatus); in getInfo() 66 copySize = sizeof(valPointer); in getInfo() 76 if (valueSize < copySize) in getInfo() 82 std::memcpy(value, copyValue, copySize); in getInfo() 87 *valueSizeRet = copySize; in getInfo()
|
H A D | CLPlatform.cpp | 116 size_t copySize = 0u; in getInfo() local 122 copySize = mInfo.profile.length() + 1u; in getInfo() 126 copySize = mInfo.versionStr.length() + 1u; in getInfo() 130 copySize = sizeof(mInfo.version); in getInfo() 134 copySize = mInfo.name.length() + 1u; in getInfo() 138 copySize = sizeof(kVendor); in getInfo() 142 copySize = mInfo.extensions.length() + 1u; in getInfo() 146 copySize = mInfo.extensionsWithVersion.size() * in getInfo() 151 copySize = sizeof(mInfo.hostTimerRes); in getInfo() 155 copySize in getInfo() [all...] |
H A D | CLProgram.cpp | 79 size_t copySize = 0u; in getInfo() local 86 copySize = sizeof(valUInt); in getInfo() 91 copySize = sizeof(valPointer); in getInfo() 96 copySize = sizeof(valUInt); in getInfo() 105 copySize = devices.size() * sizeof(decltype(devices)::value_type); in getInfo() 109 copySize = mSource.length() + 1u; in getInfo() 113 copySize = mIL.length() + 1u; in getInfo() 130 if (valueSize < copySize) in getInfo() 136 std::memcpy(value, copyValue, copySize); in getInfo() 141 *valueSizeRet = copySize; in getInfo() [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A D | CommandValidation.cpp | 114 const Extent3D& copySize, in ComputeRequiredBytesInCopy() 117 ASSERT(copySize.width % blockInfo.width == 0); in ComputeRequiredBytesInCopy() 118 ASSERT(copySize.height % blockInfo.height == 0); in ComputeRequiredBytesInCopy() 119 uint32_t widthInBlocks = copySize.width / blockInfo.width; in ComputeRequiredBytesInCopy() 120 uint32_t heightInBlocks = copySize.height / blockInfo.height; in ComputeRequiredBytesInCopy() 123 if (copySize.depthOrArrayLayers == 0) { in ComputeRequiredBytesInCopy() 142 ASSERT(copySize.depthOrArrayLayers <= 1 || (bytesPerRow != wgpu::kCopyStrideUndefined && in ComputeRequiredBytesInCopy() 146 bytesPerImage > std::numeric_limits<uint64_t>::max() / copySize.depthOrArrayLayers, in ComputeRequiredBytesInCopy() 148 bytesPerImage, std::numeric_limits<uint64_t>::max() / copySize.depthOrArrayLayers, in ComputeRequiredBytesInCopy() 149 copySize in ComputeRequiredBytesInCopy() 113 ComputeRequiredBytesInCopy(const TexelBlockInfo& blockInfo, const Extent3D& copySize, uint32_t bytesPerRow, uint32_t rowsPerImage) ComputeRequiredBytesInCopy() argument 265 ValidateImageCopyTexture(DeviceBase const* device, const ImageCopyTexture& textureCopy, const Extent3D& copySize) ValidateImageCopyTexture() argument 297 ValidateTextureCopyRange(DeviceBase const* device, const ImageCopyTexture& textureCopy, const Extent3D& copySize) ValidateTextureCopyRange() argument 324 &textureCopy.origin, ©Size, texture, textureCopy.mipLevel, &mipSize); ValidateTextureCopyRange() local 392 ValidateTextureToTextureCopyCommonRestrictions(const ImageCopyTexture& src, const ImageCopyTexture& dst, const Extent3D& copySize) ValidateTextureToTextureCopyCommonRestrictions() argument 429 ValidateTextureToTextureCopyRestrictions(const ImageCopyTexture& src, const ImageCopyTexture& dst, const Extent3D& copySize) ValidateTextureToTextureCopyRestrictions() argument [all...] |
H A D | CopyTextureForBrowserHelper.cpp | 241 const Extent3D* copySize, in ValidateCopyTextureForBrowser() 246 DAWN_TRY_CONTEXT(ValidateImageCopyTexture(device, *source, *copySize), in ValidateCopyTextureForBrowser() 248 DAWN_TRY_CONTEXT(ValidateImageCopyTexture(device, *destination, *copySize), in ValidateCopyTextureForBrowser() 251 DAWN_TRY_CONTEXT(ValidateTextureCopyRange(device, *source, *copySize), in ValidateCopyTextureForBrowser() 253 DAWN_TRY_CONTEXT(ValidateTextureCopyRange(device, *destination, *copySize), in ValidateCopyTextureForBrowser() 256 DAWN_TRY(ValidateTextureToTextureCopyCommonRestrictions(*source, *destination, *copySize)); in ValidateCopyTextureForBrowser() 260 DAWN_INVALID_IF(copySize->depthOrArrayLayers > 1, in ValidateCopyTextureForBrowser() 261 "Copy is for more than one array layer (%u)", copySize->depthOrArrayLayers); in ValidateCopyTextureForBrowser() 287 const Extent3D* copySize, in DoCopyTextureForBrowser() 293 if (copySize in DoCopyTextureForBrowser() 238 ValidateCopyTextureForBrowser(DeviceBase* device, const ImageCopyTexture* source, const ImageCopyTexture* destination, const Extent3D* copySize, const CopyTextureForBrowserOptions* options) ValidateCopyTextureForBrowser() argument 284 DoCopyTextureForBrowser(DeviceBase* device, const ImageCopyTexture* source, const ImageCopyTexture* destination, const Extent3D* copySize, const CopyTextureForBrowserOptions* options) DoCopyTextureForBrowser() argument [all...] |
H A D | CommandBuffer.cpp | 75 const Extent3D copySize, in IsCompleteSubresourceCopiedTo() 82 return extent.width == copySize.width && extent.height == copySize.height; in IsCompleteSubresourceCopiedTo() 84 return extent.width == copySize.width && extent.height == copySize.height && in IsCompleteSubresourceCopiedTo() 85 extent.depthOrArrayLayers == copySize.depthOrArrayLayers; in IsCompleteSubresourceCopiedTo() 92 const Extent3D& copySize) { in GetSubresourcesAffectedByCopy() 96 copy.aspect, {copy.origin.z, copySize.depthOrArrayLayers}, {copy.mipLevel, 1}}; in GetSubresourcesAffectedByCopy() 190 const uint64_t widthInBlocks = copy->copySize.width / blockInfo.width; in IsFullBufferOverwrittenInTextureToBufferCopy() 191 const uint64_t heightInBlocks = copy->copySize in IsFullBufferOverwrittenInTextureToBufferCopy() 74 IsCompleteSubresourceCopiedTo(const TextureBase* texture, const Extent3D copySize, const uint32_t mipLevel) IsCompleteSubresourceCopiedTo() argument 91 GetSubresourcesAffectedByCopy(const TextureCopy& copy, const Extent3D& copySize) GetSubresourcesAffectedByCopy() argument [all...] |
H A D | CommandEncoder.h | 52 const Extent3D* copySize); 55 const Extent3D* copySize); 58 const Extent3D* copySize); 61 const Extent3D* copySize); 93 const Extent3D* copySize);
|
H A D | CommandValidation.h | 40 const Extent3D& copySize, 53 const Extent3D& copySize); 61 const Extent3D& copySize); 71 const Extent3D& copySize); 74 const Extent3D& copySize);
|
H A D | CommandEncoder.cpp | 695 const Extent3D* copySize) { in APICopyBufferToTexture() 704 DAWN_TRY(ValidateImageCopyTexture(GetDevice(), *destination, *copySize)); in APICopyBufferToTexture() 715 DAWN_TRY(ValidateTextureCopyRange(GetDevice(), *destination, *copySize)); in APICopyBufferToTexture() 724 blockInfo, *copySize)); in APICopyBufferToTexture() 731 ApplyDefaultTextureDataLayoutOptions(&srcLayout, blockInfo, *copySize); in APICopyBufferToTexture() 744 copy->copySize = *copySize; in APICopyBufferToTexture() 749 destination->texture, copySize); in APICopyBufferToTexture() 754 const Extent3D* copySize) { in APICopyTextureToBuffer() 759 DAWN_TRY(ValidateImageCopyTexture(GetDevice(), *source, *copySize)); in APICopyTextureToBuffer() 693 APICopyBufferToTexture(const ImageCopyBuffer* source, const ImageCopyTexture* destination, const Extent3D* copySize) APICopyBufferToTexture() argument 752 APICopyTextureToBuffer(const ImageCopyTexture* source, const ImageCopyBuffer* destination, const Extent3D* copySize) APICopyTextureToBuffer() argument 810 APICopyTextureToTexture(const ImageCopyTexture* source, const ImageCopyTexture* destination, const Extent3D* copySize) APICopyTextureToTexture() argument 816 APICopyTextureToTextureInternal(const ImageCopyTexture* source, const ImageCopyTexture* destination, const Extent3D* copySize) APICopyTextureToTextureInternal() argument 823 APICopyTextureToTextureHelper(const ImageCopyTexture* source, const ImageCopyTexture* destination, const Extent3D* copySize) APICopyTextureToTextureHelper() argument [all...] |
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
H A D | Texture3DTests.cpp | 62 wgpu::Extent3D copySize = {kRTSize, kRTSize, kRTSize}; in TEST_P() local 68 descriptor.size = copySize; in TEST_P() 74 uint32_t bytesPerRow = utils::GetMinimumBytesPerRow(kFormat, copySize.width); in TEST_P() 76 utils::RequiredBytesInCopy(bytesPerRow, copySize.height, copySize, kFormat); in TEST_P() 80 for (uint32_t z = 0; z < copySize.depthOrArrayLayers; ++z) { in TEST_P() 81 for (uint32_t y = 0; y < copySize.height; ++y) { in TEST_P() 82 for (uint32_t x = 0; x < copySize.width; ++x) { in TEST_P() 83 uint32_t i = (z * copySize.height + y) * bytesPerRow / bytesPerTexel + x; in TEST_P() 94 utils::CreateImageCopyBuffer(buffer, 0, bytesPerRow, copySize in TEST_P() [all...] |
H A D | CopyTextureForBrowserTests.cpp | 46 std::ostream& operator<<(std::ostream& o, wgpu::Extent3D copySize) { in operator <<() argument 47 o << copySize.width << ", " << copySize.height << ", " << copySize.depthOrArrayLayers; in operator <<() 157 copySize : vec2<u32>; in MakeTestPipeline() 181 dstTexCoord.x >= uniforms.dstCopyOrigin.x + uniforms.copySize.x || in MakeTestPipeline() 182 dstTexCoord.y >= uniforms.dstCopyOrigin.y + uniforms.copySize.y) { in MakeTestPipeline() 323 const wgpu::Extent3D& copySize, in RunCopyExternalImageToTexture() 330 ©Size, &options); in RunCopyExternalImageToTexture() 337 const wgpu::Extent3D& copySize, in CheckResultInBuiltInComputePipeline() 319 RunCopyExternalImageToTexture(const TextureSpec& srcSpec, wgpu::Texture srcTexture, const TextureSpec& dstSpec, wgpu::Texture dstTexture, const wgpu::Extent3D& copySize, const wgpu::CopyTextureForBrowserOptions options) RunCopyExternalImageToTexture() argument 333 CheckResultInBuiltInComputePipeline(const TextureSpec& srcSpec, wgpu::Texture srcTexture, const TextureSpec& dstSpec, wgpu::Texture dstTexture, const wgpu::Extent3D& copySize, const wgpu::CopyTextureForBrowserOptions options) CheckResultInBuiltInComputePipeline() argument 465 DoBasicCopyTest(const wgpu::Extent3D& copySize, const wgpu::CopyTextureForBrowserOptions options = {}) DoBasicCopyTest() argument 489 wgpu::Extent3D copySize = {kDefaultTextureWidth, kDefaultTextureHeight}; DoColorConversionTest() local 558 wgpu::Extent3D copySize = GetParam().mCopySize; DoCopySubRectTest() local [all...] |
/third_party/skia/third_party/externals/dawn/src/tests/unittests/d3d12/ |
H A D | CopySplitTests.cpp | 55 ASSERT_LE(copy.bufferOffset.x + copy.copySize.width, copy.bufferSize.width); in ValidateFootprints() 56 ASSERT_LE(copy.bufferOffset.y + copy.copySize.height, copy.bufferSize.height); in ValidateFootprints() 57 ASSERT_LE(copy.bufferOffset.z + copy.copySize.depthOrArrayLayers, in ValidateFootprints() 65 // "copySize.depthOrArrayLayers" to the copy region it generated. So skip the test in ValidateFootprints() 78 // and copySize. It is not the last pixel where the bufferSize ends. in ValidateFootprints() 80 ASSERT_EQ(copy.copySize.width % textureSpec.blockWidth, 0u); in ValidateFootprints() 81 uint32_t footprintWidth = copy.bufferOffset.x + copy.copySize.width; in ValidateFootprints() 86 ASSERT_EQ(copy.copySize.height % textureSpec.blockHeight, 0u); in ValidateFootprints() 87 uint32_t footprintHeight = copy.bufferOffset.y + copy.copySize.height; in ValidateFootprints() 124 // If textureOffset.x is 0, and copySize in ValidateDisjoint() [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/ |
H A D | CommandBufferGL.cpp | 456 const Extent3D& copySize) { in ComputeTextureCopyExtent() 457 Extent3D validTextureCopyExtent = copySize; in ComputeTextureCopyExtent() 462 if (copySize.width > virtualSizeAtLevel.width - textureCopy.origin.x) { in ComputeTextureCopyExtent() 466 if (copySize.height > virtualSizeAtLevel.height - textureCopy.origin.y) { in ComputeTextureCopyExtent() 477 const Extent3D& copySize) { in CopyTextureToTextureWithBlit() 501 for (uint32_t layer = 0; layer < copySize.depthOrArrayLayers; ++layer) { in CopyTextureToTextureWithBlit() 544 gl.BlitFramebuffer(src.origin.x, src.origin.y, src.origin.x + copySize.width, in CopyTextureToTextureWithBlit() 545 src.origin.y + copySize.height, dst.origin.x, dst.origin.y, in CopyTextureToTextureWithBlit() 546 dst.origin.x + copySize.width, dst.origin.y + copySize in CopyTextureToTextureWithBlit() 455 ComputeTextureCopyExtent(const TextureCopy& textureCopy, const Extent3D& copySize) ComputeTextureCopyExtent() argument 474 CopyTextureToTextureWithBlit(const OpenGLFunctions& gl, const TextureCopy& src, const TextureCopy& dst, const Extent3D& copySize) CopyTextureToTextureWithBlit() argument 685 auto& copySize = copy->copySize; Execute() local 802 Extent3D copySize = ComputeTextureCopyExtent(dst, copy->copySize); Execute() local 1357 DoTexSubImage(const OpenGLFunctions& gl, const TextureCopy& destination, const void* data, const TextureDataLayout& dataLayout, const Extent3D& copySize) DoTexSubImage() argument [all...] |
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
H A D | VideoViewsValidationTests.cpp | 130 wgpu::Extent3D copySize = {1, 1, 1}; in TEST_F() local 133 encoder.CopyTextureToTexture(©Src, ©Dst, ©Size); in TEST_F() 151 wgpu::Extent3D copySize = {1, 1, 1}; in TEST_F() local 155 encoder.CopyTextureToTexture(©Src, ©Dst, ©Size); in TEST_F() 164 encoder.CopyTextureToTexture(©Src, ©Dst, ©Size); in TEST_F() 183 wgpu::Extent3D copySize = {1, 1, 1}; in TEST_F() local 186 encoder.CopyTextureToBuffer(©Src, ©Dst, ©Size); in TEST_F() 205 wgpu::Extent3D copySize = {1, 1, 1}; in TEST_F() local 209 encoder.CopyTextureToBuffer(©Src, ©Dst, ©Size); in TEST_F() 218 encoder.CopyTextureToBuffer(©Src, ©Dst, ©Size); in TEST_F() 237 wgpu::Extent3D copySize = {1, 1, 1}; TEST_F() local 259 wgpu::Extent3D copySize = {1, 1, 1}; TEST_F() local [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
H A D | UtilsVulkan.cpp | 87 Extent3D ComputeTextureCopyExtent(const TextureCopy& textureCopy, const Extent3D& copySize) { in ComputeTextureCopyExtent() argument 88 Extent3D validTextureCopyExtent = copySize; in ComputeTextureCopyExtent() 93 if (copySize.width > virtualSizeAtLevel.width - textureCopy.origin.x) { in ComputeTextureCopyExtent() 97 if (copySize.height > virtualSizeAtLevel.height - textureCopy.origin.y) { in ComputeTextureCopyExtent() 107 const Extent3D& copySize) { in ComputeBufferImageCopyRegion() 112 return ComputeBufferImageCopyRegion(passDataLayout, textureCopy, copySize); in ComputeBufferImageCopyRegion() 117 const Extent3D& copySize) { in ComputeBufferImageCopyRegion() 140 region.imageSubresource.layerCount = copySize.depthOrArrayLayers; in ComputeBufferImageCopyRegion() 142 Extent3D imageExtent = ComputeTextureCopyExtent(textureCopy, copySize); in ComputeBufferImageCopyRegion() 157 Extent3D imageExtent = ComputeTextureCopyExtent(textureCopy, copySize); in ComputeBufferImageCopyRegion() 105 ComputeBufferImageCopyRegion(const BufferCopy& bufferCopy, const TextureCopy& textureCopy, const Extent3D& copySize) ComputeBufferImageCopyRegion() argument 115 ComputeBufferImageCopyRegion(const TextureDataLayout& dataLayout, const TextureCopy& textureCopy, const Extent3D& copySize) ComputeBufferImageCopyRegion() argument [all...] |
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fBufferCopyTests.cpp | 61 int copySize, in BasicBufferCopyCase() 72 , m_copySize (copySize) in BasicBufferCopyCase() 184 int copySize; in iterate() member 197 int copySize = copyRanges[ndx].copySize; in iterate() local 207 deMemcpy(ref.getPtr()+dstOffset, ref.getPtr()+srcOffset, copySize); in iterate() 210 glCopyBufferSubData(m_srcTarget, m_dstTarget, srcOffset, dstOffset, copySize); in iterate() 289 int copySize; in init() member 292 // srcSize dstSize srcOffs dstOffs copySize in init() 312 cases[ndx].srcOffset, cases[ndx].dstOffset, cases[ndx].copySize, in init() 50 BasicBufferCopyCase(Context& context, const char* name, const char* desc, deUint32 srcTarget, int srcSize, deUint32 srcHint, deUint32 dstTarget, int dstSize, deUint32 dstHint, int copySrcOffset, int copyDstOffset, int copySize, VerifyType verifyType) BasicBufferCopyCase() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
H A D | VkImage.cpp | 478 size_t copySize = copyExtent.width * bytesPerBlock; in copySingleAspectTo() local 479 ASSERT((srcLayer + copySize) < end()); in copySingleAspectTo() 480 ASSERT((dstLayer + copySize) < dstImage->end()); in copySingleAspectTo() 481 memcpy(dstLayer, srcLayer, copySize); in copySingleAspectTo() 485 size_t copySize = copyExtent.height * srcRowPitch; in copySingleAspectTo() local 486 ASSERT((srcLayer + copySize) < end()); in copySingleAspectTo() 487 ASSERT((dstLayer + copySize) < dstImage->end()); in copySingleAspectTo() 488 memcpy(dstLayer, srcLayer, copySize); in copySingleAspectTo() 492 size_t copySize = sliceCount * srcDepthPitch; in copySingleAspectTo() local 493 ASSERT((srcLayer + copySize) < en in copySingleAspectTo() 600 VkDeviceSize copySize = 0; copy() local [all...] |