ArticleslgStudy

science

Compositing manager

Compositing manager is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Compositing manager rather than just read about it. In short: A compositing manager, or compositor, is software that provides applications with an off-screen buffer for each window, then composites these window buffers into an image representing the screen and writes the result into the display memory. A compositing window manager is a window manager that is also a compositing manager.

Compositing manager — main illustration
Compositing manager — illustration

Key takeaways

  • Compositing manager belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Compositing manager to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Compositing manager from memory before moving on to harder problems.

Reference excerpt

A compositing manager, or compositor, is software that provides applications with an off-screen buffer for each window, then composites these window buffers into an image representing the screen and writes the result into the display memory. A compositing window manager is a window manager that is also a compositing manager. Compositing managers may perform additional processing on buffered windows, applying 2D and 3D animated effects such as blending, fading, scaling, rotation, duplication, bending and contortion, shuffling, blurring, redirecting applications, and translating windows into one of a number of displays and virtual desktops. Computer graphics technology allows for visual effects to be rendered in real time such as drop shadows, live previews, and complex animation. Since the screen is double buffered, it does not flicker during updates. The most commonly used compositing managers and compositing window managers include:

for Linux, BSD, Hurd and OpenSolaris using the X Window System: The 'X server' traditionally performs compositing from numerous networked sources at high speed but stylistic preferences may require compositing duties to be performed by a co-compositor with varying effects on visual qualities, capabilities and performance factors. Some examples are Compiz, KWin, Xfwm, Enlightenment, Muffin (compositing window manager for Cinnamon DE), and Mutter compositing window managers and the xcompmgr and picom compositors; for Linux and BSD using Wayland: the Weston, KWin, and Mutter compositing window managers; for Windows: the Desktop Window Manager; and for macOS: the Quartz Compositor.

Contrast with stacking window managers The window manager sends each window a message to repaint itself when needed. Windows may overlap. When a window in front is moved, it can reveal an area of a window behind that was previously concealed. Window managers are broadly categorised by their strategy for causing that newly revealed area to be displayed to the user. In the "stacking" strategy, the window manager tells the back window to repaint itself. In the "compositing" strategy, the window manager maintains an off-screen memory buffer containing the full appearance of each window, including the back window. With a stacking manager, the repainting process can become corrupted when a program that is slow, unresponsive or buggy does not respond to messages in a timely manner. A malicious program can cause the system to appear unstable by simply neglecting to repaint its window. Then, one or more of the following conditions may result:

a clipped window does not repaint uncovered regions, resulting in either blank spaces or a "trail" left behind from another window portions of windows (such as decorative drop shadows) are left behind and not properly painted over the mouse pointer is corrupted the entire screen freezes until the program either responds or is terminated With a compositing manager, if a window stops repainting itself when requested by the window manager, its last repaint will remain displayed and the window might be dimmed. Often, the title changes to reflect the status of the window as unresponsive. A program may prevent its window from being moved or unmapped, but generally will not cause repainting problems.

History The Commodore Amiga, released in 1985, was one of the first systems with a compositing windowing system. Applications could first request a region of memory outside the current display region for use as bitmap. The Amiga windowing system would then use a series of bit blits using the system's hardware blitter to build a composite of these applications' bitmaps - along with buttons and sliders - in display memory, without requiring these applications to redraw any of their bitmaps.

On March 24, 2001, Apple's Mac OS X 10.0 (Cheetah) became the first mainstream operating system to feature software-based 3D compositing and effects, provided by its Quartz component. With the release of Mac OS X 10.2 (Jaguar) and Quartz Extreme, the job of compositing could move to dedicated graphics hardware. In 2003 Sun Microsystems demonstrated an ambitious 3D graphics system called Project Looking Glass to layer on top of its Swing toolkit. It was first shown at the 2003 LinuxWorld Expo. Although Apple threatened to sue Sun for breach of intellectual-property rights, other window managers have implemented some of the functionality in Looking Glass. By 2006 development was discontinued by Sun, whose primary business was transitioning from graphically oriented Unix workstations to selling enterprise mainframes. Microsoft first presented the Desktop Window Manager in Project Longhorn to the 2003 Windows Hardware Engineering Conference, demonstrating wobbly windows. Severe delays in the Longhorn development process caused Microsoft not to debut its 3D-compositing window-manager until the release of Windows Vista in November 2006. Implementing compositing under the X Window System required some redesign, which took place incrementally. Metacity 2.8.4 was released in August 2004. However, the first widely publicized compositing window manager for X was Xfwm, released in January 2005. On 26 January 2005 Compiz was released, introducing fully accelerated 3D-compositing to the Linux platform. KDE's KWin also supports compositing.

Compositing and 3D effects in operating systems In compositing, 3D effects could be applied on windows to provide 3D desktop effects. Modern compositing window managers use 3D hardware acceleration. Compositing window manager software communicates with graphics hardware via programming interfaces such as OpenGL or Direct3D. The earliest widespread implementations using this technique were released for the Mac in Mac OS X 10.2, and for Linux in a Luminocity prototype. Currently, window managers using OpenGL include Compiz, KWin, and the Quartz Compositor, while Desktop Window Manager currently uses DirectX 9. OpenGL is still not fully supported in hardware, so performance of OpenGL-based compositing should continue to improve as hardware improves.

X11 and Wayland Stacking window managers running on the X Window System (X11) required a chroma keying or green screening extension. Compositing was introduced by way of the Composite Extension. Compositing managers use hardware acceleration through this extension, if available.

… excerpt ends here. Continue reading the full article.

Illustrations

Compositing manager: Ubuntu 8.04 Hardy Heron running Compiz's Shift Switcher in Flip mode
Ubuntu 8.04 Hardy Heron running Compiz's Shift Switcher in Flip mode
Compositing manager: The magnification effect in Compiz (click image to view in scale)
The magnification effect in Compiz (click image to view in scale)
Compositing manager: Basic window switching in Xgl
Basic window switching in Xgl
Compositing manager: Flip switching in Compiz
Flip switching in Compiz
Compositing manager: Cover Switch in KWin
Cover Switch in KWin

Worked examples

Example 1 — a first encounter with Compositing manager

Start with the simplest possible case. Write down what Compositing manager claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Compositing manager before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Compositing manager ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Compositing manager

In research
Compositing manager appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Compositing manager in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Compositing manager is common in secondary-school and first-year university syllabi. It links to neighbouring topics Compositing window managers, Graphical user interfaces, X window managers, so understanding it makes those chapters shorter.
In everyday life
Look for Compositing manager outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Compositing manager” →

How to study Compositing manager in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Compositing manager means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Compositing manager out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Compositing manager in simple terms?

A compositing manager, or compositor, is software that provides applications with an off-screen buffer for each window, then composites these window buffers into an image representing the screen and writes the result into the display memory. A compositing window manager is a window manager that is…

Why does Compositing manager matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Compositing manager?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Compositing manager.

Tags

  • Compositing window managers
  • Graphical user interfaces
  • X window managers

Keep exploring