[cairo] [patch] gl: flush drawing before gradient is destroyed
chris at chris-wilson.co.uk
Sat Dec 1 09:12:00 PST 2012
On Mon, 26 Nov 2012 19:02:16 +0000, "Henry (Yu) Song - SISA" <hsong at sisa.samsung.com> wrote:
> From 2bca0ff7652925ae47ac76a4c1a1d04739ae3a4c Mon Sep 17 00:00:00 2001
> From: Henry Song <henry.song at samsung.com>
> Date: Mon, 26 Nov 2012 10:58:15 -0800
> Subject: [PATCH] random remove gradient can possibly remove a gradient that
> has not been flushed. Force previous drawing to flush when
> a gradient is destroyed
Ouch, you are right we may pluck the most recently used gradient for
eviction, so the flush is required. If you felt brave you could have a
mru stash in addition to the randomly-evicted cache.
Thanks for the patch, pushed.
Chris Wilson, Intel Open Source Technology Centre
More information about the cairo