From: Brian Paul Date: Thu, 2 Sep 2010 20:11:53 +0000 (-0600) Subject: st/glx: added some comments X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d500ad440503c79656f5610051dcb0ff76bafc58;p=mesa.git st/glx: added some comments --- 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)