HomeSort by: relevance | last modified time | path
    Searched defs:clip_rect (Results 1 - 8 of 8) sorted by relevancy

  /xsrc/external/mit/MesaLib/dist/src/intel/tools/imgui/
imgui_impl_opengl3.cpp 196 ImVec4 clip_rect = ImVec4(pcmd->ClipRect.x - pos.x, pcmd->ClipRect.y - pos.y, pcmd->ClipRect.z - pos.x, pcmd->ClipRect.w - pos.y); local
197 if (clip_rect.x < fb_width && clip_rect.y < fb_height && clip_rect.z >= 0.0f && clip_rect.w >= 0.0f)
200 glScissor((int)clip_rect.x, (int)(fb_height - clip_rect.w), (int)(clip_rect.z - clip_rect.x), (int)(clip_rect.w - clip_rect.y))
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/intel/tools/imgui/
imgui_impl_opengl3.cpp 196 ImVec4 clip_rect = ImVec4(pcmd->ClipRect.x - pos.x, pcmd->ClipRect.y - pos.y, pcmd->ClipRect.z - pos.x, pcmd->ClipRect.w - pos.y); local
197 if (clip_rect.x < fb_width && clip_rect.y < fb_height && clip_rect.z >= 0.0f && clip_rect.w >= 0.0f)
200 glScissor((int)clip_rect.x, (int)(fb_height - clip_rect.w), (int)(clip_rect.z - clip_rect.x), (int)(clip_rect.w - clip_rect.y))
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/imgui/
imgui_widgets.cpp 151 const ImRect clip_rect = window->ClipRect; local
154 if (text_pos.y <= clip_rect.Max.y)
161 int lines_skippable = (int)((clip_rect.Min.y - text_pos.y) / line_height);
3621 const ImVec4 clip_rect(frame_bb.Min.x, frame_bb.Min.y, frame_bb.Min.x + size.x, frame_bb.Min.y + size.y); // Not using frame_bb.Max because we have adjusted size
3727 if (rect_pos.y > clip_rect.w + g.FontSize)
3729 if (rect_pos.y < clip_rect.y)
3742 rect.ClipWith(clip_rect);
3743 if (rect.Overlaps(clip_rect))
3753 draw_window->DrawList->AddText(g.Font, g.FontSize, render_pos - render_scroll, GetColorU32(ImGuiCol_Text), buf_display, buf_display + buf_display_len, 0.0f, is_multiline ? NULL : &clip_rect);
3759 if (cursor_is_visible && cursor_screen_rect.Overlaps(clip_rect))
    [all...]
imgui_draw.cpp 1194 ImVec4 clip_rect = _ClipRectStack.back(); local
1197 clip_rect.x = ImMax(clip_rect.x, cpu_fine_clip_rect->x);
1198 clip_rect.y = ImMax(clip_rect.y, cpu_fine_clip_rect->y);
1199 clip_rect.z = ImMin(clip_rect.z, cpu_fine_clip_rect->z);
1200 clip_rect.w = ImMin(clip_rect.w, cpu_fine_clip_rect->w);
1202 font->RenderText(this, font_size, pos, col, clip_rect, text_begin, text_end, wrap_width, cpu_fine_clip_rect != NULL)
    [all...]
imgui.cpp 499 ImDrawCmd: 'vtx_count' becomes 'ElemCount', 'clip_rect' becomes 'ClipRect', 'user_callback' becomes 'UserCallback', 'texture_id' becomes 'TextureId'.
2327 // Default clip_rect uses (pos_min,pos_max)
2329 void ImGui::RenderTextClippedEx(ImDrawList* draw_list, const ImVec2& pos_min, const ImVec2& pos_max, const char* text, const char* text_display_end, const ImVec2* text_size_if_known, const ImVec2& align, const ImRect* clip_rect)
2335 const ImVec2* clip_min = clip_rect ? &clip_rect->Min : &pos_min;
2336 const ImVec2* clip_max = clip_rect ? &clip_rect->Max : &pos_max;
2338 if (clip_rect) // If we had no explicit clipping rectangle then pos==clip_min
2357 void ImGui::RenderTextClipped(const ImVec2& pos_min, const ImVec2& pos_max, const char* text, const char* text_end, const ImVec2* text_size_if_known, const ImVec2& align, const ImRect* clip_rect)
2367 RenderTextClippedEx(window->DrawList, pos_min, pos_max, text, text_display_end, text_size_if_known, align, clip_rect);
5404 ImRect clip_rect = text_r; local
9332 ImRect clip_rect = pcmd->ClipRect; local
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/imgui/
imgui_widgets.cpp 151 const ImRect clip_rect = window->ClipRect; local
154 if (text_pos.y <= clip_rect.Max.y)
161 int lines_skippable = (int)((clip_rect.Min.y - text_pos.y) / line_height);
3621 const ImVec4 clip_rect(frame_bb.Min.x, frame_bb.Min.y, frame_bb.Min.x + size.x, frame_bb.Min.y + size.y); // Not using frame_bb.Max because we have adjusted size
3727 if (rect_pos.y > clip_rect.w + g.FontSize)
3729 if (rect_pos.y < clip_rect.y)
3742 rect.ClipWith(clip_rect);
3743 if (rect.Overlaps(clip_rect))
3753 draw_window->DrawList->AddText(g.Font, g.FontSize, render_pos - render_scroll, GetColorU32(ImGuiCol_Text), buf_display, buf_display + buf_display_len, 0.0f, is_multiline ? NULL : &clip_rect);
3759 if (cursor_is_visible && cursor_screen_rect.Overlaps(clip_rect))
    [all...]
imgui_draw.cpp 1194 ImVec4 clip_rect = _ClipRectStack.back(); local
1197 clip_rect.x = ImMax(clip_rect.x, cpu_fine_clip_rect->x);
1198 clip_rect.y = ImMax(clip_rect.y, cpu_fine_clip_rect->y);
1199 clip_rect.z = ImMin(clip_rect.z, cpu_fine_clip_rect->z);
1200 clip_rect.w = ImMin(clip_rect.w, cpu_fine_clip_rect->w);
1202 font->RenderText(this, font_size, pos, col, clip_rect, text_begin, text_end, wrap_width, cpu_fine_clip_rect != NULL)
    [all...]
imgui.cpp 499 ImDrawCmd: 'vtx_count' becomes 'ElemCount', 'clip_rect' becomes 'ClipRect', 'user_callback' becomes 'UserCallback', 'texture_id' becomes 'TextureId'.
2327 // Default clip_rect uses (pos_min,pos_max)
2329 void ImGui::RenderTextClippedEx(ImDrawList* draw_list, const ImVec2& pos_min, const ImVec2& pos_max, const char* text, const char* text_display_end, const ImVec2* text_size_if_known, const ImVec2& align, const ImRect* clip_rect)
2335 const ImVec2* clip_min = clip_rect ? &clip_rect->Min : &pos_min;
2336 const ImVec2* clip_max = clip_rect ? &clip_rect->Max : &pos_max;
2338 if (clip_rect) // If we had no explicit clipping rectangle then pos==clip_min
2357 void ImGui::RenderTextClipped(const ImVec2& pos_min, const ImVec2& pos_max, const char* text, const char* text_end, const ImVec2* text_size_if_known, const ImVec2& align, const ImRect* clip_rect)
2367 RenderTextClippedEx(window->DrawList, pos_min, pos_max, text, text_display_end, text_size_if_known, align, clip_rect);
5404 ImRect clip_rect = text_r; local
9332 ImRect clip_rect = pcmd->ClipRect; local
    [all...]

Completed in 61 milliseconds