Searched refs:draw_cmd (Results 1 – 3 of 3) sorted by relevance
140 struct draw_cmd { struct190 struct draw_cmd cmd;
414 ImDrawCmd draw_cmd; in AddDrawCmd() local415 draw_cmd.ClipRect = GetCurrentClipRect(); in AddDrawCmd()416 draw_cmd.TextureId = GetCurrentTextureId(); in AddDrawCmd()418 …IM_ASSERT(draw_cmd.ClipRect.x <= draw_cmd.ClipRect.z && draw_cmd.ClipRect.y <= draw_cmd.ClipRect.w… in AddDrawCmd()419 CmdBuffer.push_back(draw_cmd); in AddDrawCmd()548 ImDrawCmd draw_cmd; in ChannelsSplit() local549 draw_cmd.ClipRect = _ClipRectStack.back(); in ChannelsSplit()550 draw_cmd.TextureId = _TextureIdStack.back(); in ChannelsSplit()551 _Channels[i].CmdBuffer.push_back(draw_cmd); in ChannelsSplit()605 ImDrawCmd& draw_cmd = CmdBuffer.Data[CmdBuffer.Size-1]; in PrimReserve() local[all …]
44 auto* draw_cmd = cmds[0]->AsDrawRect(); in TEST_F() local45 EXPECT_FALSE(draw_cmd->IsOrtho()); in TEST_F()46 EXPECT_FALSE(draw_cmd->IsPatch()); in TEST_F()47 EXPECT_FLOAT_EQ(1.2f, draw_cmd->GetX()); in TEST_F()48 EXPECT_FLOAT_EQ(2.3f, draw_cmd->GetY()); in TEST_F()49 EXPECT_FLOAT_EQ(200.0f, draw_cmd->GetWidth()); in TEST_F()50 EXPECT_FLOAT_EQ(400.2f, draw_cmd->GetHeight()); in TEST_F()