kwin/wayland_client
Fredrik Höglund 32e9de1e23 Refactor the swap completion interface
Move the buffer-swap-pending state from the compositing backends to
the Compositor class. The Compositor is the only class that needs to
access the state, and this way it to do it without calling through
a chain of virtual functions. This commit adds two new functions to
Compositor; aboutToSwapBuffers() and bufferSwapComplete(). The
backends call these functions to set and reset the buffer-swap-pending
state.

This commit also renames a number of functions and variables to make
their meaning clear.

The act of promoting the contents of the back buffer to become the
contents of the front buffer is referred to as posting the buffer,
presenting the buffer, or swapping the buffers; rendering the buffer
is what paintScreen() does.
2014-09-18 20:21:20 +02:00
..
protocols
buffer.cpp [kwin_wayland] Split out Buffer and ShmPool into dedicated files 2014-08-27 08:57:06 +02:00
buffer.h [kwin_wayland] Split out Buffer and ShmPool into dedicated files 2014-08-27 08:57:06 +02:00
compositor.cpp [kwin_wayland] Create a dedicated class for Compositor 2014-08-27 08:57:06 +02:00
compositor.h [kwin_wayland] Create a dedicated class for Compositor 2014-08-27 08:57:06 +02:00
connection_thread.cpp
connection_thread.h
fullscreen_shell.cpp [kwin_wayland] Create a dedicated Surface class 2014-08-27 08:57:06 +02:00
fullscreen_shell.h [kwin_wayland] Create a dedicated Surface class 2014-08-27 08:57:06 +02:00
keyboard.cpp [kwin_wayland] Create dedicated classes for Seat, Keyboard and Pointer 2014-08-27 08:57:06 +02:00
keyboard.h [kwin_wayland] Fix enum arguments in Q_SIGNALS 2014-09-02 09:52:16 +02:00
output.cpp
output.h [kwin_wayland] Initial addition of the WaylandServer module 2014-09-02 09:52:16 +02:00
pointer.cpp [kwin_wayland] Hold the currently entered Surface in Pointer 2014-09-02 09:48:05 +02:00
pointer.h [kwin_wayland] Fix enum arguments in Q_SIGNALS 2014-09-02 09:52:16 +02:00
registry.cpp
registry.h
seat.cpp [kwin_wayland] Create dedicated classes for Seat, Keyboard and Pointer 2014-08-27 08:57:06 +02:00
seat.h [kwin_wayland] Create dedicated classes for Seat, Keyboard and Pointer 2014-08-27 08:57:06 +02:00
shell.cpp [kwin_wayland] Create a dedicated Surface class 2014-08-27 08:57:06 +02:00
shell.h [kwin_wayland] Create a dedicated Surface class 2014-08-27 08:57:06 +02:00
shm_pool.cpp [kwin_wayland] Make ShmPool more like the other wrapper classes 2014-08-27 08:57:06 +02:00
shm_pool.h [kwin_wayland] Make ShmPool more like the other wrapper classes 2014-08-27 08:57:06 +02:00
surface.cpp Refactor the swap completion interface 2014-09-18 20:21:20 +02:00
surface.h Refactor the swap completion interface 2014-09-18 20:21:20 +02:00