Home
last modified time | relevance | path

Searched refs:VTEST_CMD_ID (Results 1 – 3 of 3) sorted by relevance

/third_party/mesa3d/src/gallium/winsys/virgl/vtest/
Dvirgl_vtest_socket.c138 buf[VTEST_CMD_ID] = VCMD_CREATE_RENDERER; in virgl_vtest_send_init()
154 vtest_hdr[VTEST_CMD_ID] = VCMD_PING_PROTOCOL_VERSION; in virgl_vtest_negotiate_version()
158 vtest_hdr[VTEST_CMD_ID] = VCMD_RESOURCE_BUSY_WAIT; in virgl_vtest_negotiate_version()
167 if (vtest_hdr[VTEST_CMD_ID] == VCMD_PING_PROTOCOL_VERSION) { in virgl_vtest_negotiate_version()
175 vtest_hdr[VTEST_CMD_ID] = VCMD_PROTOCOL_VERSION; in virgl_vtest_negotiate_version()
188 assert(vtest_hdr[VTEST_CMD_ID] == VCMD_RESOURCE_BUSY_WAIT); in virgl_vtest_negotiate_version()
235 get_caps_buf[VTEST_CMD_ID] = VCMD_GET_CAPS2; in virgl_vtest_send_get_caps()
237 get_caps_buf[VTEST_CMD_ID + 2] = VCMD_GET_CAPS; in virgl_vtest_send_get_caps()
292 vtest_hdr[VTEST_CMD_ID] = VCMD_RESOURCE_CREATE2; in virgl_vtest_send_resource_create2()
345 vtest_hdr[VTEST_CMD_ID] = VCMD_RESOURCE_CREATE; in virgl_vtest_send_resource_create()
[all …]
/third_party/mesa3d/src/virtio/vulkan/
Dvn_renderer_vtest.c170 vtest_hdr[VTEST_CMD_ID] = VCMD_CREATE_RENDERER; in vtest_vcmd_create_renderer()
181 vtest_hdr[VTEST_CMD_ID] = VCMD_PING_PROTOCOL_VERSION; in vtest_vcmd_ping_protocol_version()
190 vtest_hdr[VTEST_CMD_ID] = VCMD_RESOURCE_BUSY_WAIT; in vtest_vcmd_ping_protocol_version()
199 if (vtest_hdr[VTEST_CMD_ID] == VCMD_PING_PROTOCOL_VERSION) { in vtest_vcmd_ping_protocol_version()
202 assert(vtest_hdr[VTEST_CMD_ID] == VCMD_RESOURCE_BUSY_WAIT); in vtest_vcmd_ping_protocol_version()
207 assert(vtest_hdr[VTEST_CMD_ID] == VCMD_RESOURCE_BUSY_WAIT); in vtest_vcmd_ping_protocol_version()
219 vtest_hdr[VTEST_CMD_ID] = VCMD_PROTOCOL_VERSION; in vtest_vcmd_protocol_version()
228 assert(vtest_hdr[VTEST_CMD_ID] == VCMD_PROTOCOL_VERSION); in vtest_vcmd_protocol_version()
240 vtest_hdr[VTEST_CMD_ID] = VCMD_GET_PARAM; in vtest_vcmd_get_param()
248 assert(vtest_hdr[VTEST_CMD_ID] == VCMD_GET_PARAM); in vtest_vcmd_get_param()
[all …]
/third_party/mesa3d/src/virtio/vtest/
Dvtest_protocol.h40 #define VTEST_CMD_ID 1 macro