Index:
[thread]
[date]
[subject]
[author]
From: Andreas Beck <becka@rz.uni-duesseldorf.de>
To : ggi-develop@eskimo.com
Date: Wed, 18 Aug 1999 02:00:02 +0200
Re: Ping-pong buffers on KGIcon are here!
> > The app now tries to lock down a directbuffer. The same as above happens.
> > It waits on the accel lock, engages the fb lock, frees the accel lock.
> > It draws some stuff on the DB.
> > While doing so, it calls a LibGGI primitive with the DB still locked.
> It is essential for Glide and (future) DirectX operation that this
> (calling GGI primitives while a DB is acquired) is not allowed.
Why ? At worst, we'd just auto-free the fb for the time the ggi primitive
request is executing. Note, that the reaction that follows in the
description I gave above, is equivalent to a DB-release, call accel,
DB-acquire, due to the synchronous accel operation it induces.
I am thinking about compatibility here, when wrapper libs (SVGAlib might
be a candidate for that) don't have that restriction.
I agree with you, that one should release DBs ASAP, but ...
> If this is needed (shouldn't be for well written apps) we have to add
> a GGI_ACTYPE_ACCEL access type which can be explicitly requested.
CU, ANdy
--
= Andreas Beck | Email : <andreas.beck@ggi-project.org> =
Index:
[thread]
[date]
[subject]
[author]