mutter:gbsneto/charts

Last commit made on 2019-04-17
Get this branch:
git clone -b gbsneto/charts https://git.launchpad.net/mutter

Branch merges

Branch information

Name:
gbsneto/charts
Repository:
lp:mutter

Recent commits

d748dc2... by Georges Basile Stavracas Neto

clutter/stage: Cast the stage just when needed

If we use a variable, and the debug notes are disabled at
compile time, the variable becomes unused and we are warned.

Remove this variable and instead cast inline.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/502

a9b6425... by Georges Basile Stavracas Neto

Add frame time chart

Add a chart at the bottom 10% of the screen where each
bar represents the time the frame took to be painted. The
red line represents the maximum time to draw. For example,
if you are on a 60Hz monitor, the red line means 16.6667
miliseconds.

This covers both layout time (green) and paint time (blue).

Enjoy.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/502

6350efc... by Georges Basile Stavracas Neto

clutter/stage: Add private getter to sync delay

It will be used by the frame chart to correctly place
the red bar. The math is essentially:

  ms_per_frame = (1 / refresh rate) * 1000 - sync delay

https://gitlab.gnome.org/GNOME/mutter/merge_requests/502

f7321d2... by Georges Basile Stavracas Neto

Allow changing Clutter debug flags at runtime

This way, we can literally pop up the Looking Glass and
call:

 >>> Meta.add_clutter_debug_flags(Clutter.DebugFlag.FRAME_TIME, 0, 0)

And measure specific actions or events on GNOME Shell.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/502

4904430... by Georges Basile Stavracas Neto

clutter/stage: Account for frame times

Instead of accumulating frames, simply calculate and
debug-dump the time each frame takes to be drawn.

Because we're using Clutter's debug machinery, it is
structured and can be parsed by scripts.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/502

290f48f... by Georges Basile Stavracas Neto

Replace CLUTTER_SHOW_FPS by a proper debug flag

Instead of CLUTTER_SHOW_FPS=1, it should be passed now
CLUTTER_DEBUG=frame-time.

Also remove the legacy code related to the FPS counter.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/502

22884b0... by Robert Mader

shaped-texture: Use draw_rectangle() for full paints

This reverts a change introduced in edfe5cc3 to use `paint_clipped_rectangle()`
instead of `cogl_framebuffer_draw_rectangle()` for full paints as it
contained logic necessary for viewport src-rects. This is not longer the case.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/504

d2415da... by Robert Mader

shaped-texture: Use CoglMatrix for viewport src-rect

This brings the viewport src-rect code in line with how we handle
transforms, by applying a `CoglMatrix` to the pipeline instead of
changing the paint logic.
It also fixes not-y-inverted textures in combination with
transforms.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/504

96f7bf2... by Robert Mader

shaped-texture: Add checks to viewport reset functions

The set and reset functions are unconditionally called on every
commit. Add missings checks to the reset functions to bail out if
nothing changed.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/504

db486ad... by Robert Mader

cogl/texture-2d: Remove notes about COGL_FEATURE_ID_TEXTURE_NPOT

NPOT capabilities were made madatory in OpenGL 2.0 and GLES 2.0,
so let's stop encouraging developers to write new code with checks
for it.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/467