#include <SkSLDebuggerSlide.h>
|
| SkSLDebuggerSlide () |
|
void | draw (SkCanvas *canvas) override |
|
bool | animate (double nanos) override |
|
void | resize (SkScalar winWidth, SkScalar winHeight) override |
|
void | load (SkScalar winWidth, SkScalar winHeight) override |
|
void | unload () override |
|
bool | onMouse (SkScalar x, SkScalar y, skui::InputState state, skui::ModifierKey modifiers) override |
|
virtual SkISize | getDimensions () const |
|
virtual void | gpuTeardown () |
|
virtual void | draw (SkCanvas *canvas)=0 |
|
virtual bool | animate (double nanos) |
|
virtual void | load (SkScalar winWidth, SkScalar winHeight) |
|
virtual void | resize (SkScalar winWidth, SkScalar winHeight) |
|
virtual void | unload () |
|
virtual bool | onChar (SkUnichar c) |
|
virtual bool | onMouse (SkScalar x, SkScalar y, skui::InputState state, skui::ModifierKey modifiers) |
|
virtual bool | onGetControls (SkMetaData *) |
|
virtual void | onSetControls (const SkMetaData &) |
|
const SkString & | getName () |
|
| SkRefCntBase () |
|
virtual | ~SkRefCntBase () |
|
bool | unique () const |
|
void | ref () const |
|
void | unref () const |
|
Definition at line 24 of file SkSLDebuggerSlide.h.
◆ SkSLDebuggerSlide()
SkSLDebuggerSlide::SkSLDebuggerSlide |
( |
| ) |
|
◆ animate()
bool SkSLDebuggerSlide::animate |
( |
double |
nanos | ) |
|
|
overridevirtual |
◆ draw()
void SkSLDebuggerSlide::draw |
( |
SkCanvas * |
canvas | ) |
|
|
overridevirtual |
Implements Slide.
Definition at line 283 of file SkSLDebuggerSlide.cpp.
283 {
285 ImGui::Begin("Debugger", nullptr, ImGuiWindowFlags_AlwaysVerticalScrollbar);
286 this->showRootGUI();
287 ImGui::End();
288}
constexpr SkColor SK_ColorWHITE
void clear(SkColor color)
◆ load()
◆ onMouse()
◆ resize()
◆ unload()
void SkSLDebuggerSlide::unload |
( |
| ) |
|
|
overridevirtual |
Reimplemented from Slide.
Definition at line 37 of file SkSLDebuggerSlide.cpp.
37 {
38 fTrace = sk_make_sp<SkSL::DebugTracePriv>();
39 fPlayer.
reset(
nullptr);
41}
void reset(sk_sp< DebugTracePriv > trace)
void setBreakpoints(std::unordered_set< int > breakpointLines)
The documentation for this class was generated from the following files: