• LRN's avatar
    GDK W32: Switch to GdkCairoContext · 7002f08c
    LRN authored
    * Remove DC refcounting (we trust GDK to always do
      begin_frame/end_frame calls in pairs)
    * Now that there's no GDK-provided double-buffer up the stack,
      double-buffering is implemented here
      (though it's disabled by default - in my tests it didn't provide
       any visual improvements, but did decrease performance).
    * For some reason delaying window resizes until the point where
      we need to blit the double-buffer into the window leads
      to visual glitches, so doulbe-buffered windows are resized
      in begin_frame, same as non-double-buffered ones.
    * New code to clear the paint region, for all drawing modes.
      Hopefully, it isn't duplicated anywhere up the stack.
    * GL has its own context now, so remove any GL-related comments.
    * Layered windows are still used (because cairo actually works
      better with them)
    * A bit more code re-use for layered windows
    * Some functions that were local to gdksurface-win32.c are made
      usable for the whole backend
    * Drag-indicator drawing is temporarily commented out to match
      a similar change in X11 backend
    7002f08c
Name
Last commit
Last update
.gitlab/issue_templates Loading commit data...
.gitlab-ci Loading commit data...
build-aux Loading commit data...
demos Loading commit data...
docs Loading commit data...
examples Loading commit data...
gdk Loading commit data...
gsk Loading commit data...
gtk Loading commit data...
modules Loading commit data...
po Loading commit data...
po-properties Loading commit data...
subprojects Loading commit data...
tests Loading commit data...
testsuite Loading commit data...
.gitlab-ci.yml Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING Loading commit data...
NEWS Loading commit data...
NEWS.pre-1.0 Loading commit data...
NEWS.pre-2.0 Loading commit data...
NEWS.pre-3.0 Loading commit data...
README.commits Loading commit data...
README.md Loading commit data...
config.h.meson Loading commit data...
gtk+-4.0.pc.in Loading commit data...
gtk+-unix-print-4.0.pc.in Loading commit data...
gtk.doap Loading commit data...
make-pot Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...