Searched refs:DeltaTime (Results 1 - 9 of 9) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/intel/tools/imgui/
H A Dimgui_impl_gtk3.cpp248 io.DeltaTime = g_Time > 0 ? ((float)(current_time - g_Time) / 1000000) : (float)(1.0f/60.0f);
/xsrc/external/mit/MesaLib/dist/src/intel/tools/imgui/
H A Dimgui_impl_gtk3.cpp248 io.DeltaTime = g_Time > 0 ? ((float)(current_time - g_Time) / 1000000) : (float)(1.0f/60.0f);
/xsrc/external/mit/MesaLib.old/dist/src/imgui/
H A Dimgui.cpp241 io.DeltaTime = 1.0f/60.0f; // set the time elapsed since the previous frame (in seconds)
1153 DeltaTime = 1.0f/60.0f;
3221 g.IO.MouseDownDuration[i] = g.IO.MouseDown[i] ? (g.IO.MouseDownDuration[i] < 0.0f ? 0.0f : g.IO.MouseDownDuration[i] + g.IO.DeltaTime) : -1.0f;
3369 IM_ASSERT((g.IO.DeltaTime > 0.0f || g.FrameCount == 0) && "Need a positive DeltaTime!");
3399 g.SettingsDirtyTimer -= g.IO.DeltaTime;
3410 g.Time += g.IO.DeltaTime;
3441 g.HoveredIdTimer += g.IO.DeltaTime;
3443 g.HoveredIdNotActiveTimer += g.IO.DeltaTime;
3450 g.ActiveIdTimer += g.IO.DeltaTime;
[all...]
H A Dimgui_demo.cpp1010 progress += progress_dir * 0.4f * ImGui::GetIO().DeltaTime;
2011 ImGui::SmallButton("<<"); if (ImGui::IsItemActive()) { scroll_x_delta = -ImGui::GetIO().DeltaTime * 1000.0f; } ImGui::SameLine();
2013 ImGui::SmallButton(">>"); if (ImGui::IsItemActive()) { scroll_x_delta = +ImGui::GetIO().DeltaTime * 1000.0f; } ImGui::SameLine();
H A Dimgui.h624 IMGUI_API double GetTime(); // get global imgui time. incremented by io.DeltaTime every frame.
647 IMGUI_API int GetKeyPressedAmount(int key_index, float repeat_delay, float rate); // uses provided repeat rate/delay. return a count, most often 0 or 1 but might be >1 if RepeatRate is small enough that DeltaTime > RepeatRate
1289 float DeltaTime; // = 1.0f/60.0f // Time elapsed since last frame, in seconds. member in struct:ImGuiIO
1377 float Framerate; // Application framerate estimation, in frame per second. Solely for convenience. Rolling average estimation based on IO.DeltaTime over 120 frames
H A Dimgui_widgets.cpp427 if (CalcTypematicPressedRepeatAmount(g.HoveredIdTimer + 0.0001f, g.HoveredIdTimer + 0.0001f - g.IO.DeltaTime, 0.01f, 0.70f)) // FIXME: Our formula for CalcTypematicPressedRepeatAmount() is fishy
3627 edit_state.CursorAnim += io.DeltaTime;
6110 const float scrolling_speed = (tab_bar->PrevFrameVisible + 1 < g.FrameCount) ? FLT_MAX : (g.IO.DeltaTime * g.FontSize * 70.0f);
/xsrc/external/mit/MesaLib/dist/src/imgui/
H A Dimgui.cpp241 io.DeltaTime = 1.0f/60.0f; // set the time elapsed since the previous frame (in seconds)
1153 DeltaTime = 1.0f/60.0f;
3221 g.IO.MouseDownDuration[i] = g.IO.MouseDown[i] ? (g.IO.MouseDownDuration[i] < 0.0f ? 0.0f : g.IO.MouseDownDuration[i] + g.IO.DeltaTime) : -1.0f;
3369 IM_ASSERT((g.IO.DeltaTime > 0.0f || g.FrameCount == 0) && "Need a positive DeltaTime!");
3399 g.SettingsDirtyTimer -= g.IO.DeltaTime;
3410 g.Time += g.IO.DeltaTime;
3441 g.HoveredIdTimer += g.IO.DeltaTime;
3443 g.HoveredIdNotActiveTimer += g.IO.DeltaTime;
3450 g.ActiveIdTimer += g.IO.DeltaTime;
[all...]
H A Dimgui.h624 IMGUI_API double GetTime(); // get global imgui time. incremented by io.DeltaTime every frame.
647 IMGUI_API int GetKeyPressedAmount(int key_index, float repeat_delay, float rate); // uses provided repeat rate/delay. return a count, most often 0 or 1 but might be >1 if RepeatRate is small enough that DeltaTime > RepeatRate
1289 float DeltaTime; // = 1.0f/60.0f // Time elapsed since last frame, in seconds. member in struct:ImGuiIO
1377 float Framerate; // Application framerate estimation, in frame per second. Solely for convenience. Rolling average estimation based on IO.DeltaTime over 120 frames
H A Dimgui_widgets.cpp427 if (CalcTypematicPressedRepeatAmount(g.HoveredIdTimer + 0.0001f, g.HoveredIdTimer + 0.0001f - g.IO.DeltaTime, 0.01f, 0.70f)) // FIXME: Our formula for CalcTypematicPressedRepeatAmount() is fishy
3627 edit_state.CursorAnim += io.DeltaTime;
6110 const float scrolling_speed = (tab_bar->PrevFrameVisible + 1 < g.FrameCount) ? FLT_MAX : (g.IO.DeltaTime * g.FontSize * 70.0f);

Completed in 67 milliseconds