A display controller comprising a blending stage (11) and a blending controller (12). The blending stage (11) is provided for blending multiple image layers into one display output image (25) and comprises a plurality of input channels (21, 22, 23, 24) for receiving pixel data (51 ) for the multiple image layers. The blending stage (11) further comprises multiple blenders (31, 32, 33) for combining the pixel data (51 ) received by at least two input channels (21, 22, 23, 24) of the plurality of input channels (21, 22, 23, 24). The blending controller (12) is coupled to the blending stage (11) for controlling operation of the blending stage (11). The blending stage (11) further comprises a controllable switch (13) for coupling an output of at least one blender (31 ) of the multiple blenders (31, 32, 33) to a display output (19) of the blending stage (11) for regular on-the-fly blending or to an offline blending memory (15) for storing a result of an offline blending task. The blending controller (12) comprises an input for receiving layer data (52) describing locations and/or properties of the multiple image layers and a predictor (16) for, based on the layer data (52), predicting an availability of the at least one blender (31 ). The blending controller (12) is further operative to control the blending stage (11) to perform the offline blending task in dependence of the predicted availability