/third_party/skia/third_party/externals/imgui/ |
D | imgui_draw.cpp | 1684 void ImDrawListSplitter::Split(ImDrawList* draw_list, int channels_count) in Split() argument 1686 IM_UNUSED(draw_list); in Split() 1714 void ImDrawListSplitter::Merge(ImDrawList* draw_list) in Merge() argument 1720 SetCurrentChannel(draw_list, 0); in Merge() 1721 draw_list->_PopUnusedDrawCmd(); in Merge() 1726 …ImDrawCmd* last_cmd = (_Count > 0 && draw_list->CmdBuffer.Size > 0) ? &draw_list->CmdBuffer.back()… in Merge() 1757 draw_list->CmdBuffer.resize(draw_list->CmdBuffer.Size + new_cmd_buffer_count); in Merge() 1758 draw_list->IdxBuffer.resize(draw_list->IdxBuffer.Size + new_idx_buffer_count); in Merge() 1761 …ImDrawCmd* cmd_write = draw_list->CmdBuffer.Data + draw_list->CmdBuffer.Size - new_cmd_buffer_coun… in Merge() 1762 …ImDrawIdx* idx_write = draw_list->IdxBuffer.Data + draw_list->IdxBuffer.Size - new_idx_buffer_coun… in Merge() [all …]
|
D | imgui.cpp | 893 …tic void AddDrawListToDrawData(ImVector<ImDrawList*>* out_list, ImDrawList* draw_list); 2750 void ImGui::RenderTextClippedEx(ImDrawList* draw_list, const ImVec2& pos_min, const ImVec2& pos_max… in RenderTextClippedEx() argument 2770 …draw_list->AddText(NULL, 0.0f, pos, GetColorU32(ImGuiCol_Text), text, text_display_end, 0.0f, &fin… in RenderTextClippedEx() 2774 …draw_list->AddText(NULL, 0.0f, pos, GetColorU32(ImGuiCol_Text), text, text_display_end, 0.0f, NULL… in RenderTextClippedEx() 2797 void ImGui::RenderTextEllipsis(ImDrawList* draw_list, const ImVec2& pos_min, const ImVec2& pos_max,… in RenderTextEllipsis() argument 2815 const ImFont* font = draw_list->_Data->Font; in RenderTextEllipsis() 2816 const float font_size = draw_list->_Data->FontSize; in RenderTextEllipsis() 2834 const float spacing_between_dots = 1.0f * (draw_list->_Data->FontSize / font->FontSize); in RenderTextEllipsis() 2856 …RenderTextClippedEx(draw_list, pos_min, ImVec2(clip_max_x, pos_max.y), text, text_end_ellipsis, &t… in RenderTextEllipsis() 2861 …font->RenderChar(draw_list, font_size, ImVec2(ellipsis_x, pos_min.y), GetColorU32(ImGuiCol_Text), … in RenderTextEllipsis() [all …]
|
D | imgui_demo.cpp | 904 ImDrawList* draw_list = ImGui::GetWindowDrawList(); in ShowDemoWindowWidgets() local 918 … draw_list->AddRect(ImGui::GetItemRectMin(), ImGui::GetItemRectMax(), IM_COL32(255, 255, 0, 255)); in ShowDemoWindowWidgets() 919 draw_list->AddRectFilled(marker_min, marker_max, IM_COL32(255, 0, 255, 255)); in ShowDemoWindowWidgets() 3104 ImDrawList* draw_list = ImGui::GetWindowDrawList(); in ShowDemoWindowLayout() local 3114 draw_list->AddRectFilled(p0, p1, IM_COL32(90, 90, 120, 255)); in ShowDemoWindowLayout() 3115 draw_list->AddText(text_pos, IM_COL32_WHITE, text_str); in ShowDemoWindowLayout() 3123 draw_list->PushClipRect(p0, p1, true); in ShowDemoWindowLayout() 3124 draw_list->AddRectFilled(p0, p1, IM_COL32(90, 90, 120, 255)); in ShowDemoWindowLayout() 3125 draw_list->AddText(text_pos, IM_COL32_WHITE, text_str); in ShowDemoWindowLayout() 3126 draw_list->PopClipRect(); in ShowDemoWindowLayout() [all …]
|
D | imgui_widgets.cpp | 1734 ImDrawList* draw_list = window->DrawList; in EndComboPreview() local 1736 …if (draw_list->CmdBuffer.Size > 1) // Unlikely case that the PushClipRect() didn't create a command in EndComboPreview() 1738 …draw_list->_CmdHeader.ClipRect = draw_list->CmdBuffer[draw_list->CmdBuffer.Size - 1].ClipRect = dr… in EndComboPreview() 1739 draw_list->_TryMergeDrawCmds(); in EndComboPreview() 5060 static void RenderArrowsForVerticalBar(ImDrawList* draw_list, ImVec2 pos, ImVec2 half_sz, float bar… in RenderArrowsForVerticalBar() argument 5063 …ImGui::RenderArrowPointingAt(draw_list, ImVec2(pos.x + half_sz.x + 1, pos.y), ImVec2(half_… in RenderArrowsForVerticalBar() 5064 …ImGui::RenderArrowPointingAt(draw_list, ImVec2(pos.x + half_sz.x, pos.y), half_sz, … in RenderArrowsForVerticalBar() 5065 …ImGui::RenderArrowPointingAt(draw_list, ImVec2(pos.x + bar_w - half_sz.x - 1, pos.y), ImVec2(half_… in RenderArrowsForVerticalBar() 5066 …ImGui::RenderArrowPointingAt(draw_list, ImVec2(pos.x + bar_w - half_sz.x, pos.y), half_sz, … in RenderArrowsForVerticalBar() 5080 ImDrawList* draw_list = window->DrawList; in ColorPicker4() local [all …]
|
D | imgui_internal.h | 2635 …IMGUI_API void TabItemBackground(ImDrawList* draw_list, const ImRect& bb, ImGuiTabItemFla… 2636 …IMGUI_API void TabItemLabelAndCloseButton(ImDrawList* draw_list, const ImRect& bb, ImGuiT… 2644 …IMGUI_API void RenderTextClippedEx(ImDrawList* draw_list, const ImVec2& pos_min, const Im… 2645 …IMGUI_API void RenderTextEllipsis(ImDrawList* draw_list, const ImVec2& pos_min, const ImV… 2648 …IMGUI_API void RenderColorRectWithAlphaCheckerboard(ImDrawList* draw_list, ImVec2 p_min, … 2653 …IMGUI_API void RenderArrow(ImDrawList* draw_list, ImVec2 pos, ImU32 col, ImGuiDir dir, fl… 2654 IMGUI_API void RenderBullet(ImDrawList* draw_list, ImVec2 pos, ImU32 col); 2655 IMGUI_API void RenderCheckMark(ImDrawList* draw_list, ImVec2 pos, ImU32 col, float sz); 2656 …IMGUI_API void RenderMouseCursor(ImDrawList* draw_list, ImVec2 pos, float scale, ImGuiMou… 2657 …IMGUI_API void RenderArrowPointingAt(ImDrawList* draw_list, ImVec2 pos, ImVec2 half_sz, I… [all …]
|
D | imgui.h | 2347 IMGUI_API void Split(ImDrawList* draw_list, int count); 2348 IMGUI_API void Merge(ImDrawList* draw_list); 2349 IMGUI_API void SetCurrentChannel(ImDrawList* draw_list, int channel_idx); 2774 …IMGUI_API void RenderChar(ImDrawList* draw_list, float size, ImVec2 pos, ImU32 col, I… 2775 …IMGUI_API void RenderText(ImDrawList* draw_list, float size, ImVec2 pos, ImU32 col, c…
|
/third_party/mesa3d/src/intel/tools/ |
D | aubinator_viewer_urb.h | 33 ImDrawList* draw_list = ImGui::GetWindowDrawList(); in DrawAllocation() local 58 draw_list->AddText(alloc_pos, ImGui::GetColorU32(ImGuiCol_Text), label); in DrawAllocation() 68 draw_list->AddRectFilled(alloc_tl, alloc_br, ImColor(r, g, b)); in DrawAllocation() 81 draw_list->AddRectFilled(const_tl, const_br, ImColor(r, g, b)); in DrawAllocation()
|
/third_party/mesa3d/src/imgui/ |
D | imgui_draw.cpp | 1311 void ImGui::ShadeVertsLinearColorGradientKeepAlpha(ImDrawList* draw_list, int vert_start_idx, int v… in ShadeVertsLinearColorGradientKeepAlpha() argument 1315 ImDrawVert* vert_start = draw_list->VtxBuffer.Data + vert_start_idx; in ShadeVertsLinearColorGradientKeepAlpha() 1316 ImDrawVert* vert_end = draw_list->VtxBuffer.Data + vert_end_idx; in ShadeVertsLinearColorGradientKeepAlpha() 1329 void ImGui::ShadeVertsLinearUV(ImDrawList* draw_list, int vert_start_idx, int vert_end_idx, const I… in ShadeVertsLinearUV() argument 1337 ImDrawVert* vert_start = draw_list->VtxBuffer.Data + vert_start_idx; in ShadeVertsLinearUV() 1338 ImDrawVert* vert_end = draw_list->VtxBuffer.Data + vert_end_idx; in ShadeVertsLinearUV() 2735 void ImFont::RenderChar(ImDrawList* draw_list, float size, ImVec2 pos, ImU32 col, ImWchar c) const in RenderChar() argument 2744 draw_list->PrimReserve(6, 4); in RenderChar() 2745 …draw_list->PrimRectUV(ImVec2(pos.x + glyph->X0 * scale, pos.y + glyph->Y0 * scale), ImVec2(pos.x +… in RenderChar() 2749 void ImFont::RenderText(ImDrawList* draw_list, float size, ImVec2 pos, ImU32 col, const ImVec4& cli… in RenderText() argument [all …]
|
D | imgui_memory_editor.h | 230 ImDrawList* draw_list = ImGui::GetWindowDrawList(); 271 …draw_list->AddLine(ImVec2(window_pos.x + s.PosAsciiStart - s.GlyphWidth, window_pos.y), ImVec2(win… 310 …draw_list->AddRectFilled(pos, ImVec2(pos.x + highlight_width, pos.y + s.LineHeight), HighlightColo… 419 …draw_list->AddRectFilled(pos, ImVec2(pos.x + s.GlyphWidth, pos.y + s.LineHeight), ImGui::GetColorU… 420 …draw_list->AddRectFilled(pos, ImVec2(pos.x + s.GlyphWidth, pos.y + s.LineHeight), ImGui::GetColorU… 424 …draw_list->AddText(pos, (display_c == '.') ? color_disabled : color_text, &display_c, &display_c +…
|
D | imgui_widgets.cpp | 4092 static void RenderArrowsForVerticalBar(ImDrawList* draw_list, ImVec2 pos, ImVec2 half_sz, float bar… in RenderArrowsForVerticalBar() argument 4094 …ImGui::RenderArrowPointingAt(draw_list, ImVec2(pos.x + half_sz.x + 1, pos.y), ImVec2(half_… in RenderArrowsForVerticalBar() 4095 …ImGui::RenderArrowPointingAt(draw_list, ImVec2(pos.x + half_sz.x, pos.y), half_sz, … in RenderArrowsForVerticalBar() 4096 …ImGui::RenderArrowPointingAt(draw_list, ImVec2(pos.x + bar_w - half_sz.x - 1, pos.y), ImVec2(half_… in RenderArrowsForVerticalBar() 4097 …ImGui::RenderArrowPointingAt(draw_list, ImVec2(pos.x + bar_w - half_sz.x, pos.y), half_sz, … in RenderArrowsForVerticalBar() 4106 ImDrawList* draw_list = window->DrawList; in ColorPicker4() local 4324 const int vert_start_idx = draw_list->VtxBuffer.Size; in ColorPicker4() 4325 … draw_list->PathArcTo(wheel_center, (wheel_r_inner + wheel_r_outer)*0.5f, a0, a1, segment_per_arc); in ColorPicker4() 4326 draw_list->PathStroke(IM_COL32_WHITE, false, wheel_thickness); in ColorPicker4() 4327 const int vert_end_idx = draw_list->VtxBuffer.Size; in ColorPicker4() [all …]
|
D | imgui_internal.h | 1435 …IMGUI_API void TabItemBackground(ImDrawList* draw_list, const ImRect& bb, ImGuiTabItemFla… 1436 …IMGUI_API bool TabItemLabelAndCloseButton(ImDrawList* draw_list, const ImRect& bb, ImGuiT… 1444 …IMGUI_API void RenderTextClippedEx(ImDrawList* draw_list, const ImVec2& pos_min, const Im… 1456 …IMGUI_API void RenderMouseCursor(ImDrawList* draw_list, ImVec2 pos, float scale, ImGuiMou… 1457 …IMGUI_API void RenderArrowPointingAt(ImDrawList* draw_list, ImVec2 pos, ImVec2 half_sz, I… 1458 …IMGUI_API void RenderRectFilledRangeH(ImDrawList* draw_list, const ImRect& rect, ImU32 co… 1459 …IMGUI_API void RenderPixelEllipsis(ImDrawList* draw_list, ImVec2 pos, int count, ImU32 co… 1500 …IMGUI_API void ShadeVertsLinearColorGradientKeepAlpha(ImDrawList* draw_list, int vert_sta… 1501 …IMGUI_API void ShadeVertsLinearUV(ImDrawList* draw_list, int vert_start_idx, int vert_end…
|
D | imgui.cpp | 999 …tic void AddDrawListToDrawData(ImVector<ImDrawList*>* out_list, ImDrawList* draw_list); 2329 void ImGui::RenderTextClippedEx(ImDrawList* draw_list, const ImVec2& pos_min, const ImVec2& pos_max… in RenderTextClippedEx() argument 2349 …draw_list->AddText(NULL, 0.0f, pos, GetColorU32(ImGuiCol_Text), text, text_display_end, 0.0f, &fin… in RenderTextClippedEx() 2353 …draw_list->AddText(NULL, 0.0f, pos, GetColorU32(ImGuiCol_Text), text, text_display_end, 0.0f, NULL… in RenderTextClippedEx() 3654 static void AddDrawListToDrawData(ImVector<ImDrawList*>* out_list, ImDrawList* draw_list) in AddDrawListToDrawData() argument 3656 if (draw_list->CmdBuffer.empty()) in AddDrawListToDrawData() 3660 ImDrawCmd& last_cmd = draw_list->CmdBuffer.back(); in AddDrawListToDrawData() 3663 draw_list->CmdBuffer.pop_back(); in AddDrawListToDrawData() 3664 if (draw_list->CmdBuffer.empty()) in AddDrawListToDrawData() 3669 …IM_ASSERT(draw_list->VtxBuffer.Size == 0 || draw_list->_VtxWritePtr == draw_list->VtxBuffer.Data +… in AddDrawListToDrawData() [all …]
|
D | imgui.h | 2118 …IMGUI_API void RenderChar(ImDrawList* draw_list, float size, ImVec2 pos, ImU32 col, I… 2119 …IMGUI_API void RenderText(ImDrawList* draw_list, float size, ImVec2 pos, ImU32 col, c…
|
/third_party/flutter/skia/third_party/externals/imgui/ |
D | imgui_draw.cpp | 1302 void ImGui::ShadeVertsLinearColorGradientKeepAlpha(ImDrawList* draw_list, int vert_start_idx, int v… in ShadeVertsLinearColorGradientKeepAlpha() argument 1306 ImDrawVert* vert_start = draw_list->VtxBuffer.Data + vert_start_idx; in ShadeVertsLinearColorGradientKeepAlpha() 1307 ImDrawVert* vert_end = draw_list->VtxBuffer.Data + vert_end_idx; in ShadeVertsLinearColorGradientKeepAlpha() 1320 void ImGui::ShadeVertsLinearUV(ImDrawList* draw_list, int vert_start_idx, int vert_end_idx, const I… in ShadeVertsLinearUV() argument 1328 ImDrawVert* vert_start = draw_list->VtxBuffer.Data + vert_start_idx; in ShadeVertsLinearUV() 1329 ImDrawVert* vert_end = draw_list->VtxBuffer.Data + vert_end_idx; in ShadeVertsLinearUV() 2723 void ImFont::RenderChar(ImDrawList* draw_list, float size, ImVec2 pos, ImU32 col, ImWchar c) const in RenderChar() argument 2732 draw_list->PrimReserve(6, 4); in RenderChar() 2733 …draw_list->PrimRectUV(ImVec2(pos.x + glyph->X0 * scale, pos.y + glyph->Y0 * scale), ImVec2(pos.x +… in RenderChar() 2737 void ImFont::RenderText(ImDrawList* draw_list, float size, ImVec2 pos, ImU32 col, const ImVec4& cli… in RenderText() argument [all …]
|
D | imgui_demo.cpp | 2528 ImDrawList* draw_list = ImGui::GetWindowDrawList(); in ShowDemoWindowMisc() local 2529 draw_list->PushClipRectFullScreen(); in ShowDemoWindowMisc() 2530 … draw_list->AddLine(io.MouseClickedPos[0], io.MousePos, ImGui::GetColorU32(ImGuiCol_Button), 4.0f); in ShowDemoWindowMisc() 2531 draw_list->PopClipRect(); in ShowDemoWindowMisc() 2900 ImDrawList* draw_list = ImGui::GetWindowDrawList(); in ShowStyleEditor() local 2906 …draw_list->AddRect(cell_p1, cell_p2, glyph ? IM_COL32(255, 255, 255, 100) : IM_COL32(255, 255, 255… in ShowStyleEditor() 2908 …font->RenderChar(draw_list, cell_size, cell_p1, ImGui::GetColorU32(ImGuiCol_Text), (ImWchar)(base … in ShowStyleEditor() 3844 ImDrawList* draw_list = ImGui::GetWindowDrawList(); in ShowExampleAppCustomRendering() local 3861 …draw_list->AddCircle(ImVec2(x+sz*0.5f, y+sz*0.5f), sz*0.5f, col32, 20, curr_thickness); x += sz+sp… in ShowExampleAppCustomRendering() 3862 …draw_list->AddRect(ImVec2(x, y), ImVec2(x+sz, y+sz), col32, 0.0f, ImDrawCornerFlags_All, curr_thic… in ShowExampleAppCustomRendering() [all …]
|
D | imgui_widgets.cpp | 4080 static void RenderArrowsForVerticalBar(ImDrawList* draw_list, ImVec2 pos, ImVec2 half_sz, float bar… in RenderArrowsForVerticalBar() argument 4082 …ImGui::RenderArrowPointingAt(draw_list, ImVec2(pos.x + half_sz.x + 1, pos.y), ImVec2(half_… in RenderArrowsForVerticalBar() 4083 …ImGui::RenderArrowPointingAt(draw_list, ImVec2(pos.x + half_sz.x, pos.y), half_sz, … in RenderArrowsForVerticalBar() 4084 …ImGui::RenderArrowPointingAt(draw_list, ImVec2(pos.x + bar_w - half_sz.x - 1, pos.y), ImVec2(half_… in RenderArrowsForVerticalBar() 4085 …ImGui::RenderArrowPointingAt(draw_list, ImVec2(pos.x + bar_w - half_sz.x, pos.y), half_sz, … in RenderArrowsForVerticalBar() 4094 ImDrawList* draw_list = window->DrawList; in ColorPicker4() local 4312 const int vert_start_idx = draw_list->VtxBuffer.Size; in ColorPicker4() 4313 … draw_list->PathArcTo(wheel_center, (wheel_r_inner + wheel_r_outer)*0.5f, a0, a1, segment_per_arc); in ColorPicker4() 4314 draw_list->PathStroke(IM_COL32_WHITE, false, wheel_thickness); in ColorPicker4() 4315 const int vert_end_idx = draw_list->VtxBuffer.Size; in ColorPicker4() [all …]
|
D | imgui.cpp | 998 …tic void AddDrawListToDrawData(ImVector<ImDrawList*>* out_list, ImDrawList* draw_list); 2273 void ImGui::RenderTextClippedEx(ImDrawList* draw_list, const ImVec2& pos_min, const ImVec2& pos_max… in RenderTextClippedEx() argument 2293 …draw_list->AddText(NULL, 0.0f, pos, GetColorU32(ImGuiCol_Text), text, text_display_end, 0.0f, &fin… in RenderTextClippedEx() 2297 …draw_list->AddText(NULL, 0.0f, pos, GetColorU32(ImGuiCol_Text), text, text_display_end, 0.0f, NULL… in RenderTextClippedEx() 3590 static void AddDrawListToDrawData(ImVector<ImDrawList*>* out_list, ImDrawList* draw_list) in AddDrawListToDrawData() argument 3592 if (draw_list->CmdBuffer.empty()) in AddDrawListToDrawData() 3596 ImDrawCmd& last_cmd = draw_list->CmdBuffer.back(); in AddDrawListToDrawData() 3599 draw_list->CmdBuffer.pop_back(); in AddDrawListToDrawData() 3600 if (draw_list->CmdBuffer.empty()) in AddDrawListToDrawData() 3605 …IM_ASSERT(draw_list->VtxBuffer.Size == 0 || draw_list->_VtxWritePtr == draw_list->VtxBuffer.Data +… in AddDrawListToDrawData() [all …]
|
D | imgui_internal.h | 1388 …IMGUI_API void TabItemBackground(ImDrawList* draw_list, const ImRect& bb, ImGuiTabItemFla… 1389 …IMGUI_API bool TabItemLabelAndCloseButton(ImDrawList* draw_list, const ImRect& bb, ImGuiT… 1397 …IMGUI_API void RenderTextClippedEx(ImDrawList* draw_list, const ImVec2& pos_min, const Im… 1409 …IMGUI_API void RenderMouseCursor(ImDrawList* draw_list, ImVec2 pos, float scale, ImGuiMou… 1410 …IMGUI_API void RenderArrowPointingAt(ImDrawList* draw_list, ImVec2 pos, ImVec2 half_sz, I… 1411 …IMGUI_API void RenderRectFilledRangeH(ImDrawList* draw_list, const ImRect& rect, ImU32 co… 1412 …IMGUI_API void RenderPixelEllipsis(ImDrawList* draw_list, ImVec2 pos, int count, ImU32 co… 1452 …IMGUI_API void ShadeVertsLinearColorGradientKeepAlpha(ImDrawList* draw_list, int vert_sta… 1453 …IMGUI_API void ShadeVertsLinearUV(ImDrawList* draw_list, int vert_start_idx, int vert_end…
|
D | imgui.h | 2110 …IMGUI_API void RenderChar(ImDrawList* draw_list, float size, ImVec2 pos, ImU32 col, I… 2111 …IMGUI_API void RenderText(ImDrawList* draw_list, float size, ImVec2 pos, ImU32 col, c…
|
/third_party/skia/gm/ |
D | savelayer.cpp | 148 static void draw_list(SkCanvas* canvas, sk_sp<SkTextBlob> blob, bool useDrawBehind) { in draw_list() function 173 draw_list(canvas, blob, useDrawBehind); 176 draw_list(canvas, blob, useDrawBehind);
|
/third_party/flutter/skia/gm/ |
D | savelayer.cpp | 408 static void draw_list(SkCanvas* canvas, sk_sp<SkTextBlob> blob, bool useDrawBehind) { in draw_list() function 433 draw_list(canvas, blob, useDrawBehind); 436 draw_list(canvas, blob, useDrawBehind);
|
/third_party/skia/third_party/externals/imgui/docs/ |
D | FAQ.md | 454 ImDrawList* draw_list = ImGui::GetWindowDrawList(); 460 draw_list->AddCircleFilled(ImVec2(p.x + 50, p.y + 50), 30.0f, IM_COL32(255, 0, 0, 255), 16); 463 draw_list->AddLine(ImVec2(p.x, p.y), ImVec2(p.x + 100.0f, p.y + 100.0f), IM_COL32(255, 255, 0, 255)…
|