diff options
author | Brian Paul <[email protected]> | 2010-09-02 14:11:53 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-09-03 15:22:26 -0600 |
commit | d500ad440503c79656f5610051dcb0ff76bafc58 (patch) | |
tree | 8ef1ba55670f5a6dca676370992bc033a000b730 /src | |
parent | befc66788bf30f0de39c21a41bfb4d81b257b4d8 (diff) |
st/glx: added some comments
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/state_trackers/glx/xlib/xm_st.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/glx/xlib/xm_st.c b/src/gallium/state_trackers/glx/xlib/xm_st.c index 0f74b3f7aa3..4c0ce07a6b5 100644 --- a/src/gallium/state_trackers/glx/xlib/xm_st.c +++ b/src/gallium/state_trackers/glx/xlib/xm_st.c @@ -122,6 +122,7 @@ xmesa_st_framebuffer_copy_textures(struct st_framebuffer_iface *stfbi, /** * Remove outdated textures and create the requested ones. + * This is a helper used during framebuffer validation. */ static boolean xmesa_st_framebuffer_validate_textures(struct st_framebuffer_iface *stfbi, @@ -193,6 +194,10 @@ xmesa_st_framebuffer_validate_textures(struct st_framebuffer_iface *stfbi, return TRUE; } + +/** + * Called via st_framebuffer_iface::validate() + */ static boolean xmesa_st_framebuffer_validate(struct st_framebuffer_iface *stfbi, const enum st_attachment_type *statts, @@ -249,6 +254,9 @@ xmesa_st_framebuffer_validate(struct st_framebuffer_iface *stfbi, return TRUE; } +/** + * Called via st_framebuffer_iface::flush_front() + */ static boolean xmesa_st_framebuffer_flush_front(struct st_framebuffer_iface *stfbi, enum st_attachment_type statt) |