Add batch rendering visualization for the desktop: This debug mode can be…

Authored by rahn on Nov 10 2016, 12:00 AM.

Description

Add batch rendering visualization for the desktop: This debug mode can be enabled via the "B" key stroke.

Ideally while rendering items the painter should perform a
minimal amount of Pen/Brush state changes. This goal is
reached when items with the same pen/brush assigned get
rendered in a single batch.

This visualization mode changes the color of the pen and brush
whenever a new different pen/brush is assigned.
As a result it's possible to observe

  • different sub chunks of roads which should be merged into a single item
  • objects that should be rendered in the same batch should have the same color for a given frame.

TODO:

  • Add this feature to Marble Maps
  • add defines to the debug methods to prevent compilation into the stable release.

Details

Committed
rahnNov 10 2016, 12:08 AM
Parents
R34:0db4edeb1116: Preliminary rough fix for the graticule: Show the graticule on top of the…
Branches
Unknown
Tags
Unknown