Home
last modified time | relevance | path

Searched refs:hostPtr (Results 1 – 24 of 24) sorted by relevance

/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkMemUtil.cpp96 Allocation::Allocation (VkDeviceMemory memory, VkDeviceSize offset, void* hostPtr) in Allocation() argument
99 , m_hostPtr (hostPtr) in Allocation()
180 SimpleAllocation (Move<VkDeviceMemory> mem, MovePtr<HostPtr> hostPtr);
188 SimpleAllocation::SimpleAllocation (Move<VkDeviceMemory> mem, MovePtr<HostPtr> hostPtr) in SimpleAllocation() argument
189 : Allocation (*mem, (VkDeviceSize)0, hostPtr ? hostPtr->get() : DE_NULL) in SimpleAllocation()
191 , m_hostPtr (hostPtr) in SimpleAllocation()
211 MovePtr<HostPtr> hostPtr; in allocate() local
214 hostPtr = MovePtr<HostPtr>(new HostPtr(m_vk, m_device, *mem, 0u, allocInfo.allocationSize, 0u)); in allocate()
216 return MovePtr<Allocation>(new SimpleAllocation(mem, hostPtr)); in allocate()
245 MovePtr<HostPtr> hostPtr; in allocate() local
[all …]
DvkMemUtil.hpp69 Allocation (VkDeviceMemory memory, VkDeviceSize offset, void* hostPtr);
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DCLMemory.cpp157 void *hostPtr, in Memory() argument
162 mHostPtr(flags.isSet(CL_MEM_USE_HOST_PTR) ? hostPtr : nullptr), in Memory()
163 mImpl(context.getImpl().createBuffer(buffer, size, hostPtr, errorCode)), in Memory()
192 void *hostPtr, in Memory() argument
197 mHostPtr(flags.isSet(CL_MEM_USE_HOST_PTR) ? hostPtr : nullptr), in Memory()
199 mImpl(context.getImpl().createImage(image, flags, format, desc, hostPtr, errorCode)), in Memory()
DCLContext.cpp121 void *hostPtr, in createBuffer() argument
124 return Object::Create<Buffer>(errorCode, *this, Memory::PropArray{}, flags, size, hostPtr); in createBuffer()
131 void *hostPtr, in createImage() argument
144 Memory::Cast(desc->buffer), hostPtr); in createImage()
152 void *hostPtr, in createImage2D() argument
158 nullptr, hostPtr); in createImage2D()
168 void *hostPtr, in createImage3D() argument
174 nullptr, hostPtr); in createImage3D()
DCLContext.h39 void *hostPtr,
46 void *hostPtr,
54 void *hostPtr,
64 void *hostPtr,
DCLBuffer.cpp28 void *hostPtr, in Buffer() argument
30 : Memory(*this, context, std::move(properties), flags, size, hostPtr, errorCode) in Buffer()
DCLMemory.h61 void *hostPtr,
78 void *hostPtr,
DCLImage.cpp145 void *hostPtr, in Image() argument
154 hostPtr, in Image()
DCLBuffer.h43 void *hostPtr,
DCLImage.h49 void *hostPtr,
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/cl/
DCLContextCL.cpp111 void *hostPtr, in createBuffer() argument
118 hostPtr, &errorCode); in createBuffer()
123 mNative, buffer.getProperties().data(), buffer.getFlags().get(), size, hostPtr, in createBuffer()
134 void *hostPtr, in createImage() argument
151 &nativeDesc, hostPtr, &errorCode); in createImage()
156 mNative, image.getProperties().data(), flags.get(), &format, &nativeDesc, hostPtr, in createImage()
166 mNative, flags.get(), &format, desc.width, desc.height, desc.rowPitch, hostPtr, in createImage()
172 desc.rowPitch, desc.slicePitch, hostPtr, &errorCode); in createImage()
DCLContextCL.h40 void *hostPtr,
47 void *hostPtr,
/third_party/grpc/src/csharp/Grpc.Core/Internal/
DRequestCallContextSafeHandle.cs72 IntPtr hostPtr = Native.grpcsharp_request_call_context_host(this, out hostLen); in GetServerRpcNew()
73 var host = Marshal.PtrToStringAnsi(hostPtr, (int) hostLen.ToUInt32()); in GetServerRpcNew()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
DCLContextImpl.h35 void *hostPtr,
42 void *hostPtr,
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/
DvktMemoryBindingTests.cpp74 , hostPtr (DE_NULL) in MemoryMappingRAII()
77 vk.mapMemory(dev, memory, offset, size, flags, &hostPtr); in MemoryMappingRAII()
83 hostPtr = DE_NULL; in ~MemoryMappingRAII()
88 return hostPtr; in ptr()
108 void* hostPtr; member in vkt::memory::__anone518f2240111::MemoryMappingRAII
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmComputeShaderCase.cpp163 void* const hostPtr = destAlloc->getHostPtr(); in setMemory() local
165 deMemcpy((deUint8*)hostPtr, data, numBytes); in setMemory()
173 void* const hostPtr = destAlloc->getHostPtr(); in fillMemoryWithValue() local
175 deMemset((deUint8*)hostPtr, value, numBytes); in fillMemoryWithValue()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiBufferMarkerTests.cpp105 …eDeviceWithExtension (Context& context, WorkingDevice& wd, VkQueueFlagBits testQueue, bool hostPtr) in createDeviceWithExtension() argument
143 if (hostPtr) in createDeviceWithExtension()
224 …nalHostAllocation(Move<VkDeviceMemory> mem, void* hostPtr) : Allocation(*mem, (VkDeviceSize)0, hos… in ExternalHostAllocation() argument
DvktApiCommandBuffersTests.cpp4412 void* hostPtr = alloc.getHostPtr(); in copyAndFlush() local
4414 deMemcpy(hostPtr, vertices.data(), de::dataSize(vertices)); in copyAndFlush()
/third_party/vk-gl-cts/external/openglcts/modules/common/subgroups/
DglcSubgroupsTestsUtils.cpp963 void initializeMemory(deqp::Context& context, glw::GLvoid *hostPtr, subgroups::SSBOData& data) in initializeMemory() argument
982 deUint32* ptr = reinterpret_cast<deUint32*>(hostPtr); in initializeMemory()
1000 deUint32* ptr = reinterpret_cast<deUint32*>(hostPtr); in initializeMemory()
1013 float* ptr = reinterpret_cast<float*>(hostPtr); in initializeMemory()
1026 double* ptr = reinterpret_cast<double*>(hostPtr); in initializeMemory()
1038 deUint32* ptr = reinterpret_cast<deUint32*>(hostPtr); in initializeMemory()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/util/
DvktExternalMemoryUtil.hpp60 void setHostPtr (void* hostPtr);
DvktExternalMemoryUtil.cpp240 void NativeHandle::setHostPtr(void* hostPtr) in setHostPtr() argument
244 m_hostPtr = hostPtr; in setHostPtr()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineBindPointTests.cpp299 void* hostPtr = alloc.getHostPtr(); in zeroOutAndFlush() local
301 deMemset(hostPtr, 0, static_cast<size_t>(bufferSize)); in zeroOutAndFlush()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/
DvktBindingDescriptorCopyTests.cpp599 deUint32* hostPtr = (deUint32*)m_buffer->getAllocation().getHostPtr(); in init() local
616 hostPtr[(256 / 4) * (m_numDynamicAreas * arrayIdx + dynamicAreaIdx)] = bufferValue.uintValue; in init()
658 deInt32* hostPtr = (deInt32*)m_buffer->getAllocation().getHostPtr(); in getData() local
661 data.push_back(hostPtr[i]); in getData()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/descriptor_indexing/
DvktDescriptorSetsIndexingTests.cpp1110 unsigned char* hostPtr = static_cast<unsigned char*>(buffer->alloc->getHostPtr()); in getPixelAccess() local
1111 unsigned char* data = hostPtr + bufferInfos[imageIndex].offset + mipOffset; in getPixelAccess()