summaryrefslogtreecommitdiffstats
path: root/src/gallium/include/pipe
diff options
context:
space:
mode:
authorChristian König <[email protected]>2011-06-05 17:53:48 +0200
committerChristian König <[email protected]>2011-06-05 17:53:48 +0200
commitc4a168819dee9a2f9b4e7c7ab8d79bb50876d85d (patch)
treef1181b9834b473300858c3a5de5bbe01d66d029a /src/gallium/include/pipe
parent7e1fbb360332ecac2789e28a0f3d303306f687b1 (diff)
[g3dvl] rename map/unmap to begin/end frame
mapping and unmapping of buffers is just an implementation detail. begining and ending an frame is much more descriptive
Diffstat (limited to 'src/gallium/include/pipe')
-rw-r--r--src/gallium/include/pipe/p_video_context.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/include/pipe/p_video_context.h b/src/gallium/include/pipe/p_video_context.h
index 512b5b22d77..374fa511054 100644
--- a/src/gallium/include/pipe/p_video_context.h
+++ b/src/gallium/include/pipe/p_video_context.h
@@ -177,7 +177,7 @@ struct pipe_video_decode_buffer
/**
* map the input buffer into memory before starting decoding
*/
- void (*map)(struct pipe_video_decode_buffer *decbuf);
+ void (*begin_frame)(struct pipe_video_decode_buffer *decbuf);
/**
* get the pointer where to put the ycbcr blocks of a component
@@ -210,7 +210,7 @@ struct pipe_video_decode_buffer
/**
* unmap decoder buffer before flushing
*/
- void (*unmap)(struct pipe_video_decode_buffer *decbuf);
+ void (*end_frame)(struct pipe_video_decode_buffer *decbuf);
};
/**