/hardware/google/gfxstream/guest/mesa/src/vulkan/wsi/ |
D | wsi_common_x11.c | 1173 _x11_swapchain_result(struct x11_swapchain *chain, VkResult result, in _x11_swapchain_result() argument 1177 x11_swapchain_notify_error(chain, result); in _x11_swapchain_result() 1180 if (chain->status < 0) in _x11_swapchain_result() 1181 return chain->status; in _x11_swapchain_result() 1189 chain->status = result; in _x11_swapchain_result() 1202 if (chain->status != VK_SUBOPTIMAL_KHR) { in _x11_swapchain_result() 1207 chain->status = result; in _x11_swapchain_result() 1212 return chain->status; in _x11_swapchain_result() 1214 #define x11_swapchain_result(chain, result) \ argument 1215 _x11_swapchain_result(chain, result, __FILE__, __LINE__) [all …]
|
D | wsi_common_win32.cpp | 71 struct wsi_win32_swapchain *chain; member 424 struct wsi_win32_swapchain *chain = (struct wsi_win32_swapchain *)drv_chain; in wsi_create_dxgi_image_mem() local 425 const struct wsi_device *wsi = chain->base.wsi; in wsi_create_dxgi_image_mem() 427 assert(chain->base.blit.type != WSI_SWAPCHAIN_BUFFER_BLIT); in wsi_create_dxgi_image_mem() 432 ((uintptr_t)win32_image - (uintptr_t)chain->images) / in wsi_create_dxgi_image_mem() 434 if (FAILED(chain->dxgi->GetBuffer(image_idx, in wsi_create_dxgi_image_mem() 439 wsi->win32.create_image_memory(chain->base.device, in wsi_create_dxgi_image_mem() 441 &chain->base.alloc, in wsi_create_dxgi_image_mem() 442 chain->base.blit.type == WSI_SWAPCHAIN_NO_BLIT ? in wsi_create_dxgi_image_mem() 447 if (chain->base.blit.type == WSI_SWAPCHAIN_NO_BLIT) in wsi_create_dxgi_image_mem() [all …]
|
D | wsi_common_headless.c | 277 struct wsi_headless_swapchain *chain = in wsi_headless_swapchain_get_wsi_image() local 279 return &chain->images[image_index].base; in wsi_headless_swapchain_get_wsi_image() 287 struct wsi_headless_swapchain *chain = in wsi_headless_swapchain_acquire_next_image() local 299 for (uint32_t i = 0; i < chain->base.image_count; i++) { in wsi_headless_swapchain_acquire_next_image() 300 if (!chain->images[i].busy) { in wsi_headless_swapchain_acquire_next_image() 303 chain->images[i].busy = true; in wsi_headless_swapchain_acquire_next_image() 322 struct wsi_headless_swapchain *chain = in wsi_headless_swapchain_queue_present() local 325 assert(image_index < chain->base.image_count); in wsi_headless_swapchain_queue_present() 327 chain->images[image_index].busy = false; in wsi_headless_swapchain_queue_present() 336 struct wsi_headless_swapchain *chain = in wsi_headless_swapchain_destroy() local [all …]
|
D | wsi_common_wayland.c | 149 struct wsi_wl_swapchain *chain; member 1494 struct wsi_wl_swapchain *chain = wsi_wl_surface->chain; in surface_dmabuf_feedback_done() local 1516 f = pick_format_from_surface_dmabuf_feedback(wsi_wl_surface, chain->vk_format); in surface_dmabuf_feedback_done() 1519 chain->num_drm_modifiers, in surface_dmabuf_feedback_done() 1520 chain->drm_modifiers)) in surface_dmabuf_feedback_done() 1521 wsi_wl_surface->chain->suboptimal = true; in surface_dmabuf_feedback_done() 1639 struct wsi_wl_swapchain *chain; member 1647 struct wsi_wl_swapchain *chain = (struct wsi_wl_swapchain *)wsi_chain; in wsi_wl_swapchain_get_wsi_image() local 1648 return &chain->images[image_index].base; in wsi_wl_swapchain_get_wsi_image() 1655 struct wsi_wl_swapchain *chain = (struct wsi_wl_swapchain *)wsi_chain; in wsi_wl_swapchain_release_images() local [all …]
|
D | wsi_common_drm.c | 98 prepare_signal_dma_buf_from_semaphore(struct wsi_swapchain *chain, in prepare_signal_dma_buf_from_semaphore() argument 103 if (!(chain->wsi->semaphore_export_handle_types & in prepare_signal_dma_buf_from_semaphore() 126 result = chain->wsi->CreateSemaphore(chain->device, &semaphore_info, in prepare_signal_dma_buf_from_semaphore() 127 &chain->alloc, in prepare_signal_dma_buf_from_semaphore() 128 &chain->dma_buf_semaphore); in prepare_signal_dma_buf_from_semaphore() 136 wsi_prepare_signal_dma_buf_from_semaphore(struct wsi_swapchain *chain, in wsi_prepare_signal_dma_buf_from_semaphore() argument 142 if (unlikely(chain->signal_dma_buf_from_semaphore == 0)) { in wsi_prepare_signal_dma_buf_from_semaphore() 143 result = prepare_signal_dma_buf_from_semaphore(chain, image); in wsi_prepare_signal_dma_buf_from_semaphore() 145 chain->signal_dma_buf_from_semaphore = (int)result - 1; in wsi_prepare_signal_dma_buf_from_semaphore() 147 result = (VkResult)(chain->signal_dma_buf_from_semaphore + 1); in wsi_prepare_signal_dma_buf_from_semaphore() [all …]
|
D | wsi_common.c | 346 configure_image(const struct wsi_swapchain *chain, in configure_image() argument 355 return wsi_configure_cpu_image(chain, pCreateInfo, cpu_params, info); in configure_image() 361 return wsi_drm_configure_image(chain, pCreateInfo, drm_params, info); in configure_image() 368 return wsi_dxgi_configure_image(chain, pCreateInfo, dxgi_params, info); in configure_image() 404 struct wsi_swapchain *chain, in wsi_swapchain_init() argument 413 memset(chain, 0, sizeof(*chain)); in wsi_swapchain_init() 415 vk_object_base_init(device, &chain->base, VK_OBJECT_TYPE_SWAPCHAIN_KHR); in wsi_swapchain_init() 417 chain->wsi = wsi; in wsi_swapchain_init() 418 chain->device = _device; in wsi_swapchain_init() 419 chain->alloc = *pAllocator; in wsi_swapchain_init() [all …]
|
D | wsi_common_private.h | 106 VkResult (*create_mem)(const struct wsi_swapchain *chain, 110 VkResult (*finish_create)(const struct wsi_swapchain *chain, 213 struct wsi_swapchain *chain, 223 void wsi_swapchain_finish(struct wsi_swapchain *chain); 244 wsi_drm_configure_image(const struct wsi_swapchain *chain, 250 wsi_dxgi_configure_image(const struct wsi_swapchain *chain, 260 wsi_configure_cpu_image(const struct wsi_swapchain *chain, 266 wsi_create_buffer_blit_context(const struct wsi_swapchain *chain, 273 wsi_finish_create_blit_context(const struct wsi_swapchain *chain, 278 wsi_configure_buffer_image(UNUSED const struct wsi_swapchain *chain, [all …]
|
D | wsi_common_display.c | 138 struct wsi_display_swapchain *chain; member 1133 struct wsi_display_swapchain *chain = in wsi_display_image_init() local 1135 struct wsi_display *wsi = chain->wsi; in wsi_display_image_init() 1150 VkResult result = wsi_create_image(&chain->base, &chain->base.image_info, in wsi_display_image_init() 1164 image->chain = chain; in wsi_display_image_init() 1189 wsi_destroy_image(&chain->base, &image->base); in wsi_display_image_init() 1198 struct wsi_display_swapchain *chain = in wsi_display_image_finish() local 1200 struct wsi_display *wsi = chain->wsi; in wsi_display_image_finish() 1205 wsi_destroy_image(&chain->base, &image->base); in wsi_display_image_finish() 1212 struct wsi_display_swapchain *chain = in wsi_display_swapchain_destroy() local [all …]
|
/hardware/interfaces/security/keymint/support/ |
D | remote_prov_utils_test.cpp | 154 auto& [chain, pubkey, privkey] = *get_eek_result; in TEST() 157 /*testMode=*/true, KeymasterBlob(chain.data(), chain.size())); in TEST() 167 auto chain = getProdEekChain(RpcHardwareInfo::CURVE_25519); in TEST() local 170 /*testMode=*/false, KeymasterBlob(chain.data(), chain.size())); in TEST() 219 auto& [chain, pubkey, privkey] = *get_eek_result; in TEST() 222 /*testMode=*/true, KeymasterBlob(chain.data(), chain.size())); in TEST() 235 auto chain = getProdEekChain(RpcHardwareInfo::CURVE_P256); in TEST() local 238 /*testMode=*/false, KeymasterBlob(chain.data(), chain.size())); in TEST()
|
D | remote_prov_utils.cpp | 311 cppbor::Array chain; in getProdEekChain() local 313 chain.add(cppbor::EncodedItem(bytevec(std::begin(kCoseEncodedEcdsa256RootCert), in getProdEekChain() 315 chain.add(cppbor::EncodedItem(bytevec(std::begin(kCoseEncodedEcdsa256GeekCert), in getProdEekChain() 318 chain.add(cppbor::EncodedItem( in getProdEekChain() 320 chain.add(cppbor::EncodedItem( in getProdEekChain() 323 return chain.encode(); in getProdEekChain() 329 auto chain = hwtrust::DiceChain::Verify(encodedBcc, kind); in validateBcc() local 330 if (!chain.ok()) return chain.error().message(); in validateBcc() 331 auto keys = chain->CosePublicKeys(); in validateBcc() 782 ErrMsgOr<bytevec> validateCertChain(const cppbor::Array& chain) { in validateCertChain() argument [all …]
|
/hardware/interfaces/security/keymint/aidl/default/ta/ |
D | attest.rs | 368 chain: Vec<keymint::Certificate>, field 383 chain: vec![ in new() 398 chain: vec![ in new() 421 SigningAlgorithm::Rsa => self.rsa_info.chain.clone(), in cert_chain() 422 SigningAlgorithm::Ec => self.ec_info.chain.clone(), in cert_chain()
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/config/CI/ |
D | writing | 3 pname:pNext extension chain 4 pname:pNext-chain 7 present in.*the pname:pNext chain 10 …ail|points to|[Rr]enderpass|[Rr]e-use|[Ss]ide-effect|[Ss]ignalled|[Ss]wap chain|[Tt]esselation|[Uu…
|
/hardware/interfaces/wifi/1.2/ |
D | IWifiChipEventCallback.hal | 27 * Struct describing the state of each iface operating on the radio chain 38 * Struct describing the state of each hardware radio chain (hardware MAC) 43 * Identifier for this radio chain. This is vendor dependent & used 48 * List of bands on which this radio chain is operating. 56 /** List of interfaces on this radio chain (hardware MAC). */ 68 * radio chain (hardware MAC) on the device.
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_EXT_metal_objects/ |
D | device_memory.adoc | 14 exported from those Vulkan objects using the pname:pNext chain of the 20 slink:VkImportMetalBufferInfoEXT structure in the pname:pNext chain of the 26 slink:VkImportMetalTextureInfoEXT structures in the pname:pNext chain of the 34 the pname:pNext chain of the slink:VkInstanceCreateInfo, 91 slink:VkExportMetalObjectsInfoEXT structure whose pname:pNext chain 98 [open,refpage='VkExportMetalObjectsInfoEXT',desc='Structure whose pNext chain identifies Vulkan obj… 111 If the pname:pNext chain includes a slink:VkExportMetalDeviceInfoEXT 116 chain of the slink:VkInstanceCreateInfo structure in the 119 If the pname:pNext chain includes a 125 chain of the slink:VkInstanceCreateInfo structure in the [all …]
|
/hardware/interfaces/wifi/1.4/ |
D | IWifiChipEventCallback.hal | 27 * Struct describing the state of each hardware radio chain (hardware MAC) 32 * Identifier for this radio chain. This is vendor dependent & used 38 * List of bands on which this radio chain is operating. 53 * List of interfaces on this radio chain (hardware MAC). 66 * radio chain (hardware MAC) on the device.
|
/hardware/google/interfaces/bluetooth/sar/1.1/ |
D | IBluetoothSar.hal | 27 * This API must be invoke whenever maximum Bluetooth Tx power of each mode, include chain 0, 28 * chain 1 and beamforming mode, need to be changed for optimising performance purpose in SAR 31 * @param chain0Cap Bluetooth Tx cap of chain 0 mode. Range is between 0 and 80 units, each unit 33 * @param chain1Cap Bluetooth Tx cap of chain 1 mode. Range is between 0 and 80 units, each unit
|
/hardware/libhardware/include_all/hardware/ |
D | keymaster_defs.h | 690 inline void keymaster_free_cert_chain(keymaster_cert_chain_t* chain) { in keymaster_free_cert_chain() argument 691 if (chain) { in keymaster_free_cert_chain() 692 for (size_t i = 0; i < chain->entry_count; ++i) { in keymaster_free_cert_chain() 693 free((uint8_t*)chain->entries[i].data); in keymaster_free_cert_chain() 694 chain->entries[i].data = NULL; in keymaster_free_cert_chain() 695 chain->entries[i].data_length = 0; in keymaster_free_cert_chain() 697 free(chain->entries); in keymaster_free_cert_chain() 698 chain->entries = NULL; in keymaster_free_cert_chain() 699 chain->entry_count = 0; in keymaster_free_cert_chain()
|
/hardware/libhardware/include/hardware/ |
D | keymaster_defs.h | 690 inline void keymaster_free_cert_chain(keymaster_cert_chain_t* chain) { in keymaster_free_cert_chain() argument 691 if (chain) { in keymaster_free_cert_chain() 692 for (size_t i = 0; i < chain->entry_count; ++i) { in keymaster_free_cert_chain() 693 free((uint8_t*)chain->entries[i].data); in keymaster_free_cert_chain() 694 chain->entries[i].data = NULL; in keymaster_free_cert_chain() 695 chain->entries[i].data_length = 0; in keymaster_free_cert_chain() 697 free(chain->entries); in keymaster_free_cert_chain() 698 chain->entries = NULL; in keymaster_free_cert_chain() 699 chain->entry_count = 0; in keymaster_free_cert_chain()
|
/hardware/interfaces/security/rkp/aidl/vts/functional/ |
D | VtsRemotelyProvisionedComponentTests.cpp | 131 auto [chain, _, parseErr] = cppbor::parse(encodedEekChain); in corrupt_sig_chain() 132 if (!chain || !chain->asArray()) { in corrupt_sig_chain() 136 cppbor::Array* eekChain = chain->asArray(); in corrupt_sig_chain() 433 auto chain = generateEekChain(rpcHardwareInfo.supportedEekCurve, eekLength, eekId_); in generateTestEekChain() local 434 ASSERT_TRUE(chain) << chain.message(); in generateTestEekChain() 435 if (chain) testEekChain_ = chain.moveValue(); in generateTestEekChain() 489 testMode, {} /* keysToSign */, testEekChain_.chain, challenge_, &deviceInfo, in TEST_P() 514 testMode, {} /* keysToSign */, testEekChain_.chain, challenge_, &deviceInfo, in TEST_P() 524 testMode, {} /* keysToSign */, testEekChain_.chain, challenge_, &deviceInfo, in TEST_P() 574 testMode, keysToSign_, testEekChain_.chain, challenge_, &deviceInfo, &protectedData, in TEST_P() [all …]
|
/hardware/interfaces/tests/foo/1.0/ |
D | ISimple.hal | 21 customVecInt() generates (vec<int32_t> chain); 22 customVecStr() generates (vec<string> chain);
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/ |
D | VK_KHR_get_physical_device_properties2.adoc | 27 members, so an application can query a chain of feature/limit/formatproperty 28 structures by constructing the chain and letting the implementation fill 32 The new feature structure (and a pname:pNext chain of extending structures)
|
D | VK_KHR_get_memory_requirements2.adoc | 29 application can query a chain of memory requirements structures by 30 constructing the chain and letting the implementation fill them in.
|
D | VK_QCOM_filter_cubic_weights.adoc | 24 chain of slink:VkSamplerCreateInfo that can: be used to specify which set of 26 A similar structure can be added to the pname:pNext chain of
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_EXT_subpass_merge_feedback/ |
D | renderpass.adoc | 13 pname:pNext chain of sname:VkRenderPassCreateInfo2 or pname:pNext chain of 26 pname:pNext chain of slink:VkRenderPassCreateInfo2 and its value of 30 pname:pNext chain of slink:VkSubpassDescription2 and its value of 41 chain of slink:VkRenderPassCreateInfo2. 71 chain of slink:VkSubpassDescription2.
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/proposals/ |
D | VK_EXT_surface_maintenance1.adoc | 96 To query the min and max image counts for a specific present mode, chain the 115 To query supported scaling behavior, chain `VkSurfacePresentModeEXT` to 116 `VkPhysicalDeviceSurfaceInfo2KHR` and chain the following to 168 purposes of mode switching, chain `VkSurfacePresentModeEXT` to 169 `VkPhysicalDeviceSurfaceInfo2KHR` and chain the following to
|