| /xsrc/external/mit/MesaLib/dist/src/compiler/nir/ |
| nir_lower_convert_alu_types.c | 36 nir_rounding_mode rounding = nir_intrinsic_rounding_mode(conv); local 38 nir_simplify_conversion_rounding(src_type, dest_type, rounding); 39 if (rounding != simple_rounding) {
|
| /xsrc/external/mit/MesaLib/dist/src/imgui/ |
| imgui_draw.cpp | 1021 void ImDrawList::PathRect(const ImVec2& a, const ImVec2& b, float rounding, int rounding_corners) 1023 rounding = ImMin(rounding, ImFabs(b.x - a.x) * ( ((rounding_corners & ImDrawCornerFlags_Top) == ImDrawCornerFlags_Top) || ((rounding_corners & ImDrawCornerFlags_Bot) == ImDrawCornerFlags_Bot) ? 0.5f : 1.0f ) - 1.0f); 1024 rounding = ImMin(rounding, ImFabs(b.y - a.y) * ( ((rounding_corners & ImDrawCornerFlags_Left) == ImDrawCornerFlags_Left) || ((rounding_corners & ImDrawCornerFlags_Right) == ImDrawCornerFlags_Right) ? 0.5f : 1.0f ) - 1.0f); 1026 if (rounding <= 0.0f || rounding_corners == 0) 1035 const float rounding_tl = (rounding_corners & ImDrawCornerFlags_TopLeft) ? rounding : 0.0f; 1036 const float rounding_tr = (rounding_corners & ImDrawCornerFlags_TopRight) ? rounding : 0.0f; 1037 const float rounding_br = (rounding_corners & ImDrawCornerFlags_BotRight) ? rounding : 0.0f; 1038 const float rounding_bl = (rounding_corners & ImDrawCornerFlags_BotLeft) ? rounding : 0.0f 3023 draw_list->PathArcToFast(ImVec2(x0, p1.y - rounding), rounding, 3, 6); \/\/ BL local 3024 draw_list->PathArcToFast(ImVec2(x0, p0.y + rounding), rounding, 6, 9); \/\/ TR local 3028 draw_list->PathArcTo(ImVec2(x0, p1.y - rounding), rounding, IM_PI - arc0_e, IM_PI - arc0_b, 3); \/\/ BL local 3029 draw_list->PathArcTo(ImVec2(x0, p0.y + rounding), rounding, IM_PI + arc0_b, IM_PI + arc0_e, 3); \/\/ TR local 3043 draw_list->PathArcToFast(ImVec2(x1, p0.y + rounding), rounding, 9, 12); \/\/ TR local 3044 draw_list->PathArcToFast(ImVec2(x1, p1.y - rounding), rounding, 0, 3); \/\/ BR local 3048 draw_list->PathArcTo(ImVec2(x1, p0.y + rounding), rounding, -arc1_e, -arc1_b, 3); \/\/ TR local 3049 draw_list->PathArcTo(ImVec2(x1, p1.y - rounding), rounding, +arc1_b, +arc1_e, 3); \/\/ BR local [all...] |
| imgui.cpp | 402 - 2018/03/08 (1.60) - changed ImFont::DisplayOffset.y to default to 0 instead of +1. Fixed rounding of Ascent/Descent to match TrueType renderer. If you were adding or subtracting to ImFont::DisplayOffset check if your fonts are correctly aligned vertically. 1083 WindowRounding = 7.0f; // Radius of window corners rounding. Set to 0.0f to have rectangular windows 1087 ChildRounding = 0.0f; // Radius of child window corners rounding. Set to 0.0f to have rectangular child windows 1089 PopupRounding = 0.0f; // Radius of popup window corners rounding. Set to 0.0f to have rectangular child windows 1092 FrameRounding = 0.0f; // Radius of frame corners rounding. Set to 0.0f to have rectangular frames (used by most widgets). 1100 ScrollbarRounding = 9.0f; // Radius of grab corners rounding for scrollbar 1102 GrabRounding = 0.0f; // Radius of grabs corners rounding. Set to 0.0f to have rectangular slider grabs. 2372 // Render a rectangle shaped with optional rounding and borders 2373 void ImGui::RenderFrame(ImVec2 p_min, ImVec2 p_max, ImU32 fill_col, bool border, float rounding) 2377 window->DrawList->AddRectFilled(p_min, p_max, fill_col, rounding); 2469 float rounding = (flags & ImGuiNavHighlightFlags_NoRounding) ? 0.0f : g.Style.FrameRounding; local 4810 float rounding = window->WindowRounding; local 4833 window->DrawList->PathArcTo(ImLerp(border_r.Min, border_r.Max, def.CornerPosN1) + ImVec2(0.5f, 0.5f) + def.InnerDir * rounding, rounding, def.OuterAngle - IM_PI*0.25f, def.OuterAngle); local 4834 window->DrawList->PathArcTo(ImLerp(border_r.Min, border_r.Max, def.CornerPosN2) + ImVec2(0.5f, 0.5f) + def.InnerDir * rounding, rounding, def.OuterAngle, def.OuterAngle + IM_PI*0.25f); local 5293 float rounding = ImMax(window->WindowRounding, g.Style.WindowRounding); local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/imgui/ |
| imgui_draw.cpp | 1021 void ImDrawList::PathRect(const ImVec2& a, const ImVec2& b, float rounding, int rounding_corners) 1023 rounding = ImMin(rounding, ImFabs(b.x - a.x) * ( ((rounding_corners & ImDrawCornerFlags_Top) == ImDrawCornerFlags_Top) || ((rounding_corners & ImDrawCornerFlags_Bot) == ImDrawCornerFlags_Bot) ? 0.5f : 1.0f ) - 1.0f); 1024 rounding = ImMin(rounding, ImFabs(b.y - a.y) * ( ((rounding_corners & ImDrawCornerFlags_Left) == ImDrawCornerFlags_Left) || ((rounding_corners & ImDrawCornerFlags_Right) == ImDrawCornerFlags_Right) ? 0.5f : 1.0f ) - 1.0f); 1026 if (rounding <= 0.0f || rounding_corners == 0) 1035 const float rounding_tl = (rounding_corners & ImDrawCornerFlags_TopLeft) ? rounding : 0.0f; 1036 const float rounding_tr = (rounding_corners & ImDrawCornerFlags_TopRight) ? rounding : 0.0f; 1037 const float rounding_br = (rounding_corners & ImDrawCornerFlags_BotRight) ? rounding : 0.0f; 1038 const float rounding_bl = (rounding_corners & ImDrawCornerFlags_BotLeft) ? rounding : 0.0f 3023 draw_list->PathArcToFast(ImVec2(x0, p1.y - rounding), rounding, 3, 6); \/\/ BL local 3024 draw_list->PathArcToFast(ImVec2(x0, p0.y + rounding), rounding, 6, 9); \/\/ TR local 3028 draw_list->PathArcTo(ImVec2(x0, p1.y - rounding), rounding, IM_PI - arc0_e, IM_PI - arc0_b, 3); \/\/ BL local 3029 draw_list->PathArcTo(ImVec2(x0, p0.y + rounding), rounding, IM_PI + arc0_b, IM_PI + arc0_e, 3); \/\/ TR local 3043 draw_list->PathArcToFast(ImVec2(x1, p0.y + rounding), rounding, 9, 12); \/\/ TR local 3044 draw_list->PathArcToFast(ImVec2(x1, p1.y - rounding), rounding, 0, 3); \/\/ BR local 3048 draw_list->PathArcTo(ImVec2(x1, p0.y + rounding), rounding, -arc1_e, -arc1_b, 3); \/\/ TR local 3049 draw_list->PathArcTo(ImVec2(x1, p1.y - rounding), rounding, +arc1_b, +arc1_e, 3); \/\/ BR local [all...] |
| imgui.cpp | 402 - 2018/03/08 (1.60) - changed ImFont::DisplayOffset.y to default to 0 instead of +1. Fixed rounding of Ascent/Descent to match TrueType renderer. If you were adding or subtracting to ImFont::DisplayOffset check if your fonts are correctly aligned vertically. 1083 WindowRounding = 7.0f; // Radius of window corners rounding. Set to 0.0f to have rectangular windows 1087 ChildRounding = 0.0f; // Radius of child window corners rounding. Set to 0.0f to have rectangular child windows 1089 PopupRounding = 0.0f; // Radius of popup window corners rounding. Set to 0.0f to have rectangular child windows 1092 FrameRounding = 0.0f; // Radius of frame corners rounding. Set to 0.0f to have rectangular frames (used by most widgets). 1100 ScrollbarRounding = 9.0f; // Radius of grab corners rounding for scrollbar 1102 GrabRounding = 0.0f; // Radius of grabs corners rounding. Set to 0.0f to have rectangular slider grabs. 2372 // Render a rectangle shaped with optional rounding and borders 2373 void ImGui::RenderFrame(ImVec2 p_min, ImVec2 p_max, ImU32 fill_col, bool border, float rounding) 2377 window->DrawList->AddRectFilled(p_min, p_max, fill_col, rounding); 2469 float rounding = (flags & ImGuiNavHighlightFlags_NoRounding) ? 0.0f : g.Style.FrameRounding; local 4810 float rounding = window->WindowRounding; local 4833 window->DrawList->PathArcTo(ImLerp(border_r.Min, border_r.Max, def.CornerPosN1) + ImVec2(0.5f, 0.5f) + def.InnerDir * rounding, rounding, def.OuterAngle - IM_PI*0.25f, def.OuterAngle); local 4834 window->DrawList->PathArcTo(ImLerp(border_r.Min, border_r.Max, def.CornerPosN2) + ImVec2(0.5f, 0.5f) + def.InnerDir * rounding, rounding, def.OuterAngle, def.OuterAngle + IM_PI*0.25f); local 5293 float rounding = ImMax(window->WindowRounding, g.Style.WindowRounding); local [all...] |