* Made the accelerant safer to use when cloned (though I didn't test cloning yet);

introduced a lock that is used in B_SET_DISPLAY_MODE etc.
* Correctly implemented B_ACQUIRE_ENGINE and B_RELEASE_ENGINE now (ie. they lock
  the engine now).
* The lock of the ring buffers is now deleted when the (primary) accelerant is closed.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17453 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2006-05-14 14:27:50 +00:00
parent 4955c11be9
commit 973d499ee1
5 changed files with 55 additions and 19 deletions
@@ -72,6 +72,9 @@ struct intel_shared_info {
uint32 frame_buffer_offset;
struct lock accelerant_lock;
struct lock engine_lock;
ring_buffer primary_ring_buffer;
ring_buffer secondary_ring_buffer;