Texas Instruments Proposes Extending DRI2 For Video

Posted by Michael Larabel on August 19, 2011

Rob Clark of Texas Instruments has proposed to X.Org developers that the DRI2 protocol be extended so that overlays can display video content, as a possible replacement to X-Video or for a client-side X-Video API on top of DRI2.

A few extra parameters are needed in order for Direct Rendering Infrastructure 2 to handle displaying video content. While DRI2 is mostly about 3D and not video, some processes are similar and there is a lot of infrastructure connection between the two, which is why Rob Clark is looking to extend the DRI2 protocol. However, if developers prefer not doing so, he's willing to create a new protocol instead. Whatever the outcome, Texas Instruments is willing to make the necessary X Server infrastructure changes.

Why do this work? "Current solutions use the GPU to do a scaled/colorconvert into a DRI2 buffer from the client context. The goal of this protocol change is to push the decision to use overlay or GPU blit to the xorg driver. Eventually this should replace Xv. With a few additions, like attributes, it could perhaps be possible to implement the client side Xv API on top of dri2."

More information is available from this mailing list message.

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite