Alex Deucher wrote:
Thanks Mark. I've applied this patch and made a few optimizations
as well.
Thanks for patching. Your version handles the out of memory case
gracefully :-) I am not completely sure if moving the exaOffscreenAlloc
to R600PrepareCopy is a good idea however. In many cases the copies will
not overlap and there is no reason to call exaOffscreenAlloc and
exaOffscreenFree at all.
Initially I never freed the memory after allocating it, unless the
pre-allocated memory was too small, and the result was noticably faster.
Mark.
--
To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org
For additional commands, e-mail: radeonhd+help@opensuse.org