Home
last modified time | relevance | path

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

/device/generic/goldfish-opengl/system/OpenglSystemCommon/
DVirtioGpuStream.cpp51 uint32_t cmdSize; member
212 if (m_allocSize + minSize > cmd->cmdSize) { in allocBuffer()
216 if (m_cmdPos + cmd->cmdSize + minSize > m_bufSize) { in allocBuffer()
227 m_cmdPos += cmd->cmdSize; in allocBuffer()
268 cmd->cmdSize = sizeof(*cmd) + sizeof(__u32); in allocBuffer()
302 if (m_flushPos + len > cmd->cmdSize) { in writeFully()
305 __func__, len, m_cmdPos, m_flushPos, cmd->cmdSize); in writeFully()
365 if (m_cmdResp->cmdSize - sizeof(*m_cmdResp) < m_cmdRespPos + len) { in readFully()
368 m_cmdResp->cmdSize, m_cmdRespPos); in readFully()
374 if (m_cmdRespPos + len == m_cmdResp->cmdSize - sizeof(*m_cmdResp)) { in readFully()
[all …]
/device/generic/opengl-transport/host/libs/virglrenderer/include/
DVirtioGpuCmd.h21 uint32_t cmdSize; member
/device/generic/opengl-transport/host/libs/virglrenderer/
DAVDVirglRenderer.cpp522 cmd_resp->cmdSize += stream.getFlushSize(); 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()
535 .w = cmd_resp->cmdSize, in process_cmd()
555 printf("ctx %d: cmd %u, size %zu\n", ctx_id, cmd->op, cmd->cmdSize - sizeof(*cmd)); in virgl_renderer_submit_cmd()
562 if (cmd->cmdSize < bufSize) { in virgl_renderer_submit_cmd()
563 printf("ignoring short command, cmdSize=%u, bufSize=%zu\n", cmd->cmdSize, bufSize); in virgl_renderer_submit_cmd()
567 if (cmd->cmdSize > bufSize) { in virgl_renderer_submit_cmd()
568 printf("command would overflow buffer, cmdSize=%u, bufSize=%zu\n", cmd->cmdSize, bufSize); in virgl_renderer_submit_cmd()
[all …]