diff options
author | Christian König <[email protected]> | 2011-09-01 13:54:08 +0200 |
---|---|---|
committer | Christian König <[email protected]> | 2011-09-01 19:20:47 +0200 |
commit | 49e24d3b8c0129e11fcc94b6e74dc2589d64c882 (patch) | |
tree | b440487c8fbad0d7ce075ff12a95af6395a011a4 /src/gallium/state_trackers/vdpau/device.c | |
parent | 41fa51a49a7c5d39d7ab273e44652efd0a5c8153 (diff) |
st/vdpau: Implement VdpOutputSurfacePutBitsIndexed and VdpOutputSurfaceRenderOutputSurface
This gets mplayers menu overlay working.
Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/vdpau/device.c')
-rw-r--r-- | src/gallium/state_trackers/vdpau/device.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/vdpau/device.c b/src/gallium/state_trackers/vdpau/device.c index 4fcce9112aa..25fa8d88844 100644 --- a/src/gallium/state_trackers/vdpau/device.c +++ b/src/gallium/state_trackers/vdpau/device.c @@ -73,6 +73,8 @@ vdp_imp_device_create_x11(Display *display, int screen, VdpDevice *device, goto no_handle; } + vl_compositor_init(&dev->compositor, dev->context->pipe); + *get_proc_address = &vlVdpGetProcAddress; VDPAU_MSG(VDPAU_TRACE, "[VDPAU] Device created succesfully\n"); @@ -152,6 +154,7 @@ vlVdpDeviceDestroy(VdpDevice device) if (!dev) return VDP_STATUS_INVALID_HANDLE; + vl_compositor_cleanup(&dev->compositor); vl_video_destroy(dev->context); vl_screen_destroy(dev->vscreen); |