Skip to content
Commit 070c60b5 authored by Torsten Rahn's avatar Torsten Rahn Committed by Torsten Rahn
Browse files

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.
parent 0db4edeb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment