diff options
author | Emeric Grange <[email protected]> | 2011-09-12 23:39:30 +0200 |
---|---|---|
committer | Christian König <[email protected]> | 2011-09-14 15:49:16 +0200 |
commit | fa2a8316cebeb75626ffa3e38dbc1500e82054f6 (patch) | |
tree | 18d6db91740b543df72d6586bfb1397aeea4d7ce /src/gallium/state_trackers/vdpau/preemption.c | |
parent | c24bc6f8684abee8c9a1b263334cd7a8506657b1 (diff) |
st/vdpau: Add documentation from the VDPAU API and update some traces
Signed-off-by: Emeric Grange <[email protected]>
Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/vdpau/preemption.c')
-rw-r--r-- | src/gallium/state_trackers/vdpau/preemption.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/vdpau/preemption.c b/src/gallium/state_trackers/vdpau/preemption.c index 75933c11329..67a3ce663b7 100644 --- a/src/gallium/state_trackers/vdpau/preemption.c +++ b/src/gallium/state_trackers/vdpau/preemption.c @@ -27,11 +27,18 @@ #include <vdpau/vdpau.h> +/** + * A callback to notify the client application that a device's display has + * been preempted. + */ void vlVdpPreemptionCallback(VdpDevice device, void *context) { /* TODO: Implement preemption */ } +/** + * Configure the display preemption callback. + */ VdpStatus vlVdpPreemptionCallbackRegister(VdpDevice device, VdpPreemptionCallback callback, void *context) |