Searched refs:pcmd (Results 1 – 1 of 1) sorted by relevance
1322 const ImDrawCmd* pcmd = &cmd_list->CmdBuffer[cmd_i]; in render_swapchain_display() local1326 …scissor.offset.x = (int32_t)(pcmd->ClipRect.x - display_pos.x) > 0 ? (int32_t)(pcmd->ClipRect.x - … in render_swapchain_display()1327 …scissor.offset.y = (int32_t)(pcmd->ClipRect.y - display_pos.y) > 0 ? (int32_t)(pcmd->ClipRect.y - … in render_swapchain_display()1328 scissor.extent.width = (uint32_t)(pcmd->ClipRect.z - pcmd->ClipRect.x); in render_swapchain_display()1329 …scissor.extent.height = (uint32_t)(pcmd->ClipRect.w - pcmd->ClipRect.y + 1); // FIXME: Why +1 here? in render_swapchain_display()1333 …device_data->vtable.CmdDrawIndexed(draw->command_buffer, pcmd->ElemCount, 1, idx_offset, vtx_offse… in render_swapchain_display()1335 idx_offset += pcmd->ElemCount; in render_swapchain_display()