/hardware/google/gfxstream/host/vulkan/cereal/common/ |
D | goldfish_vk_deepcopy.cpp | 49 VkExtent2D* to) { in deepcopy_VkExtent2D() argument 52 *to = *from; in deepcopy_VkExtent2D() 56 VkExtent3D* to) { in deepcopy_VkExtent3D() argument 59 *to = *from; in deepcopy_VkExtent3D() 63 VkOffset2D* to) { in deepcopy_VkOffset2D() argument 66 *to = *from; in deepcopy_VkOffset2D() 70 VkOffset3D* to) { in deepcopy_VkOffset3D() argument 73 *to = *from; in deepcopy_VkOffset3D() 77 VkRect2D* to) { in deepcopy_VkRect2D() argument 80 *to = *from; in deepcopy_VkRect2D() [all …]
|
D | goldfish_vk_deepcopy.h | 47 VkExtent2D* to); 50 VkExtent3D* to); 53 VkOffset2D* to); 56 VkOffset3D* to); 59 VkRect2D* to); 62 const VkBaseInStructure* from, VkBaseInStructure* to); 65 const VkBaseOutStructure* from, VkBaseOutStructure* to); 68 const VkBufferMemoryBarrier* from, VkBufferMemoryBarrier* to); 72 VkDispatchIndirectCommand* to); 76 VkDrawIndexedIndirectCommand* to); [all …]
|
/hardware/google/gfxstream/guest/vulkan_enc/ |
D | goldfish_vk_deepcopy_guest.cpp | 49 VkExtent2D* to) { in deepcopy_VkExtent2D() argument 52 *to = *from; in deepcopy_VkExtent2D() 56 VkExtent3D* to) { in deepcopy_VkExtent3D() argument 59 *to = *from; in deepcopy_VkExtent3D() 63 VkOffset2D* to) { in deepcopy_VkOffset2D() argument 66 *to = *from; in deepcopy_VkOffset2D() 70 VkOffset3D* to) { in deepcopy_VkOffset3D() argument 73 *to = *from; in deepcopy_VkOffset3D() 77 VkRect2D* to) { in deepcopy_VkRect2D() argument 80 *to = *from; in deepcopy_VkRect2D() [all …]
|
D | goldfish_vk_deepcopy_guest.h | 54 VkExtent2D* to); 57 VkExtent3D* to); 60 VkOffset2D* to); 63 VkOffset3D* to); 66 VkRect2D* to); 69 const VkBaseInStructure* from, VkBaseInStructure* to); 72 const VkBaseOutStructure* from, VkBaseOutStructure* to); 75 const VkBufferMemoryBarrier* from, VkBufferMemoryBarrier* to); 79 VkDispatchIndirectCommand* to); 83 VkDrawIndexedIndirectCommand* to); [all …]
|
/hardware/interfaces/common/support/ |
D | test.cpp | 66 native_handle_t* to = makeFromAidl(handle); in TEST() local 67 checkEq(handle, to, false /*exceptFds*/); in TEST() 69 EXPECT_EQ(0, native_handle_delete(to)); in TEST() 75 native_handle_t* to = makeFromAidl(handle); in TEST() local 76 checkEq(handle, to, false /*exceptFds*/); in TEST() 78 EXPECT_EQ(0, native_handle_delete(to)); in TEST() 83 native_handle_t* to = dupFromAidl(handle); in TEST() local 84 checkEq(handle, to, true /*exceptFds*/); in TEST() 85 EXPECT_EQ(0, native_handle_close(to)); in TEST() 86 EXPECT_EQ(0, native_handle_delete(to)); in TEST() [all …]
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/ |
D | VK_NV_external_sci_sync2.adoc | 20 An application using external memory may wish to synchronize access to that 22 This extension enables an application to import semaphore and import/export 23 fence payloads to and from stext:NvSciSync objects. 24 To import a stext:NvSciSyncObj to a slink:VkSemaphore or slink:VkFence, 25 applications need to: 35 * To import a stext:NvSciSyncObj to a slink:VkSemaphore, create a 38 slink:VkSemaphoreSciSyncCreateInfoNV structure to 40 * To import a stext:NvSciSyncObj to a slink:VkFence, pass the 41 slink:VkImportFenceSciSyncInfoNV structure to the 44 To import/export a stext:NvSciSyncFence to a slink:VkFence object, that [all …]
|
D | VK_KHR_video_queue.adoc | 25 This extension provides common APIs to enable exposing queue families with 29 * Video session objects that represent and maintain the state needed to 34 In addition, it also introduces query commands that allow applications to 38 This extension is to be used in conjunction with other extensions that 52 ** Rename `VkVideoCapabilitiesFlagBitsKHR` to 54 defines) and `VkVideoCapabilitiesFlagsKHR` to 58 specific extensions to this extension. 67 ** Rename `VkQueueFamilyQueryResultStatusProperties2KHR` to 69 ** Rename `VkVideoQueueFamilyProperties2KHR` to 71 ** Rename `VkVideoProfileKHR` to `VkVideoProfileInfoKHR` [all …]
|
D | VK_EXT_video_encode_h264.adoc | 46 ** Rename `VkVideoEncodeH264CapabilitiesFlagsEXT` to 48 `VkVideoEncodeH264CapabilitiesFlagsEXT` to 54 ** Align VkVideoEncodeH264VclFrameInfoEXT structure to similar one in 57 ** Updates to encode capability interface 59 ** Relocate Std header version reporting/requesting from this extension to 65 ** Add capability flag to report support to use B frame in L1 reference 67 ** Add capability flag to report support for disabling SPS 72 ** Rename `VkVideoEncodeH264ProfileEXT` to 74 ** Rename `VkVideoEncodeH264ReferenceListsEXT` to 76 ** Rename `VkVideoEncodeH264EmitPictureParametersEXT` to [all …]
|
D | VK_KHR_wayland_surface.adoc | 34 It provides a mechanism to create a slink:VkSurfaceKHR object (defined by 35 the `apiext:VK_KHR_surface` extension) that refers to a Wayland 36 code:wl_surface, as well as a query to determine support for rendering to a 43 1) Does Wayland need a way to query for compatibility between a particular 47 `struct wl_display*`) pair, then the physical device could be assumed to 48 support presentation to any slink:VkSurfaceKHR for surfaces on the display. 51 flink:vkGetPhysicalDeviceWaylandPresentationSupportKHR was added to address 55 to support the ename:VK_PRESENT_MODE_MAILBOX_KHR present mode? 59 required for some Wayland compositor interactions to work as expected. 61 ename:VK_PRESENT_MODE_FIFO_KHR, it is much more difficult to do without [all …]
|
D | VK_EXT_video_encode_h265.adoc | 48 structures/enums to reflect this. 50 ** Updates to encode capability interface 52 ** Relocate Std header version reporting/requesting from this extension to 56 ** Add capability flags to report support to disable transform skip and 57 support to use B frame in L1 reference list. 61 ** Rename `VkVideoEncodeH265ProfileEXT` to 63 ** Rename `VkVideoEncodeH265ReferenceListsEXT` to 65 ** Rename `VkVideoEncodeH265EmitPictureParametersEXT` to 67 ** Rename `VkVideoEncodeH265NaluSliceSegmentEXT` to 71 `ppsStdCount`, and `pPpsStd` to `stdVPSCount`, `pStdVPSs`, [all …]
|
D | VK_KHR_video_encode_queue.adoc | 32 adding common APIs specific to video encoding and thus enabling 33 implementations to expose queue families supporting video encode operations. 39 This extension is to be used in conjunction with other codec specific video 52 Accordingly, all new pipeline stage and access flags have been added to the 53 corresponding 64-bit enum and no new flags have been added to the legacy 57 to include it. 65 ** Updated the reserved spec tokens and renamed VkVideoEncoderKHR to 72 ** Add interaction with `apiext:VK_KHR_format_feature_flags2` to `vk.xml` 74 ** Updates to encode capability interface 81 `VK_VIDEO_CODING_CONTROL_ENCODE_RATE_CONTROL_LAYER_BIT_KHR` to indicate [all …]
|
D | VK_KHR_external_semaphore_win32.adoc | 20 An application using external memory may wish to synchronize access to that 22 This extension enables an application to export semaphore payload to and 29 1) Do applications need to call code:CloseHandle() on the values returned 33 *RESOLVED*: Yes, unless it is passed back in to another driver instance to 35 A successful get call transfers ownership of the handle to the application. 37 reference to the underlying semaphore resource. 39 2) Should the language regarding KMT/Windows 7 handles be moved to a 46 3) Should applications be allowed to specify additional object attributes 50 Applications will be allowed to provide similar attributes to those they 51 would to any other handle creation API. [all …]
|
/hardware/interfaces/tests/msgq/1.0/ |
D | ITestMsgQ.hal | 10 * Unless required by applicable law or agreed to in writing, software 26 * This method requests the service to set up a synchronous read/write 30 * client. Server uses this descriptor to set up a FMQ object at its end. 37 * This method requests the service to return an MQDescriptor to 40 * method is to be used to test multiple reader processes. 44 * @param userFd True to initialize the message queue with a user supplied 46 * False to let the message queue use a single FD for everything. 50 * set up by the service. Client can use it to set up the FMQ at its end. 55 * This method request the service to write into the synchronized read/write 58 * @param count Number to messages to write. [all …]
|
/hardware/google/gfxstream/host/vulkan/emulated_textures/shaders/ |
D | AstcLookupTables.glsl | 3 // Number of trits, quints and bits that are used to encode the weights. 4 // Refer to "Table C.2.7 - Weight Range Encodings" 10 // Number of trits, quints, and bits that we are used to encode the color endpoints, sorted from 11 // largest to smallest. This is the data from "Table C.2.16", but with the addition of encodings 35 // Lookup table to decode a pack of 5 trits (encoded with 8 bits) 38 // Refer to "C.2.12 Integer Sequence Encoding" 55 // Lookup table to decode a pack of 3 quints (encoded with 7 bits) 58 // Refer to "C.2.12 Integer Sequence Encoding" 68 // Array to unquantize weights encoded with the trit + bits encoding. 69 // Use `3 * (2^bits - 1) + trit` to find the index in this table. [all …]
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/proposals/ |
D | VK_LUNARG_direct_driver_loading.adoc | 11 Adds an extension that allows applications to provide drivers to the loader during 16 There are several uses cases that cause applications to want to ship a driver with 17 themselves. Adding a fallback CPU driver is necessary in many web browsers to 20 several desktop Vulkan Loader mechanisms that allow applications to provide 24 * Some require an installer to be run. This necessitates an uninstaller, as well 25 as makes the driver 'global' to the system or user. 26 * They may require elevated privileges to use, such as with an installer, or 27 causes the solution to fail when running with elevated privileges, as with 32 * Installation to OS specific locations 33 a. Explicit installer and uninstaller needs to be run [all …]
|
D | VK_EXT_dynamic_rendering_unused_attachments.adoc | 12 many more pipeline objects to be created to work around the limitation. 17 bound within a render pass instance which may cause the application to have to create 18 multiple variants of the pipeline object in order to be compatible with the render 20 These restrictions were put in place to accommodate hardware that uses the pipeline 21 state to program the framebuffer layout for the render pass instance and cannot easily 23 state bound in the render pass instance to match, even if the mismatch is only between 37 application, or require pipeline objects to be generated just-in-time to 39 Alternatively it forces applications to split the render pass instance any time the 42 The current restrictions require there to be an exact match between the bound pipeline 46 The VUIDs that contribute to this limitation are: [all …]
|
D | VK_EXT_host_image_copy.adoc | 10 This document identifies inefficiencies with image data initialization and proposes an extension to… 14 Copying data to optimal-layout images in Vulkan requires staging the data in a buffer first, and us… 15 Similarly, copying data out of an optimal-layout image requires a copy to a buffer. 19 The application has to load the data to memory (one copy), then initialize the buffer (second copy)… 21 …ependent, or in the case of layering, because the layer is given a pointer to the data which is al… 23 The extra copy involved due to it going through a buffer is not just a performance cost though. 24 … as big as the image itself, and lives for a short duration until the copy is confirmed to be done. 26 This can lead to out-of-memory errors on some devices. 28 …roposes an extension that allows image data to be copied from/to host memory directly, obviating t… 29 …le copying to an optimal layout image on the CPU has its own costs, this extension can still lead … [all …]
|
D | VK_EXT_pipeline_protected_access.adoc | 10 This proposal regards pipeline access to protected memory, and provides the 11 means for applications to distinguish between pipelines that do and do not 16 Currently, access to protected memory is enabled with the 19 may be used to access protected memory. 23 Some applications may require access to protected memory in a handful of 27 Enabling the `protectedMemory` feature in such applications could lead to 31 This proposal addresses this problem by allowing applications to specify 36 The proposed solution is a new Vulkan extension that allows the application to 41 A `VkPipelineCreateFlagBits` flag can be specified to disallow 45 of a pipeline to protected command buffers. [all …]
|
/hardware/interfaces/biometrics/face/1.0/ |
D | types.hal | 10 * Unless required by applicable law or agreed to in writing, software 39 * One of the arguments to the method call is invalid. 62 * Require the user to look at the device during enrollment and 63 * authentication. Note this is to accommodate people who have limited 69 * Require a diverse set of poses during enrollment. Note this is to 91 * e.g. the sensor was unable to process the current image or the HAT was 97 * The current operation took too long to complete. This is intended to 102 * The timeout is a device-specific time meant to optimize power. For 103 * example after 30 seconds of searching for a face it can be use to 111 * storage space remaining to do so. [all …]
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/commonvalidity/ |
D | draw_common.adoc | 6 // Common to all drawing commands 12 sname:VkPipeline bound to ename:VK_PIPELINE_BIND_POINT_GRAPHICS 14 The subpass index of the current render pass must: be equal to the 16 specified when creating the sname:VkPipeline bound to 20 descriptor must: be bound to the pipeline via a descriptor set 24 decorated with an code:InputAttachmentIndex that corresponds to a valid 54 ** the last call to flink:vkCmdSetAttachmentFeedbackLoopEnableEXT included 81 ** the last call to flink:vkCmdSetAttachmentFeedbackLoopEnableEXT included 108 ** the last call to flink:vkCmdSetAttachmentFeedbackLoopEnableEXT included 129 than as an attachment, this command must: not write to that image [all …]
|
D | draw_mesh_limits_common.adoc | 9 If the current pipeline bound to ename:VK_PIPELINE_BIND_POINT_GRAPHICS 11 pname:groupCountX must: be less than or equal to 14 If the current pipeline bound to ename:VK_PIPELINE_BIND_POINT_GRAPHICS 16 pname:groupCountY must: be less than or equal to 19 If the current pipeline bound to ename:VK_PIPELINE_BIND_POINT_GRAPHICS 21 pname:groupCountZ must: be less than or equal to 24 If the current pipeline bound to ename:VK_PIPELINE_BIND_POINT_GRAPHICS 27 less than or equal to 30 If the current pipeline bound to ename:VK_PIPELINE_BIND_POINT_GRAPHICS 32 pname:groupCountX must: be less than or equal to [all …]
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/ |
D | VK_EXT_debug_marker.adoc | 11 Debug markers provide a flexible way for debugging and validation layers to 15 to associate a name or binary data with a Vulkan object. 18 describes how to associate logical elements of the scene with commands in 25 The commands in this section allow application developers to associate 28 [open,refpage='vkDebugMarkerSetObjectNameEXT',desc='Give a user-friendly name to an object',type='p… 35 * pname:pNameInfo is a pointer to a slink:VkDebugMarkerObjectNameInfoEXT 36 structure specifying the parameters of the name to set on the object. 41 [open,refpage='VkDebugMarkerObjectNameInfoEXT',desc='Specify parameters of a name to give to an obj… 48 * pname:pNext is `NULL` or a pointer to a structure extending this 51 type of the object to be named. [all …]
|
/hardware/interfaces/contexthub/1.0/ |
D | IContexthubCallback.hal | 10 * Unless required by applicable law or agreed to in writing, software 21 * This callback is passed by the Contexthub service to the HAL 22 * implementation to allow the HAL to send asynchronous messages back 23 * to the service and registered clients of the ContextHub service. 31 * This callback is passed by the Contexthub service to the HAL 32 * implementation to allow the HAL to send the response for a 43 * This callback is passed by the Contexthub service to the HAL 44 * implementation to allow the HAL to send an asynchronous event 45 * to the ContextHub service. 53 * This callback is passed by the Contexthub service to the HAL [all …]
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_EXT_swapchain_maintenance1/ |
D | SwapchainPresentModeInfo.adoc | 12 * pname:pNext is `NULL` or a pointer to a structure extending this 14 * pname:swapchainCount is the number of swapchains being presented to by 26 for presentation will continue to be presented according to the previous 29 be presented according to the new present mode. 34 * Transition from ename:VK_PRESENT_MODE_SHARED_CONTINUOUS_REFRESH_KHR to 36 updates the shared presentable image according to the behavior of 38 * Transition from ename:VK_PRESENT_MODE_SHARED_DEMAND_REFRESH_KHR to 40 engine may: update the shared presentable image or defer that to its 41 regular refresh cycle, according to the behavior of 45 ename:VK_PRESENT_MODE_FIFO_RELAXED_KHR: Images continue to be appended [all …]
|
/hardware/interfaces/tv/tuner/1.0/ |
D | IDescrambler.hal | 10 * Unless required by applicable law or agreed to in writing, software 22 * Descrambler is used to descramble input data. 29 * It is used by the client to specify a demux as source of this 33 * @param demuxId the id of the demux to be used as descrambler's source. 42 * Set a key token to link descrambler to a key slot 44 * It is used by the client to link a hardware key slot to a descrambler. 45 * A descrambler instance can have only one key slot to link, but a key 48 * @param keyToken the token to be used to link the key slot. 57 * Add packets' PID to the descrambler for descrambling 59 * It is used by the client to specify Package ID (PID) of packets which the [all …]
|