Lines Matching refs:fWindow
226 fWindow = Window::CreateNativeWindow(platformData);
231 fWindow->setRequestedDisplayParams(displayParams);
240 fCommands.attach(fWindow);
241 fWindow->pushLayer(this);
242 fWindow->pushLayer(&fStatsLayer);
243 fWindow->pushLayer(&fImGuiLayer);
248 fWindow->inval(); in __anon4982b52a0102()
254 fWindow->inval(); in __anon4982b52a0202()
260 fWindow->inval(); in __anon4982b52a0302()
264 fWindow->inval(); in __anon4982b52a0402()
268 fWindow->inval(); in __anon4982b52a0502()
272 fWindow->inval(); in __anon4982b52a0602()
276 fWindow->inval(); in __anon4982b52a0702()
281 fWindow->inval(); in __anon4982b52a0802()
304 fWindow->inval(); in __anon4982b52a0c02()
308 fWindow->inval(); in __anon4982b52a0d02()
326 fWindow->inval(); in __anon4982b52a0f02()
329 DisplayParams params = fWindow->getRequestedDisplayParams(); in __anon4982b52a1002()
354 fWindow->setRequestedDisplayParams(params); in __anon4982b52a1002()
356 fWindow->inval(); in __anon4982b52a1002()
380 fWindow->inval(); in __anon4982b52a1102()
430 fWindow->inval(); in __anon4982b52a1202()
433 DisplayParams params = fWindow->getRequestedDisplayParams(); in __anon4982b52a1302()
437 fWindow->setRequestedDisplayParams(params); in __anon4982b52a1302()
439 fWindow->inval(); in __anon4982b52a1302()
460 fWindow->inval(); in __anon4982b52a1402()
474 fWindow->inval(); in __anon4982b52a1502()
480 fWindow->inval(); in __anon4982b52a1602()
486 fWindow->inval(); in __anon4982b52a1702()
494 fWindow->inval(); in __anon4982b52a1902()
516 fWindow->attach(backend_type_for_window(fBackendType));
652 fWindow->detach(); in ~Viewer()
653 delete fWindow; in ~Viewer()
677 if (!fWindow) { in updateTitle()
680 if (fWindow->sampleCount() < 1) { in updateTitle()
788 const DisplayParams& params = fWindow->getRequestedDisplayParams(); in updateTitle()
815 int msaa = fWindow->sampleCount(); in updateTitle()
821 GpuPathRenderers pr = fWindow->getRequestedDisplayParams().fGrContextOptions.fGpuPathRenderers; in updateTitle()
832 fWindow->setTitle(title.c_str()); in updateTitle()
870 fSlides[slide]->load(SkIntToScalar(fWindow->width()), in setCurrentSlide()
871 SkIntToScalar(fWindow->height())); in setCurrentSlide()
884 const SkRect windowRect = SkRect::MakeIWH(fWindow->width(), fWindow->height()); in setupCurrentSlide()
887 if (fWindow->scaleContentToFit()) { in setupCurrentSlide()
901 fWindow->inval(); in setupCurrentSlide()
918 const SkRect windowRect = SkRect::MakeIWH(fWindow->width(), fWindow->height()); in preTouchMatrixChanged()
923 SkScalar w = fWindow->width(), h = fWindow->height(); in computePerspectiveMatrix()
964 fWindow->detach(); in setBackend()
969 DisplayParams params = fWindow->getRequestedDisplayParams(); in setBackend()
970 delete fWindow; in setBackend()
971 fWindow = Window::CreateNativeWindow(nullptr); in setBackend()
974 fCommands.attach(fWindow); in setBackend()
975 fWindow->pushLayer(this); in setBackend()
976 fWindow->pushLayer(&fStatsLayer); in setBackend()
977 fWindow->pushLayer(&fImGuiLayer); in setBackend()
985 fWindow->setRequestedDisplayParams(params, false); in setBackend()
988 fWindow->attach(backend_type_for_window(fBackendType)); in setBackend()
994 fWindow->inval(); in setColorMode()
1163 offscreenSurface = make_surface(fWindow->width(), fWindow->height()); in drawSlide()
1172 int tileW = SkScalarCeilToInt(fWindow->width() * fTileScale.width()); in drawSlide()
1173 int tileH = SkScalarCeilToInt(fWindow->height() * fTileScale.height()); in drawSlide()
1177 for (int y = 0; y < fWindow->height(); y += tileH) { in drawSlide()
1178 for (int x = 0; x < fWindow->width(); x += tileW) { in drawSlide()
1195 for (int y = 0; y < fWindow->height(); y += tileH) { in drawSlide()
1196 for (int x = 0; x < fWindow->width(); x += tileW) { in drawSlide()
1204 slideCanvas->clipRect(SkRect::MakeWH(fWindow->width(), fWindow->height())); in drawSlide()
1236 fWindow->show(); in onBackendCreated()
1246 if (GrContext* ctx = fWindow->getGrContext()) { in onPaint()
1274 fWindow->inval(); in onTouch()
1311 fWindow->inval(); in onTouch()
1322 fWindow->inval(); in onMouse()
1343 fWindow->inval(); in onMouse()
1497 DisplayParams params = fWindow->getRequestedDisplayParams(); in drawImGui()
1520 const GrContext* ctx = fWindow->getGrContext(); in drawImGui()
1527 int sampleCount = fWindow->sampleCount(); in drawImGui()
1585 } else if (fWindow->sampleCount() > 1) { in drawImGui()
1928 fWindow->setRequestedDisplayParams(params); in drawImGui()
1929 fWindow->inval(); in drawImGui()
2004 fWindow->inval(); in onIdle()
2027 if (!fWindow) { in updateUIState()
2030 if (fWindow->sampleCount() < 1) { in updateUIState()
2055 const auto countString = SkStringPrintf("%d", fWindow->sampleCount()); in updateUIState()
2070 GpuPathRenderers pr = fWindow->getRequestedDisplayParams().fGrContextOptions.fGpuPathRenderers; in updateUIState()
2073 const GrContext* ctx = fWindow->getGrContext(); in updateUIState()
2080 if (fWindow->sampleCount() > 1) { in updateUIState()
2115 fWindow->setUIState(cstring.c_str()); in updateUIState()
2137 fWindow->detach(); in onUIStateChanged()
2138 fWindow->attach(backend_type_for_window(fBackendType)); in onUIStateChanged()
2144 DisplayParams params = fWindow->getRequestedDisplayParams(); in onUIStateChanged()
2148 fWindow->setRequestedDisplayParams(params); in onUIStateChanged()
2149 fWindow->inval(); in onUIStateChanged()
2154 DisplayParams params = fWindow->getRequestedDisplayParams(); in onUIStateChanged()
2159 fWindow->setRequestedDisplayParams(params); in onUIStateChanged()
2160 fWindow->inval(); in onUIStateChanged()
2187 fWindow->inval(); in onChar()