Home
last modified time | relevance | path

Searched refs:device (Results 501 - 525 of 2862) sorted by relevance

1...<<21222324252627282930>>...115

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
H A DvktRayTracingOpacityMicromapTests.cpp325 const auto device = m_context.getDevice(); in iterate() local
332 const auto cmdPool = makeCommandPool(vkd, device, qIndex); in iterate()
333 const auto cmdBufferPtr = allocateCommandBuffer(vkd, device, cmdPool.get(), VK_COMMAND_BUFFER_LEVEL_PRIMARY); in iterate()
360 BufferWithMemory micromapDataBuffer(vkd, device, alloc, micromapDataBufferCreateInfo, MemoryRequirement::HostVisible | MemoryRequirement::DeviceAddress); in iterate()
423 vkd.getMicromapBuildSizesEXT(device, VK_ACCELERATION_STRUCTURE_BUILD_TYPE_DEVICE_KHR, &mmBuildInfo, &sizeInfo); in iterate()
428 BufferWithMemory micromapBackingBuffer(vkd, device, alloc, micromapBackingBufferCreateInfo, MemoryRequirement::Local | MemoryRequirement::DeviceAddress); in iterate()
432 BufferWithMemory micromapScratchBuffer(vkd, device, alloc, micromapScratchBufferCreateInfo, MemoryRequirement::Local | MemoryRequirement::DeviceAddress); in iterate()
446 Move<VkMicromapEXT> micromap = vk::createMicromapEXT(vkd, device, &maCreateInfo); in iterate()
450 mmBuildInfo.data = makeDeviceOrHostAddressConstKHR(vkd, device, micromapDataBuffer.get(), DataOffset); in iterate()
451 mmBuildInfo.triangleArray = makeDeviceOrHostAddressConstKHR(vkd, device, micromapDataBuffe in iterate()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/
H A DvktRayTracingOpacityMicromapTests.cpp325 const auto device = m_context.getDevice(); in iterate() local
332 const auto cmdPool = makeCommandPool(vkd, device, qIndex); in iterate()
333 const auto cmdBufferPtr = allocateCommandBuffer(vkd, device, cmdPool.get(), VK_COMMAND_BUFFER_LEVEL_PRIMARY); in iterate()
360 BufferWithMemory micromapDataBuffer(vkd, device, alloc, micromapDataBufferCreateInfo, MemoryRequirement::HostVisible | MemoryRequirement::DeviceAddress); in iterate()
423 vkd.getMicromapBuildSizesEXT(device, VK_ACCELERATION_STRUCTURE_BUILD_TYPE_DEVICE_KHR, &mmBuildInfo, &sizeInfo); in iterate()
428 BufferWithMemory micromapBackingBuffer(vkd, device, alloc, micromapBackingBufferCreateInfo, MemoryRequirement::Local | MemoryRequirement::DeviceAddress); in iterate()
432 BufferWithMemory micromapScratchBuffer(vkd, device, alloc, micromapScratchBufferCreateInfo, MemoryRequirement::Local | MemoryRequirement::DeviceAddress); in iterate()
448 VK_CHECK(vkd.createMicromapEXT(device, &maCreateInfo, nullptr, &micromap)); in iterate()
452 mmBuildInfo.data = makeDeviceOrHostAddressConstKHR(vkd, device, micromapDataBuffer.get(), DataOffset); in iterate()
453 mmBuildInfo.triangleArray = makeDeviceOrHostAddressConstKHR(vkd, device, micromapDataBuffe in iterate()
[all...]
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
H A DD3D12Backend.cpp31 ComPtr<ID3D12Device> GetD3D12Device(WGPUDevice device) { in GetD3D12Device() argument
32 return ToBackend(FromAPI(device))->GetD3D12Device(); in GetD3D12Device()
35 DawnSwapChainImplementation CreateNativeSwapChainImpl(WGPUDevice device, HWND window) { in CreateNativeSwapChainImpl() argument
36 Device* backendDevice = ToBackend(FromAPI(device)); in CreateNativeSwapChainImpl()
77 WGPUDevice device, in ProduceTexture()
79 Device* backendDevice = ToBackend(FromAPI(device)); in ProduceTexture()
103 mD3D11on12ResourceCache->GetOrCreateD3D11on12Resource(device, mD3D12Resource.Get()); in ProduceTexture()
120 WGPUDevice device, in Create()
122 Device* backendDevice = ToBackend(FromAPI(device)); in Create()
165 uint64_t SetExternalMemoryReservation(WGPUDevice device, in SetExternalMemoryReservation() argument
76 ProduceTexture( WGPUDevice device, const ExternalImageAccessDescriptorDXGIKeyedMutex* descriptor) ProduceTexture() argument
119 Create( WGPUDevice device, const ExternalImageDescriptorDXGISharedHandle* descriptor) Create() argument
[all...]
/third_party/mesa3d/src/imagination/vulkan/winsys/pvrsrvkm/
H A Dpvr_srv_sync.c42 static VkResult pvr_srv_sync_init(struct vk_device *device, in pvr_srv_sync_init() argument
54 void pvr_srv_sync_finish(struct vk_device *device, struct vk_sync *sync) in pvr_srv_sync_finish() argument
82 static VkResult pvr_srv_sync_signal(struct vk_device *device, in pvr_srv_sync_signal() argument
93 static VkResult pvr_srv_sync_reset(struct vk_device *device, in pvr_srv_sync_reset() argument
126 static VkResult pvr_srv_sync_wait_many(struct vk_device *device, in pvr_srv_sync_wait_many() argument
139 return vk_error(device, VK_ERROR_OUT_OF_HOST_MEMORY); in pvr_srv_sync_wait_many()
173 /* FIXME: Fix device loss handling. */ in pvr_srv_sync_wait_many()
205 pvr_srv_sync_signal(device, waits[i].sync, 0U); in pvr_srv_sync_wait_many()
233 /* We assume device loss in case of an unknown error or invalid fd. */ in pvr_srv_sync_wait_many()
249 static VkResult pvr_srv_sync_move(struct vk_device *device, in pvr_srv_sync_move() argument
267 pvr_srv_sync_import_sync_file(struct vk_device *device, struct vk_sync *sync, int sync_file) pvr_srv_sync_import_sync_file() argument
285 pvr_srv_sync_export_sync_file(struct vk_device *device, struct vk_sync *sync, int *sync_file) pvr_srv_sync_export_sync_file() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A DvkMemUtil.hpp39 * Allocation represents block of device memory and is allocated by
78 void flushAlloc (const DeviceInterface& vkd, VkDevice device, const Allocation& alloc);
79 void invalidateAlloc (const DeviceInterface& vkd, VkDevice device, const Allocation& alloc);
151 SimpleAllocator (const DeviceInterface& vk, VkDevice device, const VkPhysicalDeviceMemoryProperties& deviceMemProps, const OptionalOffsetParams& offsetParams = tcu::Nothing);
163 de::MovePtr<Allocation> allocateExtended (const InstanceInterface& vki, const DeviceInterface& vkd, const VkPhysicalDevice& physDevice, const VkDevice device, const VkMemoryRequirements& memReqs, const MemoryRequirement requirement, const void* pNext);
164 de::MovePtr<Allocation> allocateDedicated (const InstanceInterface& vki, const DeviceInterface& vkd, const VkPhysicalDevice& physDevice, const VkDevice device, const VkBuffer buffer, MemoryRequirement requirement);
165 de::MovePtr<Allocation> allocateDedicated (const InstanceInterface& vki, const DeviceInterface& vkd, const VkPhysicalDevice& physDevice, const VkDevice device, const VkImage image, MemoryRequirement requirement);
167 void* mapMemory (const DeviceInterface& vkd, VkDevice device, VkDeviceMemory mem, VkDeviceSize offset, VkDeviceSize size, VkMemoryMapFlags flags);
168 void flushMappedMemoryRange (const DeviceInterface& vkd, VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size);
169 void invalidateMappedMemoryRange (const DeviceInterface& vkd, VkDevice device, VkDeviceMemor
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
H A DVkDeviceMemory.cpp85 VkResult DeviceMemory::Allocate(const VkAllocationCallbacks *pAllocator, const VkMemoryAllocateInfo *pAllocateInfo, VkDeviceMemory *pMemory, Device *device) in Allocate() argument
96 result = Allocate(pAllocator, pAllocateInfo, pMemory, extendedAllocationInfo, device); in Allocate()
107 const vk::DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo, Device *device) in Allocate()
112 return AHardwareBufferExternalMemory::Create(pAllocator, pAllocateInfo, pMemory, extendedAllocationInfo, device); in Allocate()
118 return OpaqueFdExternalMemory::Create(pAllocator, pAllocateInfo, pMemory, extendedAllocationInfo, device); in Allocate()
124 return zircon::VmoExternalMemory::Create(pAllocator, pAllocateInfo, pMemory, extendedAllocationInfo, device); in Allocate()
129 return ExternalMemoryHost::Create(pAllocator, pAllocateInfo, pMemory, extendedAllocationInfo, device); in Allocate()
132 return vk::DeviceMemoryInternal::Create(pAllocator, pAllocateInfo, pMemory, extendedAllocationInfo, device); in Allocate()
138 , device(pDevice) in DeviceMemory()
147 device in destroy()
106 Allocate(const VkAllocationCallbacks *pAllocator, const VkMemoryAllocateInfo *pAllocateInfo, VkDeviceMemory *pMemory, const vk::DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo, Device *device) Allocate() argument
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DComputeDispatchTests.cpp30 wgpu::ShaderModule module = utils::CreateShaderModule(device, R"(
53 pipeline = device.CreateComputePipeline(&csDesc);
56 wgpu::ShaderModule moduleWithoutNumWorkgroups = utils::CreateShaderModule(device, R"(
81 pipelineWithoutNumWorkgroups = device.CreateComputePipeline(&csDesc);
87 device, in DirectTest()
92 wgpu::BindGroup bindGroup = utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in DirectTest()
99 wgpu::CommandEncoder encoder = device.CreateCommandEncoder(); in DirectTest()
123 device, in IndirectTest()
128 device, &indirectBufferData[0], indirectBufferData.size() * sizeof(uint32_t), in IndirectTest()
139 bindGroup = utils::MakeBindGroup(device, pipelin in IndirectTest()
[all...]
H A DMaxLimitTests.cpp70 csDesc.compute.module = utils::CreateShaderModule(device, shader.c_str()); in TEST_P()
72 wgpu::ComputePipeline pipeline = device.CreateComputePipeline(&csDesc); in TEST_P()
79 wgpu::Buffer dst = device.CreateBuffer(&dstDesc); in TEST_P()
82 wgpu::BindGroup bindGroup = utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in TEST_P()
87 wgpu::CommandEncoder encoder = device.CreateCommandEncoder(); in TEST_P()
186 device.PushErrorScope(wgpu::ErrorFilter::OutOfMemory); in TEST_P()
191 wgpu::Buffer buffer = device.CreateBuffer(&bufDesc); in TEST_P()
194 device.PopErrorScope([](WGPUErrorType type, const char*, in TEST_P()
204 wgpu::Buffer resultBuffer = device.CreateBuffer(&resultBufDesc); in TEST_P()
214 csDesc.compute.module = utils::CreateShaderModule(device, shade in TEST_P()
[all...]
H A DDestroyTests.cpp30 renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize);
32 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, R"(
38 wgpu::ShaderModule fsModule = utils::CreateShaderModule(device, R"(
53 pipeline = device.CreateRenderPipeline(&descriptor);
56 device, wgpu::BufferUsage::Vertex,
60 wgpu::CommandEncoder encoder = device.CreateCommandEncoder();
71 wgpu::CommandEncoder encoder = device.CreateCommandEncoder(); in CreateTriangleCommandBuffer()
164 wgpu::Buffer buffer = device.CreateBuffer(&descriptor); in TEST_P()
175 // Tests normally don't expect a device lost error, but since we are destroying the device, w in TEST_P()
[all...]
H A DRenderPassLoadOpTests.cpp28 DrawQuad(wgpu::Device device, const char* vsSource, const char* fsSource) : device(device) { in DrawQuad() argument
29 vsModule = utils::CreateShaderModule(device, vsSource); in DrawQuad()
30 fsModule = utils::CreateShaderModule(device, fsSource); in DrawQuad()
32 pipelineLayout = utils::MakeBasicPipelineLayout(device, nullptr); in DrawQuad()
41 auto renderPipeline = device.CreateRenderPipeline(&descriptor); in Draw()
48 wgpu::Device device; member in DrawQuad
68 renderTarget = device.CreateTexture(&descriptor);
97 blueQuad = DrawQuad(device, vsSourc
[all...]
H A DD3D12VideoViewsTests.cpp36 // Create the D3D11 device/contexts that will be used in subsequent tests
37 ComPtr<ID3D12Device> d3d12Device = dawn_native::d3d12::GetD3D12Device(device.Get());
57 // Runtime of the created texture (D3D11 device) and OpenSharedHandle runtime (Dawn's
58 // D3D12 device) must agree on resource sharing capability. For NV12 formats, D3D11
217 dawn_native::d3d12::ExternalImageDXGI::Create(device.Get(), &externalImageDesc); in CreateVideoTextureForTest()
229 externalImage->ProduceTexture(device.Get(), &externalAccessDesc)); in CreateVideoTextureForTest()
234 return utils::CreateShaderModule(device, R"( in GetTestVertexShaderModule()
301 renderPipelineDescriptor.cFragment.module = utils::CreateShaderModule(device, R"( in TEST_P()
312 device, kYUVImageDataWidthInTexels, kYUVImageDataHeightInTexels); in TEST_P()
316 wgpu::RenderPipeline renderPipeline = device in TEST_P()
[all...]
/third_party/mesa3d/src/broadcom/vulkan/
H A Dv3dv_meta_copy.c44 create_blit_pipeline_layout(struct v3dv_device *device, in create_blit_pipeline_layout() argument
63 v3dv_CreateDescriptorSetLayout(v3dv_device_to_handle(device), in create_blit_pipeline_layout()
65 &device->vk.alloc, in create_blit_pipeline_layout()
82 v3dv_CreatePipelineLayout(v3dv_device_to_handle(device), in create_blit_pipeline_layout()
84 &device->vk.alloc, in create_blit_pipeline_layout()
90 v3dv_meta_blit_init(struct v3dv_device *device) in v3dv_meta_blit_init() argument
93 device->meta.blit.cache[i] = in v3dv_meta_blit_init()
99 create_blit_pipeline_layout(device, in v3dv_meta_blit_init()
100 &device->meta.blit.ds_layout, in v3dv_meta_blit_init()
101 &device in v3dv_meta_blit_init()
105 v3dv_meta_blit_finish(struct v3dv_device *device) v3dv_meta_blit_finish() argument
144 create_texel_buffer_copy_pipeline_layout(struct v3dv_device *device, VkDescriptorSetLayout *ds_layout, VkPipelineLayout *p_layout) create_texel_buffer_copy_pipeline_layout() argument
202 v3dv_meta_texel_buffer_copy_init(struct v3dv_device *device) v3dv_meta_texel_buffer_copy_init() argument
218 v3dv_meta_texel_buffer_copy_finish(struct v3dv_device *device) v3dv_meta_texel_buffer_copy_finish() argument
605 struct v3dv_device *device = cmd_buffer->device; copy_image_to_buffer_blit() local
1542 struct v3dv_device *device = cmd_buffer->device; allocate_texel_buffer_copy_descriptor_set() local
1729 get_texel_buffer_copy_fs(struct v3dv_device *device, VkFormat format, VkComponentMapping *cswizzle) get_texel_buffer_copy_fs() argument
1826 create_texel_buffer_copy_pipeline(struct v3dv_device *device, VkFormat format, VkColorComponentFlags cmask, VkComponentMapping *cswizzle, bool is_layered, VkRenderPass _pass, VkPipelineLayout pipeline_layout, VkPipeline *pipeline) create_texel_buffer_copy_pipeline() argument
1887 get_copy_texel_buffer_pipeline( struct v3dv_device *device, VkFormat format, VkColorComponentFlags cmask, VkComponentMapping *cswizzle, VkImageType image_type, bool is_layered, struct v3dv_meta_texel_buffer_copy_pipeline **pipeline) get_copy_texel_buffer_pipeline() argument
2308 struct v3dv_device *device = cmd_buffer->device; copy_buffer_to_image_blit() local
2991 create_blit_render_pass(struct v3dv_device *device, VkFormat dst_format, VkFormat src_format, VkRenderPass *pass_load, VkRenderPass *pass_no_load) create_blit_render_pass() argument
3210 build_nir_tex_op(struct nir_builder *b, struct v3dv_device *device, nir_ssa_def *tex_pos, enum glsl_base_type tex_type, VkSampleCountFlagBits dst_samples, VkSampleCountFlagBits src_samples, enum glsl_sampler_dim dim) build_nir_tex_op() argument
3279 get_color_blit_fs(struct v3dv_device *device, VkFormat dst_format, VkFormat src_format, VkSampleCountFlagBits dst_samples, VkSampleCountFlagBits src_samples, enum glsl_sampler_dim sampler_dim) get_color_blit_fs() argument
3365 create_pipeline(struct v3dv_device *device, struct v3dv_render_pass *pass, struct nir_shader *vs_nir, struct nir_shader *gs_nir, struct nir_shader *fs_nir, const VkPipelineVertexInputStateCreateInfo *vi_state, const VkPipelineDepthStencilStateCreateInfo *ds_state, const VkPipelineColorBlendStateCreateInfo *cb_state, const VkPipelineMultisampleStateCreateInfo *ms_state, const VkPipelineLayout layout, VkPipeline *pipeline) create_pipeline() argument
3507 create_blit_pipeline(struct v3dv_device *device, VkFormat dst_format, VkFormat src_format, VkColorComponentFlags cmask, VkImageType src_type, VkSampleCountFlagBits dst_samples, VkSampleCountFlagBits src_samples, VkRenderPass _pass, VkPipelineLayout pipeline_layout, VkPipeline *pipeline) create_blit_pipeline() argument
3580 get_blit_pipeline(struct v3dv_device *device, VkFormat dst_format, VkFormat src_format, VkColorComponentFlags cmask, VkImageType src_type, VkSampleCountFlagBits dst_samples, VkSampleCountFlagBits src_samples, struct v3dv_meta_blit_pipeline **pipeline) get_blit_pipeline() argument
3760 struct v3dv_device *device = cmd_buffer->device; allocate_blit_source_descriptor_set() local
3980 struct v3dv_device *device = cmd_buffer->device; blit_shader() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineRenderToImageTests.cpp180 const VkDevice device, in bindBuffer()
190 return vk::bindBuffer(vkd, device, allocator, buffer, requirement); in bindBuffer()
195 return bindBufferDedicated(vki, vkd, physDevice, device, buffer, requirement); in bindBuffer()
208 const VkDevice device, in bindImage()
218 return vk::bindImage(vkd, device, allocator, image, requirement); in bindImage()
223 return bindImageDedicated(vki, vkd, physDevice, device, image, requirement); in bindImage()
352 const VkDevice device, in makeRenderPass()
442 return RenderPassWrapper(pipelineConstructionType, vk, device, &renderPassInfo); in makeRenderPass()
446 const VkDevice device, in makeImage()
473 return createImage(vk, device, in makeImage()
177 bindBuffer(const InstanceInterface& vki, const DeviceInterface& vkd, const VkPhysicalDevice& physDevice, const VkDevice device, const VkBuffer& buffer, const MemoryRequirement requirement, Allocator& allocator, AllocationKind allocationKind) bindBuffer() argument
205 bindImage(const InstanceInterface& vki, const DeviceInterface& vkd, const VkPhysicalDevice& physDevice, const VkDevice device, const VkImage& image, const MemoryRequirement requirement, Allocator& allocator, AllocationKind allocationKind) bindImage() argument
351 makeRenderPass(const DeviceInterface& vk, const VkDevice device, const PipelineConstructionType pipelineConstructionType, const VkFormat colorFormat, const VkFormat depthStencilFormat, const deUint32 numLayers, const VkImageLayout initialColorImageLayout = VK_IMAGE_LAYOUT_UNDEFINED, const VkImageLayout initialDepthStencilImageLayout = VK_IMAGE_LAYOUT_UNDEFINED) makeRenderPass() argument
445 makeImage(const DeviceInterface& vk, const VkDevice device, VkImageCreateFlags flags, VkImageType imageType, const VkFormat format, const IVec3& size, const deUint32 numMipLevels, const deUint32 numLayers, const VkImageUsageFlags usage) makeImage() argument
683 const VkDevice device = context.getDevice(); getSupportedImageMemoryRequirements() local
794 const VkDevice device = context.getDevice(); testWithSizeReduction() local
1334 const VkDevice device = context.getDevice(); drawToMipLevel() local
1444 const VkDevice device = context.getDevice(); testRenderToMipMaps() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineRenderToImageTests.cpp178 const VkDevice device, in bindBuffer()
188 return vk::bindBuffer(vkd, device, allocator, buffer, requirement); in bindBuffer()
193 return bindBufferDedicated(vki, vkd, physDevice, device, buffer, requirement); in bindBuffer()
206 const VkDevice device, in bindImage()
216 return vk::bindImage(vkd, device, allocator, image, requirement); in bindImage()
221 return bindImageDedicated(vki, vkd, physDevice, device, image, requirement); in bindImage()
350 const VkDevice device, in makeRenderPass()
439 return createRenderPass(vk, device, &renderPassInfo); in makeRenderPass()
443 const VkDevice device, in makeImage()
470 return createImage(vk, device, in makeImage()
175 bindBuffer(const InstanceInterface& vki, const DeviceInterface& vkd, const VkPhysicalDevice& physDevice, const VkDevice device, const VkBuffer& buffer, const MemoryRequirement requirement, Allocator& allocator, AllocationKind allocationKind) bindBuffer() argument
203 bindImage(const InstanceInterface& vki, const DeviceInterface& vkd, const VkPhysicalDevice& physDevice, const VkDevice device, const VkImage& image, const MemoryRequirement requirement, Allocator& allocator, AllocationKind allocationKind) bindImage() argument
349 makeRenderPass(const DeviceInterface& vk, const VkDevice device, const VkFormat colorFormat, const VkFormat depthStencilFormat, const deUint32 numLayers, const VkImageLayout initialColorImageLayout = VK_IMAGE_LAYOUT_UNDEFINED, const VkImageLayout initialDepthStencilImageLayout = VK_IMAGE_LAYOUT_UNDEFINED) makeRenderPass() argument
442 makeImage(const DeviceInterface& vk, const VkDevice device, VkImageCreateFlags flags, VkImageType imageType, const VkFormat format, const IVec3& size, const deUint32 numMipLevels, const deUint32 numLayers, const VkImageUsageFlags usage) makeImage() argument
649 const VkDevice device = context.getDevice(); getMemoryTypeNdx() local
788 const VkDevice device = context.getDevice(); testWithSizeReduction() local
1211 const VkDevice device = context.getDevice(); drawToMipLevel() local
1317 const VkDevice device = context.getDevice(); testRenderToMipMaps() local
[all...]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
H A DQuery.cpp65 Device *device = getDevice(); in begin() local
68 device->addQuery(mQuery); in begin()
73 device->setOcclusionEnabled(true); in begin()
76 device->setTransformFeedbackQueryEnabled(true); in begin()
90 Device *device = getDevice(); in end() local
93 device->removeQuery(mQuery); in end()
98 device->setOcclusionEnabled(false); in end()
101 device->setTransformFeedbackQueryEnabled(false); in end()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
H A DvktDrawBaseClass.cpp54 const vk::VkDevice device = m_context.getDevice(); in initialize() local
60 m_pipelineLayout = vk::createPipelineLayout(m_vk, device, &pipelineLayoutCreateInfo); in initialize()
66 m_colorTargetImage = Image::createAndAlloc(m_vk, device, targetImageCreateInfo, m_context.getDefaultAllocator(), m_context.getUniversalQueueFamilyIndex()); in initialize()
71 m_colorTargetView = vk::createImageView(m_vk, device, &colorTargetViewInfo); in initialize()
120 m_renderPass = vk::createRenderPass(m_vk, device, &renderPassCreateInfo); in initialize()
125 m_framebuffer = vk::createFramebuffer(m_vk, device, &framebufferCreateInfo); in initialize()
163 m_vertexBuffer = Buffer::createAndAlloc(m_vk, device, BufferCreateInfo(dataSize, in initialize()
169 vk::flushAlloc(m_vk, device, m_vertexBuffer->getBoundMemory()); in initialize()
172 m_cmdPool = vk::createCommandPool(m_vk, device, &cmdPoolCreateInfo); in initialize()
173 m_cmdBuffer = vk::allocateCommandBuffer(m_vk, device, *m_cmdPoo in initialize()
181 initPipeline(const vk::VkDevice device) initPipeline() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
H A DvktDrawBaseClass.cpp48 const vk::VkDevice device = m_context.getDevice(); in initialize() local
52 m_pipelineLayout = vk::createPipelineLayout(m_vk, device, &pipelineLayoutCreateInfo); in initialize()
58 m_colorTargetImage = Image::createAndAlloc(m_vk, device, targetImageCreateInfo, m_context.getDefaultAllocator(), m_context.getUniversalQueueFamilyIndex()); in initialize()
61 m_colorTargetView = vk::createImageView(m_vk, device, &colorTargetViewInfo); in initialize()
93 m_renderPass = vk::createRenderPass(m_vk, device, &renderPassCreateInfo); in initialize()
98 m_framebuffer = vk::createFramebuffer(m_vk, device, &framebufferCreateInfo); in initialize()
136 m_vertexBuffer = Buffer::createAndAlloc(m_vk, device, BufferCreateInfo(dataSize, in initialize()
142 vk::flushAlloc(m_vk, device, m_vertexBuffer->getBoundMemory()); in initialize()
145 m_cmdPool = vk::createCommandPool(m_vk, device, &cmdPoolCreateInfo); in initialize()
146 m_cmdBuffer = vk::allocateCommandBuffer(m_vk, device, *m_cmdPoo in initialize()
154 initPipeline(const vk::VkDevice device) initPipeline() argument
[all...]
/third_party/mesa3d/src/gallium/frontends/vdpau/
H A Dquery.c69 vlVdpVideoSurfaceQueryCapabilities(VdpDevice device, VdpChromaType surface_chroma_type, in vlVdpVideoSurfaceQueryCapabilities() argument
79 dev = vlGetDataHTAB(device); in vlVdpVideoSurfaceQueryCapabilities()
105 vlVdpVideoSurfaceQueryGetPutBitsYCbCrCapabilities(VdpDevice device, VdpChromaType surface_chroma_type, in vlVdpVideoSurfaceQueryGetPutBitsYCbCrCapabilities() argument
115 dev = vlGetDataHTAB(device); in vlVdpVideoSurfaceQueryGetPutBitsYCbCrCapabilities()
175 vlVdpDecoderQueryCapabilities(VdpDevice device, VdpDecoderProfile profile, in vlVdpDecoderQueryCapabilities() argument
186 dev = vlGetDataHTAB(device); in vlVdpDecoderQueryCapabilities()
229 vlVdpOutputSurfaceQueryCapabilities(VdpDevice device, VdpRGBAFormat surface_rgba_format, in vlVdpOutputSurfaceQueryCapabilities() argument
236 dev = vlGetDataHTAB(device); in vlVdpOutputSurfaceQueryCapabilities()
281 vlVdpOutputSurfaceQueryGetPutBitsNativeCapabilities(VdpDevice device, VdpRGBAFormat surface_rgba_format, in vlVdpOutputSurfaceQueryGetPutBitsNativeCapabilities() argument
288 dev = vlGetDataHTAB(device); in vlVdpOutputSurfaceQueryGetPutBitsNativeCapabilities()
319 vlVdpOutputSurfaceQueryPutBitsIndexedCapabilities(VdpDevice device, VdpRGBAFormat surface_rgba_format, VdpIndexedFormat bits_indexed_format, VdpColorTableFormat color_table_format, VdpBool *is_supported) vlVdpOutputSurfaceQueryPutBitsIndexedCapabilities() argument
380 vlVdpOutputSurfaceQueryPutBitsYCbCrCapabilities(VdpDevice device, VdpRGBAFormat surface_rgba_format, VdpYCbCrFormat bits_ycbcr_format, VdpBool *is_supported) vlVdpOutputSurfaceQueryPutBitsYCbCrCapabilities() argument
429 vlVdpBitmapSurfaceQueryCapabilities(VdpDevice device, VdpRGBAFormat surface_rgba_format, VdpBool *is_supported, uint32_t *max_width, uint32_t *max_height) vlVdpBitmapSurfaceQueryCapabilities() argument
480 vlVdpVideoMixerQueryFeatureSupport(VdpDevice device, VdpVideoMixerFeature feature, VdpBool *is_supported) vlVdpVideoMixerQueryFeatureSupport() argument
505 vlVdpVideoMixerQueryParameterSupport(VdpDevice device, VdpVideoMixerParameter parameter, VdpBool *is_supported) vlVdpVideoMixerQueryParameterSupport() argument
529 vlVdpVideoMixerQueryParameterValueRange(VdpDevice device, VdpVideoMixerParameter parameter, void *min_value, void *max_value) vlVdpVideoMixerQueryParameterValueRange() argument
574 vlVdpVideoMixerQueryAttributeSupport(VdpDevice device, VdpVideoMixerAttribute attribute, VdpBool *is_supported) vlVdpVideoMixerQueryAttributeSupport() argument
600 vlVdpVideoMixerQueryAttributeValueRange(VdpDevice device, VdpVideoMixerAttribute attribute, void *min_value, void *max_value) vlVdpVideoMixerQueryAttributeValueRange() argument
[all...]
/third_party/mesa3d/src/intel/vulkan/
H A Danv_pipeline_cache.c39 anv_shader_bin_deserialize(struct vk_device *device,
46 struct anv_device *device = in anv_shader_bin_destroy() local
47 container_of(object->device, struct anv_device, vk); in anv_shader_bin_destroy()
51 anv_state_pool_free(&device->instruction_state_pool, shader->kernel); in anv_shader_bin_destroy()
53 vk_free(&device->vk.alloc, shader); in anv_shader_bin_destroy()
68 anv_shader_bin_create(struct anv_device *device, in anv_shader_bin_create() argument
96 if (!vk_multialloc_alloc(&ma, &device->vk.alloc, in anv_shader_bin_create()
101 vk_pipeline_cache_object_init(&device->vk, &shader->base, in anv_shader_bin_create()
107 anv_state_pool_alloc(&device->instruction_state_pool, kernel_size, 64); in anv_shader_bin_create()
145 brw_write_shader_relocs(&device in anv_shader_bin_create()
239 struct anv_device *device = anv_shader_bin_deserialize() local
298 anv_device_search_for_kernel(struct anv_device *device, struct vk_pipeline_cache *cache, const void *key_data, uint32_t key_size, bool *user_cache_hit) anv_device_search_for_kernel() argument
322 anv_device_upload_kernel(struct anv_device *device, struct vk_pipeline_cache *cache, gl_shader_stage stage, const void *key_data, uint32_t key_size, const void *kernel_data, uint32_t kernel_size, const struct brw_stage_prog_data *prog_data, uint32_t prog_data_size, const struct brw_compile_stats *stats, uint32_t num_stats, const nir_xfb_info *xfb_info, const struct anv_pipeline_bind_map *bind_map) anv_device_upload_kernel() argument
357 anv_device_search_for_nir(struct anv_device *device, struct vk_pipeline_cache *cache, const nir_shader_compiler_options *nir_options, unsigned char sha1_key[SHA1_KEY_SIZE], void *mem_ctx) anv_device_search_for_nir() argument
371 anv_device_upload_nir(struct anv_device *device, struct vk_pipeline_cache *cache, const struct nir_shader *nir, unsigned char sha1_key[SHA1_KEY_SIZE]) anv_device_upload_nir() argument
[all...]
/third_party/libinput/tools/
H A Dlibinput-measure-touch-size.py103 def __init__(self, device, tracking_id):
104 self.device = device
126 if touch.major < self.device.up or touch.minor < self.device.up:
128 elif touch.major > self.device.down or touch.minor > self.device.down:
132 self.is_palm = touch.major > self.device.palm
136 self.is_thumb = self.device.thumb != 0 and touch.major > self.device
[all...]
/third_party/mesa3d/src/vulkan/runtime/
H A Dvk_synchronization2.c40 struct vk_device *device = cmd_buffer->base.device; in vk_common_CmdWriteTimestamp() local
42 device->dispatch_table.CmdWriteTimestamp2KHR(commandBuffer, in vk_common_CmdWriteTimestamp()
115 struct vk_device *device = cmd_buffer->base.device; in vk_common_CmdPipelineBarrier() local
150 device->dispatch_table.CmdPipelineBarrier2KHR(commandBuffer, &dep_info); in vk_common_CmdPipelineBarrier()
164 struct vk_device *device = cmd_buffer->base.device; in vk_common_CmdSetEvent() local
177 device->dispatch_table.CmdSetEvent2KHR(commandBuffer, event, &dep_info); in vk_common_CmdSetEvent()
187 struct vk_device *device in vk_common_CmdResetEvent() local
209 struct vk_device *device = cmd_buffer->base.device; vk_common_CmdWaitEvents() local
265 struct vk_device *device = cmd_buffer->base.device; vk_common_CmdWriteBufferMarkerAMD() local
291 struct vk_device *device = queue->base.device; vk_common_QueueSubmit() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
H A DvktSynchronizationImageLayoutTransitionTests.cpp86 Move<VkBuffer> makeVertexBuffer (const DeviceInterface& vk, const VkDevice device, const deUint32 queueFamilyIndex) in makeVertexBuffer() argument
100 Move<VkBuffer> vertexBuffer = createBuffer(vk, device, &vertexBufferParams);; in makeVertexBuffer()
175 const VkDevice device = m_context.getDevice(); in iterate() local
187 Move<VkBuffer> vertexBuffer = makeVertexBuffer(vk, device, queueFamilyIndex); in iterate()
188 MovePtr<Allocation> vertexBufferAlloc = bindBuffer(vk, device, allocator, *vertexBuffer, MemoryRequirement::HostVisible); in iterate()
192 flushAlloc(vk, device, *vertexBufferAlloc); in iterate()
196 const ImageWithMemory targetImage (vk, device, m_context.getDefaultAllocator(), targetCreateInfo, MemoryRequirement::Any); in iterate()
197 Move<VkImageView> targetImageView = makeImageView(vk, device, *targetImage, VK_IMAGE_VIEW_TYPE_2D, FORMAT, targetSubresourceRange); in iterate()
199 const Move<VkCommandPool> cmdPool = createCommandPool(vk, device, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, queueFamilyIndex); in iterate()
200 const Move<VkCommandBuffer> cmdBuffer = allocateCommandBuffer(vk, device, *cmdPoo in iterate()
[all...]
/third_party/skia/third_party/externals/dawn/src/dawn_native/null/
H A DDeviceNull.cpp100 Ref<Device> device = AcquireRef(new Device(adapter, descriptor)); in Create() local
101 DAWN_TRY(device->Initialize()); in Create()
102 return device.Detach(); in Create()
277 BindGroup::BindGroup(DeviceBase* device, const BindGroupDescriptor* descriptor) in BindGroup() argument
279 BindGroupBase(device, descriptor, mBindingDataAllocation) { in BindGroup()
284 BindGroupLayout::BindGroupLayout(DeviceBase* device, in BindGroupLayout() argument
287 : BindGroupLayoutBase(device, descriptor, pipelineCompatibilityToken) { in BindGroupLayout()
292 Buffer::Buffer(Device* device, const BufferDescriptor* descriptor) in Buffer() argument
293 : BufferBase(device, descriptor) { in Buffer()
346 QuerySet::QuerySet(Device* device, cons argument
352 Queue(Device* device) Queue() argument
359 Device* device = ToBackend(GetDevice()); SubmitImpl() local
389 Create(Device* device, Surface* surface, NewSwapChainBase* previousSwapChain, const SwapChainDescriptor* descriptor) Create() argument
443 OldSwapChain(Device* device, const SwapChainDescriptor* descriptor) OldSwapChain() argument
486 StagingBuffer(size_t size, Device* device) StagingBuffer() argument
[all...]
/third_party/skia/third_party/externals/dawn/src/dawn_native/
H A DPipelineLayout.cpp29 DeviceBase* device, in ValidatePipelineLayoutDescriptor()
42 DAWN_TRY(device->ValidateObject(descriptor->bindGroupLayouts[i])); in ValidatePipelineLayoutDescriptor()
59 PipelineLayoutBase::PipelineLayoutBase(DeviceBase* device, in PipelineLayoutBase() argument
62 : ApiObjectBase(device, descriptor->label) { in PipelineLayoutBase()
71 PipelineLayoutBase::PipelineLayoutBase(DeviceBase* device, in PipelineLayoutBase() argument
73 : PipelineLayoutBase(device, descriptor, kUntrackedByDevice) { in PipelineLayoutBase()
77 PipelineLayoutBase::PipelineLayoutBase(DeviceBase* device) in PipelineLayoutBase() argument
78 : ApiObjectBase(device, kLabelNotImplemented) { in PipelineLayoutBase()
82 PipelineLayoutBase::PipelineLayoutBase(DeviceBase* device, ObjectBase::ErrorTag tag) in PipelineLayoutBase() argument
83 : ApiObjectBase(device, ta in PipelineLayoutBase()
28 ValidatePipelineLayoutDescriptor( DeviceBase* device, const PipelineLayoutDescriptor* descriptor, PipelineCompatibilityToken pipelineCompatibilityToken) ValidatePipelineLayoutDescriptor() argument
96 MakeError(DeviceBase* device) MakeError() argument
101 CreateDefault( DeviceBase* device, std::vector<StageAndDescriptor> stages) CreateDefault() argument
[all...]
/third_party/skia/infra/bots/recipe_modules/flavor/
H A Dandroid.py42 # A list of devices we can't root. If rooting fails and a device is not
48 # Maps device type -> CPU ids that should be scaled for nanobench.
50 # on Nexus5x). The CPUs listed are the biggest cpus on the device.
63 # Maps device type -> CPU ids that should be turned off when running
86 # ADB seems to be occasionally flaky on every device, so always retry.
97 'wait for device after failure of \'%s\' (attempt %d)' % (
99 cmd=[self.ADB_BINARY, 'wait-for-device'], infra_step=True,
111 device = self.m.vars.builder_cfg.get('model')
112 if (device in self.cant_root or
117 # ought to be back online now that we've restarted the device
[all...]

Completed in 19 milliseconds

1...<<21222324252627282930>>...115