/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/mesh_shader/ |
H A D | vktMeshShaderApiTests.cpp | 353 BufferWithMemoryPtr makeStridedBuffer(const DeviceInterface& vkd, VkDevice device, Allocator& alloc, const std::vector<T>& elements, uint32_t offset, uint32_t stride, VkBufferUsageFlags usage, uint32_t endPadding) in makeStridedBuffer() argument 360 BufferWithMemoryPtr buffer(new BufferWithMemory(vkd, device, alloc, bufferInfo, MemoryRequirement::HostVisible)); in makeStridedBuffer() 373 flushAlloc(vkd, device, bufferAlloc); in makeStridedBuffer() 386 const auto device = m_context.getDevice(); in iterate() local 423 colorBuffer = ImageWithMemoryPtr(new ImageWithMemory(vkd, device, alloc, colorBufferInfo, MemoryRequirement::Any)); in iterate() 424 colorBufferView = makeImageView(vkd, device, colorBuffer->get(), VK_IMAGE_VIEW_TYPE_2D, format, colorSRR); in iterate() 446 BufferWithMemoryPtr blockSizesBuffer = makeStridedBuffer(vkd, device, alloc, blockSizes, 0u, 0u, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT, 0u); in iterate() 451 const auto setLayout = layoutBuilder.build(vkd, device); in iterate() 455 const auto descriptorPool = poolBuilder.build(vkd, device, VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, 1u); in iterate() 457 const auto descriptorSet = makeDescriptorSet(vkd, device, descriptorPoo in iterate() [all...] |
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
H A D | DrawIndexedIndirectTests.cpp | 28 renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); 30 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, R"( 36 wgpu::ShaderModule fsModule = utils::CreateShaderModule(device, R"( 52 pipeline = device.CreateRenderPipeline(&descriptor); 55 device, wgpu::BufferUsage::Vertex, 71 device, wgpu::BufferUsage::Indirect | wgpu::BufferUsage::Storage, indirectParamList); in CreateIndirectBuffer() 75 return utils::CreateBufferFromData<uint32_t>(device, wgpu::BufferUsage::Index, indexList); in CreateIndexBuffer() 84 wgpu::CommandEncoder encoder = device.CreateCommandEncoder(); in EncodeDrawCommands() 280 wgpu::CommandEncoder encoder = device.CreateCommandEncoder(); in TEST_P() 302 encoder = device in TEST_P() [all...] |
H A D | ViewportOrientationTests.cpp | 24 utils::BasicRenderPass renderPass = utils::CreateBasicRenderPass(device, 2, 2); in TEST_P() 26 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, R"( in TEST_P() 31 wgpu::ShaderModule fsModule = utils::CreateShaderModule(device, R"( in TEST_P() 42 wgpu::RenderPipeline pipeline = device.CreateRenderPipeline(&descriptor); in TEST_P() 44 wgpu::CommandEncoder encoder = device.CreateCommandEncoder(); in TEST_P()
|
H A D | VertexStateTests.cpp | 43 renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); 139 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, vs.str().c_str()); in MakeTestPipeline() 140 wgpu::ShaderModule fsModule = utils::CreateShaderModule(device, R"( in MakeTestPipeline() 154 return device.CreateRenderPipeline(&descriptor); in MakeTestPipeline() 196 return utils::CreateBufferFromData(device, data.data(), in MakeVertexBuffer() 212 wgpu::CommandEncoder encoder = device.CreateCommandEncoder(); in DoTestDraw() 467 wgpu::CommandEncoder encoder = device.CreateCommandEncoder(); in TEST_P() 516 wgpu::CommandEncoder encoder = device.CreateCommandEncoder(); in TEST_P() 561 utils::BasicRenderPass renderPass = utils::CreateBasicRenderPass(device, 3, 3); in TEST_P() 584 utils::CreateBufferFromData(device, in TEST_P() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/rasterization/ |
H A D | vktRasterizationFragShaderSideEffectsTests.cpp | 285 const auto device = m_context.getDevice(); in iterate() local 310 vk::ImageWithMemory colorImage(vkd, device, alloc, colorCreateInfo, vk::MemoryRequirement::Any); in iterate() 350 depthStencilImage.reset(new vk::ImageWithMemory(vkd, device, alloc, depthStencilCreateInfo, vk::MemoryRequirement::Any)); in iterate() 355 const auto colorImageView = vk::makeImageView(vkd, device, colorImage.get(), vk::VK_IMAGE_VIEW_TYPE_2D, kColorFormat, colorSubresourceRange); in iterate() 361 depthStencilImageView = vk::makeImageView(vkd, device, depthStencilImage.get()->get(), vk::VK_IMAGE_VIEW_TYPE_2D, depthStencilFormat, depthStencilSubresourceRange); in iterate() 368 vk::BufferWithMemory colorImageBuffer(vkd, device, alloc, colorImageBufferInfo, vk::MemoryRequirement::HostVisible); in iterate() 384 vk::BufferWithMemory vertexBuffer (vkd, device, alloc, vertexBufferInfo, vk::MemoryRequirement::HostVisible); in iterate() 388 vk::flushAlloc(vkd, device, vertexBufferAlloc); in iterate() 393 vk::BufferWithMemory storageBuffer (vkd, device, alloc, storageBufferInfo, vk::MemoryRequirement::HostVisible); in iterate() 397 vk::flushAlloc(vkd, device, storageBufferAllo in iterate() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/ |
H A D | vktRenderPassSparseRenderTargetTests.cpp | 68 VkDevice device, in createBufferMemory() 72 de::MovePtr<Allocation> allocation (allocator.allocate(getBufferMemoryRequirements(vk, device, buffer), MemoryRequirement::HostVisible)); in createBufferMemory() 73 VK_CHECK(vk.bindBufferMemory(device, buffer, allocation->getMemory(), allocation->getOffset())); in createBufferMemory() 78 VkDevice device, in createSparseImageAndMemory() 123 Move<VkImage> destImage = createImage(vk, device, &imageCreateInfo); in createSparseImageAndMemory() 124 allocateAndBindSparseImage(vk, device, physicalDevice, instance, imageCreateInfo, bindSemaphore, sparseQueue, allocator, allocations, mapVkFormat(format), *destImage); in createSparseImageAndMemory() 130 VkDevice device, in createImageView() 150 return createImageView(vk, device, &pCreateInfo); in createImageView() 154 VkDevice device, in createImageView() 168 return createImageView(vkd, device, in createImageView() 67 createBufferMemory(const DeviceInterface& vk, VkDevice device, Allocator& allocator, VkBuffer buffer) createBufferMemory() argument 77 createSparseImageAndMemory(const DeviceInterface& vk, VkDevice device, const VkPhysicalDevice physicalDevice, const InstanceInterface& instance, Allocator& allocator, vector<de::SharedPtr<Allocation> >& allocations, deUint32 universalQueueFamilyIndex, VkQueue sparseQueue, deUint32 sparseQueueFamilyIndex, const VkSemaphore& bindSemaphore, VkFormat format, deUint32 width, deUint32 height) createSparseImageAndMemory() argument 129 createImageView(const DeviceInterface& vk, VkDevice device, VkImageViewCreateFlags flags, VkImage image, VkImageViewType viewType, VkFormat format, VkComponentMapping components, VkImageSubresourceRange subresourceRange) createImageView() argument 153 createImageView(const DeviceInterface& vkd, VkDevice device, VkImage image, VkFormat format, VkImageAspectFlags aspect) createImageView() argument 171 createBuffer(const DeviceInterface& vkd, VkDevice device, VkFormat format, deUint32 width, deUint32 height) createBuffer() argument 197 createRenderPass(const DeviceInterface& vkd, VkDevice device, VkFormat dstFormat) createRenderPass() argument 257 createRenderPass(const DeviceInterface& vkd, VkDevice device, VkFormat dstFormat, const RenderingType renderingType) createRenderPass() argument 275 createFramebuffer(const DeviceInterface& vkd, VkDevice device, VkRenderPass renderPass, VkImageView dstImageView, deUint32 width, deUint32 height) createFramebuffer() argument 305 createRenderPipelineLayout(const DeviceInterface& vkd, VkDevice device) createRenderPipelineLayout() argument 324 createRenderPipeline(const DeviceInterface& vkd, VkDevice device, VkRenderPass renderPass, VkFormat format, VkPipelineLayout pipelineLayout, const BinaryCollection& binaryCollection, deUint32 width, deUint32 height) createRenderPipeline() argument [all...] |
/applications/standard/app_samples/code/SuperFeature/DistributedAppDev/JsDistributedMusicPlayer/entry/src/main/js/MainAbility/model/ |
H A D | RemoteDeviceModel.js | 78 this.deviceList.push(data.device) 79 logger.debug(TAG, `ready, updated device list=${JSON.stringify(this.deviceList)}`) 95 if (this.deviceList[j].deviceId !== data.device.deviceId) { 96 list[j] = data.device 101 logger.debug(TAG, `offline, updated device list=${JSON.stringify(data.device)}`) 112 if (this.discoverList[i].deviceId === data.device.deviceId) { 113 logger.info(TAG, `device founded, ignored`) 117 this.discoverList[this.discoverList.length] = data.device
|
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_sdma_copy_image.c | 76 struct radv_device *device = cmd_buffer->device; in radv_sdma_v4_v5_copy_image_to_buffer() local 85 uint32_t ib_pad_dw_mask = cmd_buffer->device->physical_device->rad_info.ib_pad_dw_mask[AMD_IP_SDMA]; in radv_sdma_v4_v5_copy_image_to_buffer() 90 radeon_check_space(cmd_buffer->device->ws, cmd_buffer->cs, align(8, ib_pad_dw_mask + 1)); in radv_sdma_v4_v5_copy_image_to_buffer() 124 bool is_v5 = device->physical_device->rad_info.gfx_level >= GFX10; in radv_sdma_v4_v5_copy_image_to_buffer() 133 ASSERTED unsigned cdw_max = radeon_check_space(cmd_buffer->device->ws, cmd_buffer->cs, in radv_sdma_v4_v5_copy_image_to_buffer() 166 radv_translate_format_to_hw(&device->physical_device->rad_info, image->vk.format, &hw_fmt, in radv_sdma_v4_v5_copy_image_to_buffer() 173 hw_fmt | vi_alpha_is_on_msb(device, image->vk.format) << 8 | hw_type << 9 | in radv_sdma_v4_v5_copy_image_to_buffer() 194 assert(cmd_buffer->device->physical_device->rad_info.gfx_level >= GFX9); in radv_sdma_copy_image()
|
/third_party/skia/third_party/externals/dawn/src/dawn_wire/server/ |
H A D | Server.h | 123 ObjectHandle device; 144 ObjectHandle device; 172 bool InjectDevice(WGPUDevice device, uint32_t id, uint32_t generation); 195 void ClearDeviceCallbacks(WGPUDevice device); 198 void OnUncapturedError(ObjectHandle device, WGPUErrorType type, const char* message); 199 void OnDeviceLost(ObjectHandle device, WGPUDeviceLostReason reason, const char* message); 200 void OnLogging(ObjectHandle device, WGPULoggingType type, const char* message); 229 bool TrackDeviceChild(DeviceInfo* device, ObjectType type, ObjectId id); 230 bool UntrackDeviceChild(DeviceInfo* device, ObjectType type, ObjectId id);
|
/third_party/pulseaudio/src/modules/ |
H A D | module-detect.c | 73 unsigned device, subdevice; in detect_alsa() local 95 if (sscanf(line, " %*i: [%u- %u]: ", &device, &subdevice) != 2) in detect_alsa() 98 /* Only one sink per device */ in detect_alsa() 102 pa_snprintf(args, sizeof(args), "device_id=%u", device); in detect_alsa() 130 pa_log_error("failed to open OSS sndstat device: %s", pa_cstrerror(errno)); in detect_oss() 137 unsigned device; in detect_oss() local 153 if (sscanf(line, "%u: ", &device) == 1) { in detect_oss() 154 if (device == 0) in detect_oss() 155 pa_snprintf(args, sizeof(args), "device=/dev/dsp"); in detect_oss() 157 pa_snprintf(args, sizeof(args), "device in detect_oss() [all...] |
/third_party/mesa3d/include/android_stub/hardware/ |
H A D | fb.h | 40 * Common methods of the framebuffer device. This *must* be the first member of 158 /** convenience API for opening and closing a supported device */ 161 struct framebuffer_device_t** device) { in framebuffer_open() 163 GRALLOC_HARDWARE_FB0, TO_HW_DEVICE_T_OPEN(device)); in framebuffer_open() 166 static inline int framebuffer_close(struct framebuffer_device_t* device) { in framebuffer_close() argument 167 return device->common.close(&device->common); in framebuffer_close() 160 framebuffer_open(const struct hw_module_t* module, struct framebuffer_device_t** device) framebuffer_open() argument
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
H A D | PipelineLayoutVk.cpp | 28 Device* device, in Create() 30 Ref<PipelineLayout> layout = AcquireRef(new PipelineLayout(device, descriptor)); in Create() 55 Device* device = ToBackend(GetDevice()); in Initialize() local 57 device->fn.CreatePipelineLayout(device->GetVkDevice(), &createInfo, nullptr, &*mHandle), in Initialize() 27 Create( Device* device, const PipelineLayoutDescriptor* descriptor) Create() argument
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A D | ObjectBase.h | 33 explicit ObjectBase(DeviceBase* device); 34 ObjectBase(DeviceBase* device, ErrorTag tag); 40 // Pointer to owning device. 51 ApiObjectBase(DeviceBase* device, LabelNotImplementedTag tag); 52 ApiObjectBase(DeviceBase* device, const char* label); 53 ApiObjectBase(DeviceBase* device, ErrorTag tag); 60 // by the owning device. 63 // This needs to be public because it can be called from the device owning the object.
|
H A D | RenderBundle.cpp | 46 // it preventing it from being uncached in the device. in DestroyImpl() 51 RenderBundleBase* RenderBundleBase::MakeError(DeviceBase* device) { in MakeError() argument 52 return new RenderBundleBase(device, ObjectBase::kError); in MakeError() 55 RenderBundleBase::RenderBundleBase(DeviceBase* device, ErrorTag errorTag) in RenderBundleBase() argument 56 : ApiObjectBase(device, errorTag), mIndirectDrawMetadata(device->GetLimits()) { in RenderBundleBase()
|
H A D | QuerySet.h | 26 MaybeError ValidateQuerySetDescriptor(DeviceBase* device, const QuerySetDescriptor* descriptor); 30 QuerySetBase(DeviceBase* device, const QuerySetDescriptor* descriptor); 32 static QuerySetBase* MakeError(DeviceBase* device); 48 QuerySetBase(DeviceBase* device, ObjectBase::ErrorTag tag); 51 QuerySetBase(DeviceBase* device);
|
/third_party/libinput/src/ |
H A D | libinput-private-config.h | 42 * Check whether a device can perform hold gestures. 44 * @param device The device to configure 45 * @return Non-zero if a device can perform hold gestures, zero otherwise. 52 libinput_device_config_gesture_hold_is_available(struct libinput_device *device); 57 * Enable or disable hold gestures on this device. 59 * @param device The device to configure 63 * @return A config status code. Disabling hold gestures on a device that does 71 libinput_device_config_gesture_set_hold_enabled(struct libinput_device *device, [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/ |
H A D | vktRayTracingPipelineLibraryTests.cpp | 407 const auto device = m_context.getDevice(); in initBottomAccelerationStructures() local 444 bottomLevelAccelerationStructure->createAndBuild(vkd, device, cmdBuffer, allocator); in initBottomAccelerationStructures() 455 const auto device = m_context.getDevice(); in initTopAccelerationStructure() local 475 result->createAndBuild(vkd, device, cmdBuffer, allocator); in initTopAccelerationStructure() 486 const auto device = context.getDevice(); in compileShaders() local 497 pipelinePtr->addShader(shaderStage, createShaderModule(vkd, device, binaries.get(shaderName)), i); in compileShaders() 538 const VkDevice device, 555 const VkDevice device, 560 return rtPipeline->getShaderGroupHandles(vkd, device, pipeline, m_handleSize, firstGroup, groupCount); 572 const VkDevice device, 586 const auto device = m_context.getDevice(); runTest() local [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | vk_utils.cpp | 90 VkDevice device = context->getDevice(); 103 ANGLE_VK_TRY(context, deviceMemoryOut->allocate(device, allocInfo)); 277 return "A device memory allocation has failed"; in VulkanResultString() 282 return "The logical or physical device has been lost"; in VulkanResultString() 297 return "A requested format is not supported on this device"; in VulkanResultString() 460 // additional restrictions on memoryType. Fallback to requesting device local memory. in findCompatibleMemoryIndex() 558 // if the memory type is not device coherent, we perform an explicit invalidate in invalidate() 596 VkDevice device = renderer->getDevice(); in destroy() local 597 mBuffer.destroy(device); in destroy() 684 VkDevice device in InitMappableDeviceMemory() local 824 VkDevice device = renderer->getDevice(); destroy() local 1112 InitTransformFeedbackEXTFunctions(VkDevice device) InitTransformFeedbackEXTFunctions() argument 1123 InitSamplerYcbcrKHRFunctions(VkDevice device) InitSamplerYcbcrKHRFunctions() argument 1130 InitRenderPass2KHRFunctions(VkDevice device) InitRenderPass2KHRFunctions() argument 1173 InitGetMemoryRequirements2KHRFunctions(VkDevice device) InitGetMemoryRequirements2KHRFunctions() argument 1180 InitBindMemory2KHRFunctions(VkDevice device) InitBindMemory2KHRFunctions() argument 1206 InitGetSwapchainStatusKHRFunctions(VkDevice device) InitGetSwapchainStatusKHRFunctions() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
H A D | vktImageTranscodingSupportTests.cpp | 304 const VkDevice device = m_context.getDevice(); in transcode() local 344 const MovePtr<BufferWithMemory> vertexBuffer = MovePtr<BufferWithMemory>(new BufferWithMemory(vk, device, allocator, makeBufferCreateInfo(vertexBufferSizeInBytes, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT), MemoryRequirement::HostVisible)); in transcode() 349 const MovePtr<BufferWithMemory> srcImageBuffer = MovePtr<BufferWithMemory>(new BufferWithMemory(vk, device, allocator, srcImageBufferInfo, MemoryRequirement::HostVisible)); in transcode() 352 const MovePtr<Image> srcImage (new Image(vk, device, allocator, srcImageCreateInfo, MemoryRequirement::Any)); in transcode() 353 Move<VkImageView> srcImageView (makeImageView(vk, device, srcImage->get(), mapImageViewType(m_parameters.imageType), m_parameters.featuredFormat, subresourceRange, srcImageViewUsageFlags)); in transcode() 356 de::MovePtr<Image> dstImage (new Image(vk, device, allocator, dstImageCreateInfo, MemoryRequirement::Any)); in transcode() 357 Move<VkImageView> dstImageView (makeImageView(vk, device, dstImage->get(), mapImageViewType(m_parameters.imageType), m_parameters.featuredFormat, subresourceRange, dstImageViewUsageFlags)); in transcode() 360 MovePtr<BufferWithMemory> dstImageBuffer = MovePtr<BufferWithMemory>(new BufferWithMemory(vk, device, allocator, dstImageBufferInfo, MemoryRequirement::HostVisible)); in transcode() 362 const Unique<VkShaderModule> vertShaderModule (createShaderModule(vk, device, m_context.getBinaryCollection().get("vert"), 0)); in transcode() 363 const Unique<VkShaderModule> fragShaderModule (createShaderModule(vk, device, m_contex in transcode() 558 const VkDevice device = m_context.getDevice(); transcode() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineImageUtil.cpp | 77 bool isSupportedSamplableFormat (const InstanceInterface& instanceInterface, VkPhysicalDevice device, VkFormat format) 84 instanceInterface.getPhysicalDeviceFeatures(device, &physicalFeatures); 108 instanceInterface.getPhysicalDeviceFormatProperties(device, format, &formatProps); 234 vk::VkDevice device, 266 buffer = createBuffer(vk, device, &bufferParams); 267 bufferAlloc = allocator.allocate(getBufferMemoryRequirements(vk, device, *buffer), MemoryRequirement::HostVisible); 268 VK_CHECK(vk.bindBufferMemory(device, *buffer, bufferAlloc->getMemory(), bufferAlloc->getOffset())); 272 cmdPool = createCommandPool(vk, device, VK_COMMAND_POOL_CREATE_TRANSIENT_BIT, queueFamilyIndex); 273 cmdBuffer = allocateCommandBuffer(vk, device, *cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY); 276 fence = createFence(vk, device); 291 readDepthAttachment(const vk::DeviceInterface& vk, vk::VkDevice device, vk::VkQueue queue, deUint32 queueFamilyIndex, vk::Allocator& allocator, vk::VkImage image, vk::VkFormat format, const tcu::UVec2& renderSize, vk::VkImageLayout currentLayout) readDepthAttachment() argument 369 readStencilAttachment(const vk::DeviceInterface& vk, vk::VkDevice device, vk::VkQueue queue, deUint32 queueFamilyIndex, vk::Allocator& allocator, vk::VkImage image, vk::VkFormat format, const tcu::UVec2& renderSize, vk::VkImageLayout currentLayout) readStencilAttachment() argument 427 uploadTestTextureInternal(const DeviceInterface& vk, VkDevice device, VkQueue queue, deUint32 queueFamilyIndex, Allocator& allocator, const TestTexture& srcTexture, const TestTexture* srcStencilTexture, tcu::TextureFormat format, VkImage destImage, VkImageLayout destImageLayout) uploadTestTextureInternal() argument 518 uploadTestTextureInternalSparse(const DeviceInterface& vk, VkDevice device, const VkPhysicalDevice physicalDevice, const InstanceInterface& instance, const VkImageCreateInfo& imageCreateInfo, VkQueue universalQueue, deUint32 universalQueueFamilyIndex, VkQueue sparseQueue, Allocator& allocator, std::vector<de::SharedPtr<Allocation> >& allocations, const TestTexture& srcTexture, const TestTexture* srcStencilTexture, tcu::TextureFormat format, VkImage destImage) uploadTestTextureInternalSparse() argument 608 uploadTestTexture(const DeviceInterface& vk, VkDevice device, VkQueue queue, deUint32 queueFamilyIndex, Allocator& allocator, const TestTexture& srcTexture, VkImage destImage, VkImageLayout destImageLayout) uploadTestTexture() argument 652 uploadTestTextureSparse(const DeviceInterface& vk, VkDevice device, const VkPhysicalDevice physicalDevice, const InstanceInterface& instance, const VkImageCreateInfo& imageCreateInfo, VkQueue universalQueue, deUint32 universalQueueFamilyIndex, VkQueue sparseQueue, Allocator& allocator, std::vector<de::SharedPtr<Allocation> >& allocations, const TestTexture& srcTexture, VkImage destImage) uploadTestTextureSparse() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/ |
H A D | vktSynchronizationSignalOrderTests.cpp | 84 void hostSignal (const DeviceInterface& vk, const VkDevice& device, VkSemaphore semaphore, const deUint64 timelineValue) in hostSignal() argument 94 VK_CHECK(vk.signalSemaphore(device, &ssi)); in hostSignal() 97 // Waits for the device to be idle when destroying the guard object. 101 DeviceWaitIdleGuard (const DeviceInterface& vkd, const VkDevice device) in DeviceWaitIdleGuard() argument 102 : m_vkd(vkd), m_device(device) in DeviceWaitIdleGuard() 204 // Class to wrap a singleton instance and device 245 VkDevice device, 255 VkDevice device, in SimpleAllocation() 259 , m_device (device) in SimpleAllocation() 269 VkDevice device, in getMemoryRequirements() 254 SimpleAllocation(const DeviceInterface& vkd, VkDevice device, const VkDeviceMemory memory) SimpleAllocation() argument 268 getMemoryRequirements(const DeviceInterface& vkd, VkDevice device, VkBuffer buffer) getMemoryRequirements() argument 288 getMemoryRequirements(const DeviceInterface& vkd, VkDevice device, VkImage image) getMemoryRequirements() argument 309 importAndBindMemory(const DeviceInterface& vkd, VkDevice device, VkBuffer buffer, NativeHandle& nativeHandle, VkExternalMemoryHandleTypeFlagBits externalType, const deUint32 exportedMemoryTypeIndex) importAndBindMemory() argument 329 importAndBindMemory(const DeviceInterface& vkd, VkDevice device, VkImage image, NativeHandle& nativeHandle, VkExternalMemoryHandleTypeFlagBits externalType, deUint32 exportedMemoryTypeIndex) importAndBindMemory() argument 371 importResource(const DeviceInterface& vkd, VkDevice device, const ResourceDescription& resourceDesc, const deUint32 queueFamilyIndex, const OperationSupport& readOp, const OperationSupport& writeOp, NativeHandle& nativeHandle, VkExternalMemoryHandleTypeFlagBits externalType, deUint32 exportedMemoryTypeIndex) importResource() argument 556 createImage(const vk::DeviceInterface& vkd, vk::VkDevice device, const vk::VkExtent3D& extent, deUint32 queueFamilyIndex, vk::VkImageTiling tiling) createImage() argument 592 createBuffer(const vk::DeviceInterface& vkd, vk::VkDevice device, const vk::VkDeviceSize& size, deUint32 queueFamilyIndex) createBuffer() argument 923 addSemaphore(const DeviceInterface& vk, VkDevice device, std::vector<Move<VkSemaphore> >& semaphores, std::vector<VkSemaphore>& semaphoreHandles, std::vector<deUint64>& timelineValues, bool exportable, deUint64 firstTimelineValue) addSemaphore() argument 1365 const VkDevice& device = *m_device; iterate() local 1586 addSemaphore(const DeviceInterface& vk, VkDevice device, std::vector<Move<VkSemaphore> >& semaphores, std::vector<VkSemaphore>& semaphoreHandles, std::vector<deUint64>& timelineValues, deUint64 firstTimelineValue) addSemaphore() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/ |
H A D | vktImageTranscodingSupportTests.cpp | 304 const VkDevice device = m_context.getDevice(); in transcode() local 344 const MovePtr<BufferWithMemory> vertexBuffer = MovePtr<BufferWithMemory>(new BufferWithMemory(vk, device, allocator, makeBufferCreateInfo(vertexBufferSizeInBytes, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT), MemoryRequirement::HostVisible)); in transcode() 349 const MovePtr<BufferWithMemory> srcImageBuffer = MovePtr<BufferWithMemory>(new BufferWithMemory(vk, device, allocator, srcImageBufferInfo, MemoryRequirement::HostVisible)); in transcode() 352 const MovePtr<Image> srcImage (new Image(vk, device, allocator, srcImageCreateInfo, MemoryRequirement::Any)); in transcode() 353 Move<VkImageView> srcImageView (makeImageView(vk, device, srcImage->get(), mapImageViewType(m_parameters.imageType), m_parameters.featuredFormat, subresourceRange, srcImageViewUsageFlags)); in transcode() 356 de::MovePtr<Image> dstImage (new Image(vk, device, allocator, dstImageCreateInfo, MemoryRequirement::Any)); in transcode() 357 Move<VkImageView> dstImageView (makeImageView(vk, device, dstImage->get(), mapImageViewType(m_parameters.imageType), m_parameters.featuredFormat, subresourceRange, dstImageViewUsageFlags)); in transcode() 360 MovePtr<BufferWithMemory> dstImageBuffer = MovePtr<BufferWithMemory>(new BufferWithMemory(vk, device, allocator, dstImageBufferInfo, MemoryRequirement::HostVisible)); in transcode() 362 const Unique<VkShaderModule> vertShaderModule (createShaderModule(vk, device, m_context.getBinaryCollection().get("vert"), 0)); in transcode() 363 const Unique<VkShaderModule> fragShaderModule (createShaderModule(vk, device, m_contex in transcode() 558 const VkDevice device = m_context.getDevice(); transcode() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineImageUtil.cpp | 77 bool isSupportedSamplableFormat (const InstanceInterface& instanceInterface, VkPhysicalDevice device, VkFormat format) 84 instanceInterface.getPhysicalDeviceFeatures(device, &physicalFeatures); 103 instanceInterface.getPhysicalDeviceFormatProperties(device, format, &formatProps); 224 vk::VkDevice device, 256 buffer = createBuffer(vk, device, &bufferParams); 257 bufferAlloc = allocator.allocate(getBufferMemoryRequirements(vk, device, *buffer), MemoryRequirement::HostVisible); 258 VK_CHECK(vk.bindBufferMemory(device, *buffer, bufferAlloc->getMemory(), bufferAlloc->getOffset())); 262 cmdPool = createCommandPool(vk, device, VK_COMMAND_POOL_CREATE_TRANSIENT_BIT, queueFamilyIndex); 263 cmdBuffer = allocateCommandBuffer(vk, device, *cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY); 266 fence = createFence(vk, device); 281 readDepthAttachment(const vk::DeviceInterface& vk, vk::VkDevice device, vk::VkQueue queue, deUint32 queueFamilyIndex, vk::Allocator& allocator, vk::VkImage image, vk::VkFormat format, const tcu::UVec2& renderSize, vk::VkImageLayout currentLayout) readDepthAttachment() argument 359 readStencilAttachment(const vk::DeviceInterface& vk, vk::VkDevice device, vk::VkQueue queue, deUint32 queueFamilyIndex, vk::Allocator& allocator, vk::VkImage image, vk::VkFormat format, const tcu::UVec2& renderSize, vk::VkImageLayout currentLayout) readStencilAttachment() argument 417 uploadTestTextureInternal(const DeviceInterface& vk, VkDevice device, VkQueue queue, deUint32 queueFamilyIndex, Allocator& allocator, const TestTexture& srcTexture, const TestTexture* srcStencilTexture, tcu::TextureFormat format, VkImage destImage, VkImageLayout destImageLayout) uploadTestTextureInternal() argument 508 uploadTestTextureInternalSparse(const DeviceInterface& vk, VkDevice device, const VkPhysicalDevice physicalDevice, const InstanceInterface& instance, const VkImageCreateInfo& imageCreateInfo, VkQueue universalQueue, deUint32 universalQueueFamilyIndex, VkQueue sparseQueue, Allocator& allocator, std::vector<de::SharedPtr<Allocation> >& allocations, const TestTexture& srcTexture, const TestTexture* srcStencilTexture, tcu::TextureFormat format, VkImage destImage) uploadTestTextureInternalSparse() argument 598 uploadTestTexture(const DeviceInterface& vk, VkDevice device, VkQueue queue, deUint32 queueFamilyIndex, Allocator& allocator, const TestTexture& srcTexture, VkImage destImage, VkImageLayout destImageLayout) uploadTestTexture() argument 642 uploadTestTextureSparse(const DeviceInterface& vk, VkDevice device, const VkPhysicalDevice physicalDevice, const InstanceInterface& instance, const VkImageCreateInfo& imageCreateInfo, VkQueue universalQueue, deUint32 universalQueueFamilyIndex, VkQueue sparseQueue, Allocator& allocator, std::vector<de::SharedPtr<Allocation> >& allocations, const TestTexture& srcTexture, VkImage destImage) uploadTestTextureSparse() argument [all...] |
/third_party/vulkan-loader/tests/ |
H A D | loader_version_tests.cpp | 249 // Make sure physical device groups enumerated through EnumerateAdapterPhysicalDevices are properly found 282 // And, since this is device groups, the groups themselves should also be in reverse order with the devices in TEST() 389 // device info across multiple drivers properly. in TEST() 421 // The loader has to be able to handle drivers that support device groups in combination in TEST() 422 // with drivers that don't support device groups. When this is the case, the loader needs in TEST() 423 // to take every driver that doesn't support device groups and put each of its devices in in TEST() 425 // device groups returned info. in TEST() 427 // ICD 0 : No 1.1 support (so 1 device will become 1 group in loader) in TEST() 469 // This is testing when there are drivers that support the Windows device adapter sorting mechanism by exporting 646 DeviceWrapper device{ins in TEST() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/ |
H A D | vktMeshShaderMiscTestsEXT.cpp | 257 const auto device = m_context.getDevice(); in iterate() local 287 ImageWithMemory colorImage (vkd, device, alloc, colorBufferInfo, MemoryRequirement::Any); in iterate() 290 const auto colorView = makeImageView(vkd, device, colorImage.get(), VK_IMAGE_VIEW_TYPE_2D, imageFormat, colorSRR); in iterate() 297 BufferWithMemory verificationBuffer (vkd, device, alloc, verificationBufferInfo, MemoryRequirement::HostVisible); in iterate() 302 const auto pipelineLayout = makePipelineLayout(vkd, device); in iterate() 308 const auto meshShader = createShaderModule(vkd, device, binaries.get("mesh")); in iterate() 309 const auto fragShader = createShaderModule(vkd, device, binaries.get("frag")); in iterate() 313 taskShader = createShaderModule(vkd, device, binaries.get("task")); in iterate() 316 const auto renderPass = makeRenderPass(vkd, device, imageFormat); in iterate() 319 const auto framebuffer = makeFramebuffer(vkd, device, renderPas in iterate() 2333 const auto device = m_context.getDevice(); iterate() local 2676 const auto device = m_context.getDevice(); iterate() local 3333 const auto device = m_context.getDevice(); iterate() local 3971 const auto device = m_context.getDevice(); iterate() local 4327 const auto device = m_context.getDevice(); iterate() local 4649 const auto device = m_context.getDevice(); iterate() local [all...] |