Re: [patch] gl: flush drawing before gradient is destroyed

Chris Wilson <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
On Mon, 26 Nov 2012 19:02:16 +0000, "Henry (Yu) Song - SISA" <[email protected]> wrote:
> From 2bca0ff7652925ae47ac76a4c1a1d04739ae3a4c Mon Sep 17 00:00:00 2001
> From: Henry Song <[email protected]>
> 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

-- 
Chris Wilson, Intel Open Source Technology Centre
-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.