/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/ |
D | json_parser.py | 378 code = "" 379 …code += "static void parse_%s(const char* s, Json::Value& obj, %s& o)\n" %(baseType, self.baseType… 380 code += "{\n" 382 code += " if (obj.isString())\n" 384 …code += " %sif (obj.asString() == \"%s\")\n" %("else " if index > 0 else "", enumValue[0]) 385 code += " o = %s;\n" %(enumValue[1]) 387 code += " else if (obj.asString() == \"NaN\")\n" 388 code += " o = std::numeric_limits<float>::quiet_NaN();\n" 389 code += " else\n" 390 code += " assert(false);\n" [all …]
|
D | json_c_generator.py | 155 code = "" 156 code += "void dumpPNextChain(const void* pNext) {\n" 157 code += " VkBaseInStructure *pBase = (VkBaseInStructure*)pNext;\n" 158 code += " if (pNext) {\n" 159 code += " PRINT_SPACE\n" 160 code += " vk_json_printf(_OUT, \"\\\"pNext\\\":\\n\");\n" 161 code += " switch (pBase->sType) {\n" 175 code += "#endif\n" 178 code += "#ifdef %s\n" %(currentExtension) 179 code += " case %s:" %(m.get('values')) [all …]
|
D | json_generator.py | 456 code = "" 458 …code += "/*************************************** Begin prototypes *******************************… 480 …code += "/*************************************** End prototypes *********************************… 481 code += "static void dumpPNextChain(const void* pNext) {\n" 482 code += " VkBaseInStructure *pBase = (VkBaseInStructure*)pNext;\n" 483 code += " if (pNext) {\n" 484 code += " PRINT_SPACE\n" 485 code += " _OUT << \"\\\"pNext\\\":\"<< std::endl;\n\n" 486 code += " switch (pBase->sType) {\n" 495 code += " case %s:" %(m.get('values')) [all …]
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/ |
D | spirvenv.adoc | 89 | SPIR-V code:OpCapability + 105 * any code:OpCapability not listed above, 139 | SPIR-V code:OpExtension + 181 The code:Logical or code:PhysicalStorageBuffer64 addressing model must: 184 code:Scope for execution must: be limited to code:Workgroup or 185 code:Subgroup 187 If the code:Scope for execution is code:Workgroup, then it must: only be 191 code:Scope for memory must: be limited to code:Device, code:QueueFamily, 192 code:Workgroup, code:ShaderCallKHR, code:Subgroup, or code:Invocation 194 If the {ExecutionModel} is code:TessellationControl, and the [all …]
|
D | VK_EXT_shader_subgroup_ballot.adoc | 37 * code:SubgroupEqMaskKHR, containing the subgroup mask of the current 39 * code:SubgroupGeMaskKHR, containing the subgroup mask of the invocations 41 * code:SubgroupGtMaskKHR, containing the subgroup mask of the invocations 43 * code:SubgroupLeMaskKHR, containing the subgroup mask of the invocations 45 * code:SubgroupLtMaskKHR, containing the subgroup mask of the invocations 47 * code:SubgroupLocalInvocationId, containing the index of an invocation 49 * code:SubgroupSize, containing the maximum number of invocations in a 54 * code:OpSubgroupBallotKHR, 55 * code:OpSubgroupFirstInvocationKHR, and 56 * code:OpSubgroupReadInvocationKHR, [all …]
|
D | VK_NV_viewport_array2.adoc | 31 A new shader built-in output code:ViewportMaskNV is provided, which allows a 34 viewport index is added into the variable decorated with the code:Layer 39 This extension allows variables decorated with the code:Layer and 40 code:ViewportIndex built-ins to be exported from vertex or tessellation 41 shaders, using the code:ShaderViewportIndexLayerNV capability. 43 This extension adds a new code:ViewportMaskNV built-in decoration that is 45 geometry shaders, and a new code:ViewportRelativeNV decoration that can be 46 added on variables decorated with code:Layer when using the 47 code:ShaderViewportMaskNV capability. 49 When using GLSL source-based shading languages, the code:gl_ViewportMask[] [all …]
|
D | VK_EXT_mesh_shader.adoc | 67 * (modified)code:Position 68 * (modified)code:PointSize 69 * (modified)code:ClipDistance 70 * (modified)code:CullDistance 71 * (modified)code:PrimitiveId 72 * (modified)code:Layer 73 * (modified)code:ViewportIndex 74 * (modified)code:NumWorkgroups 75 * (modified)code:WorkgroupSize 76 * (modified)code:WorkgroupId [all …]
|
D | VK_EXT_shader_subgroup_vote.adoc | 30 * code:OpSubgroupAllKHR, 31 * code:OpSubgroupAnyKHR, and 32 * code:OpSubgroupAllEqualKHR. 43 * code:anyInvocationARB() -> code:OpSubgroupAnyKHR, 44 * code:allInvocationsARB() -> code:OpSubgroupAllKHR, and 45 * code:allInvocationsEqualARB() -> code:OpSubgroupAllEqualKHR. 58 When executing code like 69 where code:condition diverges between invocations, an implementation might 70 first execute code:do_fast_path() for the invocations where code:condition 72 Once code:do_fast_path() returns, it might call code:do_general_path() for [all …]
|
D | VK_NN_vi_surface.adoc | 24 code:nn::code:vi::code:Layer. 38 code:nn::code:vi::code:NativeWindowHandle, but its declared type is a bare 39 code:void* to store the window handle. 44 code:nn::code:vi C++ namespace. 46 code:nn::code:vi::code:NativeWindowHandle is always defined to be 47 code:void*, so this extension uses code:void* to match.
|
D | VK_KHR_shader_draw_parameters.adoc | 36 * code:BaseInstance, containing the pname:firstInstance parameter passed 38 * code:BaseVertex, containing the pname:firstVertex or pname:vertexOffset 40 * code:DrawIndex, containing the index of the draw call currently being 47 * `in int gl_BaseInstanceARB;` -> code:BaseInstance, 48 * `in int gl_BaseVertexARB;` -> code:BaseVertex, and 49 * `in int gl_DrawIDARB;` -> code:DrawIndex. 62 * <<interfaces-builtin-variables-baseinstance,code:BaseInstance>> 63 * <<interfaces-builtin-variables-basevertex,code:BaseVertex>> 64 * <<interfaces-builtin-variables-drawindex,code:DrawIndex>> 68 * <<spirvenv-capabilities-table-DrawParameters, code:DrawParameters>> [all …]
|
D | VK_KHR_fragment_shader_barycentric.adoc | 39 * code:PerVertexKHR, which indicates that a fragment shader input will not 43 * code:BaryCoordKHR, which indicates that the variable is a 46 * code:BaryCoordNoPerspKHR, which indicates that the variable is a 54 * `in vec3 gl_BaryCoordEXT;` -> code:BaryCoordKHR 55 * `in vec3 gl_BaryCoordNoPerspEXT;` -> code:BaryCoordNoPerspKHR 57 GLSL variables declared using the code:pervertexEXT GLSL qualifier are 58 expected to be decorated with code:PerVertexKHR in SPIR-V. 64 * <<interfaces-builtin-variables-barycoordkhr,code:BaryCoordKHR>> 65 * <<interfaces-builtin-variables-barycoordnoperspkhr,code:BaryCoordNoPerspKHR>> 69 * <<shaders-interpolation-decorations-pervertexkhr,code:PerVertexKHR>> [all …]
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/ |
D | interfaces.adoc | 37 that, when using SPIR-V versions 1.4 and earlier: code:Block, 38 code:BufferBlock, code:Offset, code:ArrayStride, and code:MatrixStride can 39 also decorate types and type members used by variables in the code:Private 40 and code:Function storage classes. 46 code:MeshNV execution model. 64 listed as operands to the code:OpEntryPoint instruction and are declared 65 with the code:Input or code:Output storage classes, respectively, in the 74 code:Output variables of a shader stage have undefined: values until the 75 shader writes to them or uses the code:Initializer operand when declaring 87 * be identified with a code:BuiltIn decoration, [all …]
|
D | video_decode_h265_extensions.adoc | 26 ** The code:StdVideoH265VideoParameterSet structure corresponding to the 29 ** The code:StdVideoH265SequenceParameterSet structure corresponding to 32 ** The code:StdVideoH265PictureParameterSet structure corresponding to the 35 ** The code:StdVideoDecodeH265PictureInfo structure specifying the 37 ** The code:StdVideoDecodeH265ReferenceInfo structures specifying the 138 * pname:stdProfileIdc is a code:StdVideoH265ProfileIdc value specifying 163 * pname:maxLevelIdc is a code:StdVideoH265LevelIdc value specifying the 183 Represented by code:StdVideoH265VideoParameterSet structures and interpreted 186 * code:reserved1, code:reserved2, and code:reserved3 are used only for 188 * code:vps_video_parameter_set_id is used as the key of the VPS entry; [all …]
|
D | geometry.adoc | 24 an code:OpExecutionMode instruction in the geometry shader, and must: match 30 * An input primitive type of code:InputPoints must: only be used with a 32 tessellation shader specifying code:PointMode. 36 * An input primitive type of code:InputLines must: only be used with a 39 specifying code:IsoLines that does not specify code:PointMode. 44 * An input primitive type of code:InputLinesAdjacency must: only be used 52 * An input primitive type of code:Triangles must: only be used with a 56 specifying code:Quads or code:Triangles that does not specify 57 code:PointMode. 66 * An input primitive type of code:InputTrianglesAdjacency must: only be [all …]
|
/hardware/interfaces/wifi/supplicant/1.3/vts/functional/ |
D | supplicant_sta_network_hidl_test.cpp | 68 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in isWapiSupported() 88 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() 93 EXPECT_EQ(SupplicantStatusCode::FAILURE_ARGS_INVALID, status.code); in TEST_P() 98 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() 112 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() 123 if (SupplicantStatusCode::SUCCESS != status.code) { in TEST_P() 125 EXPECT_EQ(SupplicantStatusCode::FAILURE_UNKNOWN, status.code); in TEST_P() 131 if (SupplicantStatusCode::SUCCESS != status.code) { in TEST_P() 133 EXPECT_EQ(SupplicantStatusCode::FAILURE_UNKNOWN, status.code); in TEST_P() 141 if (SupplicantStatusCode::SUCCESS != status.code) { in TEST_P() [all …]
|
/hardware/interfaces/wifi/supplicant/1.0/vts/functional/ |
D | supplicant_sta_network_hidl_test.cpp | 107 ASSERT_EQ(SupplicantStatusCode::SUCCESS, status.code); in removeNetwork() 111 ASSERT_EQ(SupplicantStatusCode::SUCCESS, status.code); in removeNetwork() 161 EXPECT_EQ(SupplicantStatusCode::FAILURE_UNKNOWN, status.code); in TEST_P() 163 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() 175 status_and_interface_name.first.code); in TEST_P() 185 status_and_interface_type.first.code); in TEST_P() 195 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() 199 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() 211 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() 215 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() [all …]
|
D | supplicant_p2p_iface_hidl_test.cpp | 200 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() 210 status_and_interface_name.first.code); in TEST_P() 220 status_and_interface_type.first.code); in TEST_P() 231 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() 242 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() 251 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() 260 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() 264 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() 273 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() 292 if (SupplicantStatusCode::FAILURE_UNKNOWN != status.code && in TEST_P() [all …]
|
D | supplicant_sta_iface_hidl_test.cpp | 191 EXPECT_EQ(expectedCode, status.code); in TEST_P() 201 status_and_interface_name.first.code); in TEST_P() 211 status_and_interface_type.first.code); in TEST_P() 221 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() 231 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() 241 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() 251 status.code); in TEST_P() 260 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() 269 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() 272 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() [all …]
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_NN_vi_surface/ |
D | platformCreateSurface_vi.adoc | 12 To create a sname:VkSurfaceKHR object for an code:nn::code:vi::code:Layer, 14 code:nn::code:vi::code:GetNativeWindow, and then call: 29 code:nn::code:vi::code:NativeWindowHandle, applications must: not attempt to 30 create another surface for the same code:nn::code:vi::code:Layer or attempt 31 to connect to the same code:nn::code:vi::code:Layer through other platform 42 code:nn::code:vi::code:GetDisplayResolution). 57 * pname:window is the code:nn::code:vi::code:NativeWindowHandle for the 58 code:nn::code:vi::code:Layer with which to associate the surface. 63 pname:window must: be a valid code:nn::code:vi::code:NativeWindowHandle
|
/hardware/interfaces/wifi/supplicant/1.2/vts/functional/ |
D | supplicant_sta_network_hidl_test.cpp | 60 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() 65 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() 78 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() 83 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() 97 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() 103 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() 118 if (status.code != SupplicantStatusCode::FAILURE_UNKNOWN) { in TEST_P() 119 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() 128 if (status.code != SupplicantStatusCode::FAILURE_UNKNOWN) { in TEST_P() 129 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() [all …]
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_NV_mesh_shader/ |
D | mesh.adoc | 37 Shaders using the code:TaskNV {ExecutionModel} can do so using the 38 <<interfaces-builtin-variables,built-in variable>> code:TaskCountNV. 43 Shaders using the code:TaskEXT {ExecutionModel} can do so using the 44 code:OpEmitMeshTasksEXT instruction. 45 The code:groupCountX, code:groupCountY and code:groupCountZ arguments passed 56 Shaders using the code:TaskNV {ExecutionModel} can do so by writing to 57 output variables that are decorated with code:PerTaskNV. 61 Shaders using the code:TaskEXT {ExecutionModel} can do so by writing to a 62 payload variable with code:TaskPayloadWorkgroupEXT storage class that is 63 passed to the code:OpEmitMeshTasksEXT instruction. [all …]
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_QNX_external_memory_screen_buffer/ |
D | qnx_screen_buffer.adoc | 8 The QNX SDP defines code:_screen_buffer objects, which represent a buffer 21 code:struct code:_screen_buffer is strongly typed, so naming the handle type 23 The internal layout and therefore size of a code:struct code:_screen_buffer 38 acquire a reference to its code:_screen_buffer object. 44 Generally, for a code:_screen_buffer object to be valid for use within a 46 code:_screen_buffer::code:SCREEN_PROPERTY_USAGE that includes at least one 47 of: code:SCREEN_USAGE_VULKAN, code:SCREEN_USAGE_OPENGL_ES2, 48 code:SCREEN_USAGE_OPENGL_ES3, or code:SCREEN_USAGE_NATIVE. 93 the image creation parameters must: be equivalent to the code:_screen_buffer 101 | code:SCREEN_FORMAT_RGBA8888 | ename:VK_FORMAT_B8G8R8A8_UNORM [all …]
|
/hardware/google/gfxstream/guest/mesa/src/vulkan/overlay-layer/ |
D | README.rst | 6 The overlay layer will be built if :code:`overlay` is passed as a :code:`vulkan-layers` argument. F… 8 .. code-block:: sh 21 .. code-block:: sh 28 .. code-block:: sh 35 .. code-block:: sh 41 .. code-block:: sh 50 .. code-block:: sh 56 **Note:** some statistics (e.g. :code:`frame_timing` and :code:`gpu_timing`) log values for the ent… 57 For these statistics, logging the :code:`frame` statistic allows one to compute per-frame statistic… 61 .. code-block:: sh [all …]
|
/hardware/interfaces/gatekeeper/1.0/default/ |
D | Gatekeeper.cpp | 74 rsp.code = GatekeeperStatusCode::STATUS_OK; in enroll() 77 rsp.code = GatekeeperStatusCode::ERROR_RETRY_TIMEOUT; in enroll() 79 rsp.code = GatekeeperStatusCode::ERROR_GENERAL_FAILURE; in enroll() 104 rsp.code = GatekeeperStatusCode::STATUS_REENROLL; in verify() 106 rsp.code = GatekeeperStatusCode::STATUS_OK; in verify() 110 rsp.code = GatekeeperStatusCode::ERROR_RETRY_TIMEOUT; in verify() 112 rsp.code = GatekeeperStatusCode::ERROR_GENERAL_FAILURE; in verify() 124 rsp.code = GatekeeperStatusCode::STATUS_OK; in deleteUser() 127 rsp.code = GatekeeperStatusCode::ERROR_RETRY_TIMEOUT; in deleteUser() 129 rsp.code = GatekeeperStatusCode::ERROR_GENERAL_FAILURE; in deleteUser() [all …]
|
/hardware/libhardware/modules/input/evdev/ |
D | MouseInputMapper.cpp | 92 event.type, event.code, event.value); in process() 95 processButton(event.code, event.value); in process() 98 processMotion(event.code, event.value); in process() 101 if (event.code == SYN_REPORT) { in process() 110 void MouseInputMapper::processMotion(int32_t code, int32_t value) { in processMotion() argument 111 switch (code) { in processMotion() 132 uint32_t buttonToBit(int32_t code) { in buttonToBit() argument 133 return static_cast<uint32_t>(code - BTN_MOUSE); in buttonToBit() 136 void MouseInputMapper::processButton(int32_t code, int32_t value) { in processButton() argument 140 if (code >= BTN_MOUSE && code < BTN_JOYSTICK) { in processButton() [all …]
|