Home
last modified time | relevance | path

Searched refs:cmd_resp (Results 1 – 2 of 2) sorted by relevance

/device/generic/opengl-transport/host/libs/virglrenderer/
DAVDVirglRenderer.cpp499 VirtioGpuCmd* cmd_resp = reinterpret_cast<VirtioGpuCmd*>(ctx->cmd_resp->linear); in process_cmd() local
501 IOStream stream(cmd_resp->buf, MAX_CMDRESPBUF_SIZE - sizeof(*cmd_resp)); in process_cmd()
522 cmd_resp->cmdSize += stream.getFlushSize(); in process_cmd()
524 printf("(tid %d) ctx %d: cmd %u, size %zu, fence %d\n", gettid(), ctx->handle, cmd_resp->op, in process_cmd()
525 cmd_resp->cmdSize - sizeof(*cmd_resp), fence); in process_cmd()
526 if (cmd_resp->cmdSize - sizeof(*cmd_resp) > 0) { in process_cmd()
528 for (size_t i = 0; i < cmd_resp->cmdSize - sizeof(*cmd_resp); i++) { in process_cmd()
529 printf("%.2x ", (unsigned char)cmd_resp->buf[i]); in process_cmd()
535 .w = cmd_resp->cmdSize, in process_cmd()
538 sync_linear_to_iovec(ctx->cmd_resp, 0, &box); in process_cmd()
[all …]
DContext.h110 Resource* cmd_resp = nullptr; member