Re: Delphi: Cairo hardware acceleration

Harald Friedrich <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
You are right, the more pixels you have on your screen, the less weight 
has the single pixel as our eye resolution is limited.

The answer at "stackoverflow" helps with OpenGL: Fill a triangle and 
overwrite its 3 edges with a thin antialiased line. That looks pretty 
good and seems to be fully hardware accelerated: 100.000 triangles in 
less than 2 seconds.

Thanks again for your hints, Stefan!

Am 03.01.2015 um 23:21 schrieb Stefan Salewski:
> On Sat, 2015-01-03 at 22:49 +0100, Harald Friedrich wrote:
>> Hello Stefan,
>>
>> thank you for your answer and your hints. I checked more exactly and
>> found that cairo is faster than GDI but it is way slower than OpenGL.
>> The quality is much better using cairo.
>>
>> So I think I have to use OpenGL directly without any wrapper because
>> I
>> need the speed.
> Indeed my expectation was a much greater difference than a factor of 10
> between Cairo and GL drawing. For GL you may know that some tuning of
> drawing quality is possible, but it may depend on the used graphic card,
> see for example
>
> http://wiki.delphigl.com/index.php/OpenGL_Smooth
>
> http://stackoverflow.com/questions/3512456/how-to-draw-smooth-line-with-antialias
>
> Generally I think that the demand for smooth anti-aliased drawing will
> decrease when high resolution display (4k, UHD) will become more
> popular, which should happen soon.

-- 
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.