DRI2Video support in xbmc
The direct-rendering 3d protocol provides a good way to allocate buffers that meet hw codec's requirements for video rendering. However it is now becoming more video oriented to support scaling, cropping, out-of-order display (B-frames) and to lift the limits of # of attachment points already defined for 3D purposes. There is work carried out recently to extend dri2 for video in order to push the decision about using overlays or GPU blit to the xorg driver. The details are in https:/
This blueprint outlines work for enabling dri2video support for a known media centre solution - xbmc. The goal is to demonstrate that combining video and dri2 is to have the best of both worlds, to have the flexibility of GPU blitting (ie. no limited number of video ports, no constraint about transformational effects), while still having the power consumption benefits of overlays (reduced memory bandwidth usage and ability to shut off the GPU) when the UI is relatively static other than the playing video.