]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commit
Do not initialize Cairo/Pango on export. 789/head
authorSven Panne <svenpanne@gmail.com>
Tue, 30 May 2017 06:11:24 +0000 (08:11 +0200)
committerSven Panne <svenpanne@gmail.com>
Tue, 30 May 2017 06:11:24 +0000 (08:11 +0200)
commit5f848050e3b90b7330e5ce5cf1bf4669aa83fca2
treef73949dfdee7e2441b18efafb625c556d15ed179
parent048eda83fa6830e46b12f387c135c43f8d1f4340
Do not initialize Cairo/Pango on export.

On a heavily loaded rrdcached, initializing lots of unnecessary Cairo/Pango
data structures (surfaces, font-related structures, etc.) is not a good
idea. Do this only when we really want to draw something.
src/rrd_graph.c
src/rrd_graph.h
src/rrd_xport.c