VideoStreams: Media Kit-like 3D hardware acceleration kit for Haiku

I made first early operational prototype that demonstrates:

  • Producer and consumer in separate processes.
  • Communication is Application Kit and BMessage based. Producer and consumer are BHandler derived.
  • Producer can dynamically connect and disconnect to consumer. Consumer is discovered by scripting.
  • Producer requests swap chain with 2 BBitmap buffers. Swap chain is created and owned on consumer side.
  • Producer clone areas for received swap chain. Producer draw directly on BBitmap memory created by consumer.
  • Buffers are swapped on each producer buffer present.
  • Test animation with moving black rectangle is displayed.

VideoStreams1

29 Likes