| /xsrc/external/mit/MesaLib.old/dist/src/imgui/ |
| H A D | imgui.h | 50 #define IMGUI_CHECKVERSION() ImGui::DebugCheckVersionAndDataLayout(IMGUI_VERSION, sizeof(ImGuiIO), sizeof(ImGuiStyle), sizeof(ImVec2), sizeof(ImVec4), sizeof(ImDrawVert)) 168 struct ImVec2 struct 171 ImVec2() { x = y = 0.0f; } function in struct:ImVec2 172 ImVec2(float _x, float _y) { x = _x; y = _y; } function in struct:ImVec2 176 IM_VEC2_CLASS_EXTRA // Define additional constructors and implicit cast operators in imconfig.h to convert back and forth between your math types and ImVec2. 245 // - For each independent axis of 'size': ==0.0f: use remaining host window size / >0.0f: fixed size / <0.0f: use remaining window size minus abs(size) / Each axis can use a different mode, e.g. ImVec2(0,400). 248 IMGUI_API bool BeginChild(const char* str_id, const ImVec2& size = ImVec2(0,0), bool border = false, ImGuiWindowFlags flags = 0); 249 IMGUI_API bool BeginChild(ImGuiID id, const ImVec2& size = ImVec2( [all...] |
| H A D | imgui_internal.h | 7 // To implement maths operators for ImVec2 (disabled by default to not collide with using IM_VEC2_CLASS_EXTRA along with your own math types+operators) 165 IMGUI_API ImVec2 ImLineClosestPoint(const ImVec2& a, const ImVec2& b, const ImVec2& p); 166 IMGUI_API bool ImTriangleContainsPoint(const ImVec2& a, const ImVec2& b, const ImVec2& c, const ImVec2& p); 167 IMGUI_API ImVec2 ImTriangleClosestPoin [all...] |
| H A D | imgui_draw.cpp | 355 CircleVtx12[i] = ImVec2(ImCos(a), ImSin(a)); 480 void ImDrawList::PushClipRect(ImVec2 cr_min, ImVec2 cr_max, bool intersect_with_current_clip_rect) 500 PushClipRect(ImVec2(_Data->ClipRectFullscreen.x, _Data->ClipRectFullscreen.y), ImVec2(_Data->ClipRectFullscreen.z, _Data->ClipRectFullscreen.w)); 618 void ImDrawList::PrimRect(const ImVec2& a, const ImVec2& c, ImU32 col) 620 ImVec2 b(c.x, a.y), d(a.x, c.y), uv(_Data->TexUvWhitePixel); 633 void ImDrawList::PrimRectUV(const ImVec2& a, const ImVec2 [all...] |
| H A D | imgui_demo.cpp | 241 ImGui::SetNextWindowPos(ImVec2(650, 20), ImGuiCond_FirstUseEver); 242 ImGui::SetNextWindowSize(ImVec2(550, 680), ImGuiCond_FirstUseEver); 677 ImVec2 pos = ImGui::GetCursorScreenPos(); 678 ImGui::GetWindowDrawList()->AddRectFilled(ImVec2(pos.x + wrap_width, pos.y), ImVec2(pos.x + wrap_width + 10, pos.y + ImGui::GetTextLineHeight()), IM_COL32(255,0,255,255)); 686 ImGui::GetWindowDrawList()->AddRectFilled(ImVec2(pos.x + wrap_width, pos.y), ImVec2(pos.x + wrap_width + 10, pos.y + ImGui::GetTextLineHeight()), IM_COL32(255,0,255,255)); 733 ImVec2 pos = ImGui::GetCursorScreenPos(); 734 ImGui::Image(my_tex_id, ImVec2(my_tex_w, my_tex_h), ImVec2( [all...] |
| H A D | imgui_widgets.cpp | 107 static ImVec2 InputTextCalcTextSizeW(const ImWchar* text_begin, const ImWchar* text_end, const ImWchar** remaining = NULL, ImVec2* out_offset = NULL, bool stop_on_new_line = false); 139 const ImVec2 text_pos(window->DC.CursorPos.x, window->DC.CursorPos.y + window->DC.CurrentLineTextBaseOffset); 152 ImVec2 text_size(0,0); 156 ImVec2 pos = text_pos; 180 ImRect line_rect(pos, pos + ImVec2(FLT_MAX, line_height)); 189 const ImVec2 line_size = CalcTextSize(line, line_end, false); 221 const ImVec2 text_size = CalcTextSize(text_begin, text_end, false, wrap_width); 320 const ImVec2 label_size = CalcTextSize(label, NULL, true); 321 const ImRect value_bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2( [all...] |
| H A D | imgui.cpp | 43 - How can I use my own math types instead of ImVec2/ImVec4? 150 - C++: ImVec2/ImVec4 do not expose math operators by default, because it is expected that you use your own math types. 151 See FAQ "How can I use my own math types instead of ImVec2/ImVec4?" for details about setting up imconfig.h for that. 152 However, imgui_internal.h can optionally export math operators for ImVec2/ImVec4, which we use in this codebase. 303 ImVec2 pos = draw_data->DisplayPos; 441 - 2017/08/25 (1.52) - io.MousePos needs to be set to ImVec2(-FLT_MAX,-FLT_MAX) when mouse is unavailable/missing. Previously ImVec2(-1,-1) was enough but we now accept negative mouse coordinates. In your binding if you need to support unavailable mouse, make sure to replace "io.MousePos = ImVec2(-1,-1)" with "io.MousePos = ImVec2(-FLT_MAX,-FLT_MAX)". 454 - changed prototype of rarely used 'ColorButton(ImVec4 col, bool small_height = false, bool outline_border = true)' to 'ColorButton(const char* desc_id, ImVec4 col, ImGuiColorEditFlags flags = 0, ImVec2 siz [all...] |
| H A D | imgui_memory_editor.h | 194 ImGui::SetNextWindowSizeConstraints(ImVec2(0.0f, 0.0f), ImVec2(s.WindowWidth, FLT_MAX)); 205 ImGui::SetWindowSize(ImVec2(s.WindowWidth, ImGui::GetWindowSize().y)); 227 ImGui::BeginChild("##scrolling", ImVec2(0, -footer_height), false, ImGuiWindowFlags_NoMove); 230 ImGui::PushStyleVar(ImGuiStyleVar_FramePadding, ImVec2(0, 0)); 231 ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(0, 0)); 267 ImVec2 window_pos = ImGui::GetWindowPos(); 269 draw_list->AddLine(ImVec2(window_pos.x + s.PosAsciiStart - s.GlyphWidth, window_pos.y), ImVec2(window_pos.x + s.PosAsciiStart - s.GlyphWidth, window_pos.y + 9999), ImGui::GetColorU32(ImGuiCol_Border)); 299 ImVec2 po [all...] |
| /xsrc/external/mit/MesaLib/dist/src/imgui/ |
| H A D | imgui.h | 50 #define IMGUI_CHECKVERSION() ImGui::DebugCheckVersionAndDataLayout(IMGUI_VERSION, sizeof(ImGuiIO), sizeof(ImGuiStyle), sizeof(ImVec2), sizeof(ImVec4), sizeof(ImDrawVert)) 168 struct ImVec2 struct 171 ImVec2() { x = y = 0.0f; } function in struct:ImVec2 172 ImVec2(float _x, float _y) { x = _x; y = _y; } function in struct:ImVec2 176 IM_VEC2_CLASS_EXTRA // Define additional constructors and implicit cast operators in imconfig.h to convert back and forth between your math types and ImVec2. 245 // - For each independent axis of 'size': ==0.0f: use remaining host window size / >0.0f: fixed size / <0.0f: use remaining window size minus abs(size) / Each axis can use a different mode, e.g. ImVec2(0,400). 248 IMGUI_API bool BeginChild(const char* str_id, const ImVec2& size = ImVec2(0,0), bool border = false, ImGuiWindowFlags flags = 0); 249 IMGUI_API bool BeginChild(ImGuiID id, const ImVec2& size = ImVec2( [all...] |
| H A D | imgui_internal.h | 7 // To implement maths operators for ImVec2 (disabled by default to not collide with using IM_VEC2_CLASS_EXTRA along with your own math types+operators) 165 IMGUI_API ImVec2 ImLineClosestPoint(const ImVec2& a, const ImVec2& b, const ImVec2& p); 166 IMGUI_API bool ImTriangleContainsPoint(const ImVec2& a, const ImVec2& b, const ImVec2& c, const ImVec2& p); 167 IMGUI_API ImVec2 ImTriangleClosestPoin [all...] |
| H A D | imgui_draw.cpp | 355 CircleVtx12[i] = ImVec2(ImCos(a), ImSin(a)); 480 void ImDrawList::PushClipRect(ImVec2 cr_min, ImVec2 cr_max, bool intersect_with_current_clip_rect) 500 PushClipRect(ImVec2(_Data->ClipRectFullscreen.x, _Data->ClipRectFullscreen.y), ImVec2(_Data->ClipRectFullscreen.z, _Data->ClipRectFullscreen.w)); 618 void ImDrawList::PrimRect(const ImVec2& a, const ImVec2& c, ImU32 col) 620 ImVec2 b(c.x, a.y), d(a.x, c.y), uv(_Data->TexUvWhitePixel); 633 void ImDrawList::PrimRectUV(const ImVec2& a, const ImVec2 [all...] |
| H A D | imgui_widgets.cpp | 107 static ImVec2 InputTextCalcTextSizeW(const ImWchar* text_begin, const ImWchar* text_end, const ImWchar** remaining = NULL, ImVec2* out_offset = NULL, bool stop_on_new_line = false); 139 const ImVec2 text_pos(window->DC.CursorPos.x, window->DC.CursorPos.y + window->DC.CurrentLineTextBaseOffset); 152 ImVec2 text_size(0,0); 156 ImVec2 pos = text_pos; 180 ImRect line_rect(pos, pos + ImVec2(FLT_MAX, line_height)); 189 const ImVec2 line_size = CalcTextSize(line, line_end, false); 221 const ImVec2 text_size = CalcTextSize(text_begin, text_end, false, wrap_width); 320 const ImVec2 label_size = CalcTextSize(label, NULL, true); 321 const ImRect value_bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2( [all...] |
| H A D | imgui.cpp | 43 - How can I use my own math types instead of ImVec2/ImVec4? 150 - C++: ImVec2/ImVec4 do not expose math operators by default, because it is expected that you use your own math types. 151 See FAQ "How can I use my own math types instead of ImVec2/ImVec4?" for details about setting up imconfig.h for that. 152 However, imgui_internal.h can optionally export math operators for ImVec2/ImVec4, which we use in this codebase. 303 ImVec2 pos = draw_data->DisplayPos; 441 - 2017/08/25 (1.52) - io.MousePos needs to be set to ImVec2(-FLT_MAX,-FLT_MAX) when mouse is unavailable/missing. Previously ImVec2(-1,-1) was enough but we now accept negative mouse coordinates. In your binding if you need to support unavailable mouse, make sure to replace "io.MousePos = ImVec2(-1,-1)" with "io.MousePos = ImVec2(-FLT_MAX,-FLT_MAX)". 454 - changed prototype of rarely used 'ColorButton(ImVec4 col, bool small_height = false, bool outline_border = true)' to 'ColorButton(const char* desc_id, ImVec4 col, ImGuiColorEditFlags flags = 0, ImVec2 siz [all...] |
| H A D | imgui_memory_editor.h | 196 ImGui::SetNextWindowSizeConstraints(ImVec2(0.0f, 0.0f), ImVec2(s.WindowWidth, FLT_MAX)); 207 ImGui::SetWindowSize(ImVec2(s.WindowWidth, ImGui::GetWindowSize().y)); 229 ImGui::BeginChild("##scrolling", ImVec2(0, -footer_height), false, ImGuiWindowFlags_NoMove); 232 ImGui::PushStyleVar(ImGuiStyleVar_FramePadding, ImVec2(0, 0)); 233 ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(0, 0)); 269 ImVec2 window_pos = ImGui::GetWindowPos(); 271 draw_list->AddLine(ImVec2(window_pos.x + s.PosAsciiStart - s.GlyphWidth, window_pos.y), ImVec2(window_pos.x + s.PosAsciiStart - s.GlyphWidth, window_pos.y + 9999), ImGui::GetColorU32(ImGuiCol_Border)); 301 ImVec2 po [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/intel/tools/ |
| H A D | aubinator_viewer_urb.h | 16 bool _Hovered(const ImVec2& mouse, bool window_hovered, 17 const ImVec2& tl, const ImVec2& br) { 28 const ImVec2 label_size = ImGui::CalcTextSize("VS entry: ", NULL, true); 29 ImVec2 graph_size(ImGui::CalcItemWidth(), 2 * n_stages * label_size.y); 31 ImGui::BeginChild(label, ImVec2(0, graph_size.y), false); 38 const ImVec2 window_pos = ImGui::GetWindowPos(); 39 const ImVec2 mouse_pos = ImGui::GetMousePos(); 47 ImVec2 alloc_pos(window_pos.x, y); 48 ImVec2 alloc_t [all...] |
| H A D | aubinator_viewer.cpp | 241 ImVec2 position; 242 ImVec2 size; 386 window->base.position = ImVec2(-1, -1); 387 window->base.size = ImVec2(700, 300); 449 window->base.position = ImVec2(-1, -1); 450 window->base.size = ImVec2(700, 300); 521 window->base.position = ImVec2(-1, -1); 522 window->base.size = ImVec2(500, 600); 622 window->base.position = ImVec2(-1, -1); 623 window->base.size = ImVec2(50 [all...] |
| /xsrc/external/mit/MesaLib/dist/src/intel/tools/ |
| H A D | aubinator_viewer_urb.h | 16 bool _Hovered(const ImVec2& mouse, bool window_hovered, 17 const ImVec2& tl, const ImVec2& br) { 28 const ImVec2 label_size = ImGui::CalcTextSize("VS entry: ", NULL, true); 29 ImVec2 graph_size(ImGui::CalcItemWidth(), 2 * n_stages * label_size.y); 31 ImGui::BeginChild(label, ImVec2(0, graph_size.y), false); 38 const ImVec2 window_pos = ImGui::GetWindowPos(); 39 const ImVec2 mouse_pos = ImGui::GetMousePos(); 47 ImVec2 alloc_pos(window_pos.x, y); 48 ImVec2 alloc_t [all...] |
| H A D | aubinator_viewer.cpp | 239 ImVec2 position; 240 ImVec2 size; 384 window->base.position = ImVec2(-1, -1); 385 window->base.size = ImVec2(700, 300); 447 window->base.position = ImVec2(-1, -1); 448 window->base.size = ImVec2(700, 300); 519 window->base.position = ImVec2(-1, -1); 520 window->base.size = ImVec2(500, 600); 620 window->base.position = ImVec2(-1, -1); 621 window->base.size = ImVec2(50 [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/intel/tools/imgui/ |
| H A D | imgui_impl_gtk3.cpp | 38 static ImVec2 g_MousePosition = ImVec2(-1, -1); 68 g_MousePosition = ImVec2(x, y); 241 io.DisplaySize = ImVec2((float)gtk_widget_get_allocated_width(g_GtkGlArea), 244 io.DisplayFramebufferScale = ImVec2(scale_factor, scale_factor); 258 io.MousePos = ImVec2(-1,-1);
|
| H A D | imgui_impl_opengl3.cpp | 174 ImVec2 pos = draw_data->DisplayPos;
|
| /xsrc/external/mit/MesaLib/dist/src/intel/tools/imgui/ |
| H A D | imgui_impl_gtk3.cpp | 38 static ImVec2 g_MousePosition = ImVec2(-1, -1); 68 g_MousePosition = ImVec2(x, y); 241 io.DisplaySize = ImVec2((float)gtk_widget_get_allocated_width(g_GtkGlArea), 244 io.DisplayFramebufferScale = ImVec2(scale_factor, scale_factor); 258 io.MousePos = ImVec2(-1,-1);
|
| H A D | imgui_impl_opengl3.cpp | 174 ImVec2 pos = draw_data->DisplayPos;
|
| /xsrc/external/mit/MesaLib.old/dist/src/vulkan/overlay-layer/ |
| H A D | overlay.cpp | 166 ImVec2 window_size; 492 data->window_size = ImVec2(instance_data->params.width, instance_data->params.height); 675 ImGui::SetNextWindowPos(ImVec2(margin, margin), ImGuiCond_Always); 678 ImGui::SetNextWindowPos(ImVec2(data->width - data->window_size.x - margin, margin), 682 ImGui::SetNextWindowPos(ImVec2(margin, data->height - data->window_size.y - margin), 686 ImGui::SetNextWindowPos(ImVec2(data->width - data->window_size.x - margin, 749 ImVec2(ImGui::GetContentRegionAvailWidth(), 30)); 759 ImVec2(ImGui::GetContentRegionAvailWidth(), 30)); 765 data->window_size = ImVec2(data->window_size.x, ImGui::GetCursorPosY() + 10.0f); 1070 ImVec2 display_po [all...] |
| /xsrc/external/mit/MesaLib/dist/src/vulkan/overlay-layer/ |
| H A D | overlay.cpp | 182 ImVec2 window_size; 500 data->window_size = ImVec2(instance_data->params.width, instance_data->params.height); 907 ImGui::SetNextWindowPos(ImVec2(margin, margin), ImGuiCond_Always); 910 ImGui::SetNextWindowPos(ImVec2(data->width - data->window_size.x - margin, margin), 914 ImGui::SetNextWindowPos(ImVec2(margin, data->height - data->window_size.y - margin), 918 ImGui::SetNextWindowPos(ImVec2(data->width - data->window_size.x - margin, 988 ImVec2(ImGui::GetContentRegionAvailWidth(), 30)); 998 ImVec2(ImGui::GetContentRegionAvailWidth(), 30)); 1004 data->window_size = ImVec2(data->window_size.x, ImGui::GetCursorPosY() + 10.0f); 1309 ImVec2 display_po [all...] |