[cairo] Delphi: Cairo hardware acceleration
harald at ibfriedrich.com
Sat Jan 3 16:05:55 PST 2015
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
>> 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
> 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.
More information about the cairo