f61ee1ecac
Previously, in cases where the backbuffer was null, we would call layer->onPrePaint (which starts a new frame with ImGui::NewFrame) without a matching call to layer->onPaint (which calls ImGui::Render). This causes the ImGui frame counter to go out of sync, which leads to an assertion when NewFrame is next called. (The backbuffer can become null if unsupported settings are used, e.g. a MSAA setting above the maximum supported by your GPU.) Change-Id: I1b8fbaa1bf78ad5e1aa41fd04eda6be206c952b4 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/283196 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Brian Osman <brianosman@google.com> Auto-Submit: John Stiles <johnstiles@google.com> |
||
---|---|---|
.. | ||
android | ||
ios | ||
mac | ||
unix | ||
win | ||
Application.h | ||
CommandSet.cpp | ||
CommandSet.h | ||
DawnWindowContext.cpp | ||
DawnWindowContext.h | ||
DisplayParams.h | ||
GLWindowContext.cpp | ||
GLWindowContext.h | ||
MetalWindowContext.h | ||
MetalWindowContext.mm | ||
RasterWindowContext.h | ||
VulkanWindowContext.cpp | ||
VulkanWindowContext.h | ||
Window.cpp | ||
Window.h | ||
WindowContext.h |