Skip to content

Cherry-pick some OpenGL canvas changes from !1329

This cherry-picks some of the changes from !1329 that is related to the OpenGL canvas. I plan to remake the branch for MR !1329 so I want to consider merging some of the changes into master first.

The changes include:

  • Reorganizing some code between KisOpenGLCanvasRenderer and KisOpenGLCanvas2
  • Adding KisRepaintDebugger (can be enabled by setting KRITA_DEBUG_REPAINT=1 but seizure warning)
  • Finer control with canvas updates (skip redrawing image tiles on the canvas FBO in some cases)
  • Simplifying scaled viewport size handling

Merge request reports