Home
last modified time | relevance | path

Searched refs:dataLayout (Results 1 – 20 of 20) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/dawn_native/
DQueue.cpp82 const TextureDataLayout& dataLayout, in UploadTextureDataAligningBytesPerRowAndOffset() argument
116 srcPointer += dataLayout.offset; in UploadTextureDataAligningBytesPerRowAndOffset()
118 uint32_t dataRowsPerImage = dataLayout.rowsPerImage; in UploadTextureDataAligningBytesPerRowAndOffset()
125 dataLayout.bytesPerRow * (dataRowsPerImage - alignedRowsPerImage); in UploadTextureDataAligningBytesPerRowAndOffset()
129 optimallyAlignedBytesPerRow, dataLayout.bytesPerRow); in UploadTextureDataAligningBytesPerRowAndOffset()
298 const TextureDataLayout* dataLayout, in APIWriteTexture() argument
301 WriteTextureInternal(destination, data, dataSize, *dataLayout, writeSize)); in APIWriteTexture()
307 const TextureDataLayout& dataLayout, in WriteTextureInternal() argument
309 DAWN_TRY(ValidateWriteTexture(destination, dataSize, dataLayout, writeSize)); in WriteTextureInternal()
317 TextureDataLayout layout = dataLayout; in WriteTextureInternal()
[all …]
DQueue.h54 const TextureDataLayout* dataLayout,
78 const TextureDataLayout& dataLayout,
93 const TextureDataLayout& dataLayout,
101 const TextureDataLayout& dataLayout,
/third_party/skia/third_party/externals/dawn/src/dawn_wire/client/
DQueue.cpp73 const WGPUTextureDataLayout* dataLayout, in WriteTexture() argument
80 cmd.dataLayout = dataLayout; in WriteTexture()
DQueue.h41 const WGPUTextureDataLayout* dataLayout,
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DUtilsVulkan.cpp115 VkBufferImageCopy ComputeBufferImageCopyRegion(const TextureDataLayout& dataLayout, in ComputeBufferImageCopyRegion() argument
122 region.bufferOffset = dataLayout.offset; in ComputeBufferImageCopyRegion()
126 ASSERT(dataLayout.bytesPerRow % blockInfo.byteSize == 0); in ComputeBufferImageCopyRegion()
127 region.bufferRowLength = dataLayout.bytesPerRow / blockInfo.byteSize * blockInfo.width; in ComputeBufferImageCopyRegion()
128 region.bufferImageHeight = dataLayout.rowsPerImage * blockInfo.height; in ComputeBufferImageCopyRegion()
DUtilsVulkan.h105 VkBufferImageCopy ComputeBufferImageCopyRegion(const TextureDataLayout& dataLayout,
DTextureVk.cpp1179 TextureDataLayout dataLayout; in ClearTexture() local
1180 dataLayout.offset = uploadHandle.startOffset; in ClearTexture()
1181 dataLayout.rowsPerImage = copySize.height / blockInfo.height; in ClearTexture()
1182 dataLayout.bytesPerRow = bytesPerRow; in ClearTexture()
1190 ComputeBufferImageCopyRegion(dataLayout, textureCopy, copySize)); in ClearTexture()
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DCommandBufferGL.cpp665 TextureDataLayout dataLayout; in Execute() local
666 dataLayout.offset = 0; in Execute()
667 dataLayout.bytesPerRow = src.bytesPerRow; in Execute()
668 dataLayout.rowsPerImage = src.rowsPerImage; in Execute()
670 DoTexSubImage(gl, dst, reinterpret_cast<void*>(src.offset), dataLayout, in Execute()
1360 const TextureDataLayout& dataLayout, in DoTexSubImage() argument
1367 data = static_cast<const uint8_t*>(data) + dataLayout.offset; in DoTexSubImage()
1387 if (dataLayout.bytesPerRow % blockInfo.byteSize == 0 && gl.GetVersion().IsDesktop()) { in DoTexSubImage()
1394 dataLayout.bytesPerRow / blockInfo.byteSize * blockInfo.width); in DoTexSubImage()
1406 dataLayout.rowsPerImage * blockInfo.height); in DoTexSubImage()
[all …]
DQueueGL.cpp57 const TextureDataLayout& dataLayout, in WriteTextureImpl() argument
76 DoTexSubImage(ToBackend(GetDevice())->gl, textureCopy, data, dataLayout, writeSizePixel); in WriteTextureImpl()
DTextureGL.cpp493 TextureDataLayout dataLayout; in ClearTexture() local
494 dataLayout.offset = 0; in ClearTexture()
495 dataLayout.bytesPerRow = bytesPerRow; in ClearTexture()
496 dataLayout.rowsPerImage = largestMipSize.height; in ClearTexture()
510 DoTexSubImage(ToBackend(GetDevice())->gl, textureCopy, 0, dataLayout, mipSize); in ClearTexture()
DCommandBufferGL.h45 const TextureDataLayout& dataLayout,
DQueueGL.h36 const TextureDataLayout& dataLayout,
/third_party/skia/third_party/externals/dawn/src/dawn_wire/server/
DServerQueue.cpp80 const WGPUTextureDataLayout* dataLayout, in DoQueueWriteTexture() argument
100 dataLayout, writeSize); in DoQueueWriteTexture()
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
DLLVMJIT.cpp137 …obals(llvm::orc::JITTargetMachineBuilder &&jitTargetMachineBuilder, llvm::DataLayout &&dataLayout);
142 const llvm::DataLayout dataLayout; member in __anon8d3323d50111::JITGlobals
201 auto dataLayout = jitTargetMachineBuilder.getDefaultDataLayoutForTarget(); in get() local
202 ASSERT_MSG(dataLayout, "JITTargetMachineBuilder::getDefaultDataLayoutForTarget() failed"); in get()
204 return JITGlobals(std::move(jitTargetMachineBuilder), std::move(dataLayout.get())); in get()
220 return dataLayout; in getDataLayout()
228 …lobals(llvm::orc::JITTargetMachineBuilder &&jitTargetMachineBuilder, llvm::DataLayout &&dataLayout) in JITGlobals() argument
230 , dataLayout(dataLayout) in JITGlobals()
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
Dbuilder_gfx_mem.cpp233 DataLayout dataLayout(JM()->mpCurrentModule); in TrackerHelper() local
234 size = (uint32_t)dataLayout.getTypeAllocSize(Ty); in TrackerHelper()
240 DataLayout dataLayout(JM()->mpCurrentModule); in TrackerHelper() local
241 size = (uint32_t)dataLayout.getTypeAllocSize(Ptr->getType()); in TrackerHelper()
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
DGPUQueue.cpp100 interop::GPUImageDataLayout dataLayout, in writeTexture() argument
109 !conv(layout, dataLayout) || // in writeTexture()
DGPUQueue.h45 interop::GPUImageDataLayout dataLayout,
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/
DDeviceMTL.mm419 const TextureDataLayout& dataLayout,
427 source->GetSize(), dataLayout.offset, dataLayout.bytesPerRow,
428 dataLayout.rowsPerImage, texture, dst->mipLevel, dst->origin,
DDeviceMTL.h68 const TextureDataLayout& dataLayout,
/third_party/flutter/skia/src/sksl/
DSkSLJIT.cpp1900 LLVMTargetDataRef dataLayout = LLVMCreateTargetDataLayout(targetMachine); in optimize() local
1901 LLVMSetModuleDataLayout(fModule, dataLayout); in optimize()
1902 LLVMDisposeTargetData(dataLayout); in optimize()