OSDN Git Service

Add the support of wrapper the VA Buffer to the backend driver
authorZhao Yakui <yakui.zhao@intel.com>
Sun, 6 Sep 2015 01:39:13 +0000 (09:39 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Sun, 6 Sep 2015 07:13:58 +0000 (15:13 +0800)
commitc3cced554062b4c9a1d4bad643eb8d6f0cbda5e3
treefd70a0e27ec0c94eee650e4ff0a8430b96f7e600
parentfc5e5eb791972064cc7ba3cec765cb479e3f6ad2
Add the support of wrapper the VA Buffer to the backend driver

The obj_context is passed when calling vaCreateBuffer, which can be
used to check whether it belongs to the wrapped context. If one VA buffer
belongs to wrapped buffer, the callback function of backend driver will
be called for the corresponding VA buffer.

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Sean V Kelley <seanvk@posteo.de>
(cherry picked from commit f75ddc58b16cb93e85e737792c431415288cafb1)
src/i965_drv_video.c