nanogui: How to improve the efficiency of the NanoX draw?
Subject:
Re: [nanogui] Re: How to improve the efficiency of the NanoX draw?
From:
Lazy Fox ####@####.####
Date:
24 Jan 2008 15:15:35 -0000
Message-Id: <4798AB8F.1050000@gmail.com>
Aaron J. Grier wrote:
> On Mon, Jan 21, 2008 at 10:44:43PM +0800, Lazy Fox wrote:
>
>> Many people said that the efficiency of the NanoX is not high enough.
>> They said the functions which draw lines and polygon can be optimized.
>> But I don't know how to improve it. Can somebody tell me how, and show
>> me some source code.
>>
>
> adding driver-level linedraw, clipping, and blit code has sped up my
> 25MHz target significantly. there were also some speedups made for text
> draw which were merged into the tree a few years back.
>
> I've put a tarball of the our branch at
> http://frye.com/~aaron/microwin-frye-nanosteve.1.tar.bz2 .
>
> I have been working on merging with CVS and porting our local hacks
> (including fast linedraw) to other framebuffer devices. I'm almost
> there except stipples and dashlists are still broken.
>
>
Thanks for your sharing. I've downloaded your tarball, and will study
the source code that you changed.
I heard someboye said that the function "src/nanox/srvclip2.c:
GsSetClipWindow()" can be speed up, do you
know about this?
--