From d500ad440503c79656f5610051dcb0ff76bafc58 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 2 Sep 2010 14:11:53 -0600 Subject: [PATCH] st/glx: added some comments --- src/gallium/state_trackers/glx/xlib/xm_st.c | 8 ++++++++ 1 file changed, 8 insertions(+) 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) -- 2.30.2