On Tue, 26 Aug 2008 18:02:24 +1000
"Dave Airlie" <[EMAIL PROTECTED]> wrote:

> 4. added clean flag for buffers that get migrated to VRAM immediately.
>    - with pixmaps we have no idea of the usage pattern usually at create time,
>      however if nothing has ever mapped the bo and nothing has ever
> moved it then
>      we can optimise the first move to VRAM away and just memset/solid
> fill the VRAM area to 0.

After quick look i think this optimization add too much code. Maybe a better
policy like only actualy deciding from which pool to allocate the object on
first use of it.

I still need to read the code, i spoted this VRAM from a quick review of patch.
But i saw horrible stuff like too many GEM domain for specific things which
sounds very bad.

Cheers,
Jerome Glisse

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to