4 BENCHMARK
We tested the algorithm on a graphics interface rep-
resenting the reconfigurable instrument cluster of a
car: this includes lights, alert and warning indicators,
odometer, speed, RPM, gas and temperature gauges.
This model is a typical use case of safety-critical au-
tomotive user interface. This graphics interface is
shown in figure 2. In this model, every indicator can
be either “on” (coloured) or “off” (dark grey), further-
more, the red alert indicators can be scaled big and
shown transparent over the speed/RPM gauges (as an
emphasis for serious alerts). The odometer is made
up of individual led bars (coloured of black) and any
needle can rotate around its axis.
Figure 2: The car’s instrument cluster model.
0
5
10
15
20
25
30
35
40
45
0 20 40 60 80 100 120 140
algorithm step (#)
performance (FPS)
background
needles
odometer
lights
warnings
alerts
Figure 3: Model optimization process.
The evolution of the pre-rendering algorithm is
shown in the graphics of the figure 3. The x-axis rep-
resents the steps of the algorithm and the y-axis repre-
sents the number of frame per seconds (FPS) that the
rasterization were able to achieve.
The cost function were here evaluated experi-
mentally on a 32-bits linux based system equiped
with a ATI Mobility Radeon graphics card and using
the “image” software rendering backend of the cairo
graphics library. Performances were evaluated on a
representative set of input values that may influence
the rendering performances of the model. The red
line represents the evolution of the best performances
of the model and the blue dots represent the perfor-
mances of the current candidate (red line is the “max”
of the blue dots).
5 CONCLUSIONS
We presented a theoretical framework for the mod-
elling of graphics interfaces. We illustrated the use-
fulness of this framework with a method for an au-
tomated optimization of graphics performances. This
method optimizes the rendering time of dynamic vec-
tor graphics by using a selective pre-rendering tech-
nique as evidences show that the systematic pre-
rendering is generally not optimal. Groups of vector
objects are thus replaced by equivalent bitmaps. This
method relies on a cost function of primitive rasteriza-
tion functions. This includes the cost of group opac-
ity and matrix positioning operations. The global cost
function can be evaluated on the fly during the min-
imization algorithm using a sequence of representa-
tive outputs. Experiments show the usefulness of our
approach on a concrete safety-critical automotive in-
strument cluster model. The optimization algorithm
benchmarks score a significant improvement of the
rendering performances.
REFERENCES
Boisg
´
erault, S., Abdallah, M. O., and Temmos, J.-M.
(2008). SVG for automotive user interfaces. In Pro-
ceedings of SVG Open, Nuremberg, Germany.
Boisg
´
erault, S., Vecchi
´
e, E., Meunier, O., and Temmos, J.-
M. (2010). EDONA/HMI - modelling of advanced
automotive interfaces. In Proceedings of ERTS
2
,
Toulouse, France.
Concolato, C., Feuvre, J. L., and Moissinac, J.-C. (2008).
Design of an efficient scalable vector graphics player
for constrained devices. IEEE Transactions on Con-
sumer Electronics, 54(2):895–903.
Esterel Technologies (2007). Scade Display. http://tiny.cc/
scade display.
He, G., Bai, B., Pan, Z., and Cheng, X. (2007). Acceler-
ated rendering of vector graphics on mobile devices.
Lecture Notes in Computer Science, 4551:298–305.
Human Machine Interface – Work Package 4 (2008).
EDONA HMI Format. Report, EDONA.
Kim, S., Oh, Y., Park, K., and Ro, W. (2010). Hard-
ware implementation of a tessellation accelerator for
the OpenVG standard. IEICE Electronics Express,
7(6):440–446.
GRAPP 2011 - International Conference on Computer Graphics Theory and Applications
320