Home
last modified time | relevance | path

Searched refs:draw_cmd (Results 1 – 8 of 8) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_draw_private.h140 struct draw_cmd { struct
190 struct draw_cmd cmd;
/third_party/glfw/tests/
Dvulkan.c349 VkCommandBuffer draw_cmd; // Command Buffer for drawing commands member
546 err = vkBeginCommandBuffer(demo->draw_cmd, &cmd_buf_info); in demo_draw_build_cmd()
549 vkCmdBeginRenderPass(demo->draw_cmd, &rp_begin, VK_SUBPASS_CONTENTS_INLINE); in demo_draw_build_cmd()
550 vkCmdBindPipeline(demo->draw_cmd, VK_PIPELINE_BIND_POINT_GRAPHICS, in demo_draw_build_cmd()
552 vkCmdBindDescriptorSets(demo->draw_cmd, VK_PIPELINE_BIND_POINT_GRAPHICS, in demo_draw_build_cmd()
562 vkCmdSetViewport(demo->draw_cmd, 0, 1, &viewport); in demo_draw_build_cmd()
570 vkCmdSetScissor(demo->draw_cmd, 0, 1, &scissor); in demo_draw_build_cmd()
573 vkCmdBindVertexBuffers(demo->draw_cmd, VERTEX_BUFFER_BIND_ID, 1, in demo_draw_build_cmd()
576 vkCmdDraw(demo->draw_cmd, 3, 1, 0, 0); in demo_draw_build_cmd()
577 vkCmdEndRenderPass(demo->draw_cmd); in demo_draw_build_cmd()
[all …]
/third_party/mesa3d/src/imgui/
Dimgui_draw.cpp414 ImDrawCmd draw_cmd; in AddDrawCmd() local
415 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() local
549 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 …]
/third_party/skia/third_party/externals/imgui/
Dimgui_draw.cpp453 ImDrawCmd draw_cmd; in AddDrawCmd() local
454 draw_cmd.ClipRect = _CmdHeader.ClipRect; // Same as calling ImDrawCmd_HeaderCopy() in AddDrawCmd()
455 draw_cmd.TextureId = _CmdHeader.TextureId; in AddDrawCmd()
456 draw_cmd.VtxOffset = _CmdHeader.VtxOffset; in AddDrawCmd()
457 draw_cmd.IdxOffset = IdxBuffer.Size; in AddDrawCmd()
459 …IM_ASSERT(draw_cmd.ClipRect.x <= draw_cmd.ClipRect.z && draw_cmd.ClipRect.y <= draw_cmd.ClipRect.w… in AddDrawCmd()
460 CmdBuffer.push_back(draw_cmd); in AddDrawCmd()
639 ImDrawCmd* draw_cmd = &CmdBuffer.Data[CmdBuffer.Size - 1]; in PrimReserve() local
640 draw_cmd->ElemCount += idx_count; in PrimReserve()
656 ImDrawCmd* draw_cmd = &CmdBuffer.Data[CmdBuffer.Size - 1]; in PrimUnreserve() local
[all …]
Dimgui.cpp11764 …mDrawList* out_draw_list, const ImDrawList* draw_list, const ImDrawCmd* draw_cmd, bool show_mesh, … in DebugNodeDrawCmdShowMeshAndBoundingBox() argument
11769 ImRect clip_rect = draw_cmd->ClipRect; in DebugNodeDrawCmdShowMeshAndBoundingBox()
11773 …for (unsigned int idx_n = draw_cmd->IdxOffset, idx_end = draw_cmd->IdxOffset + draw_cmd->ElemCount… in DebugNodeDrawCmdShowMeshAndBoundingBox()
11776 ImDrawVert* vtx_buffer = draw_list->VtxBuffer.Data + draw_cmd->VtxOffset; in DebugNodeDrawCmdShowMeshAndBoundingBox()
Dimgui_internal.h2745 …mDrawList* out_draw_list, const ImDrawList* draw_list, const ImDrawCmd* draw_cmd, bool show_mesh, …
/third_party/vk-gl-cts/external/amber/src/src/vkscript/
Dcommand_parser_test.cc44 auto* draw_cmd = cmds[0]->AsDrawRect(); in TEST_F() local
45 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()
/third_party/skia/third_party/externals/imgui/docs/
DCHANGELOG.txt268 … copied old backend code or using your own: change access to draw_cmd->TextureId to draw_cmd->GetT…