summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/wgl/stw_framebuffer.h
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2015-11-10 14:51:26 -0700
committerBrian Paul <brianp@vmware.com>2015-11-12 11:21:25 -0700
commit166769fe4bf4042ecb2a54ee5c7b23e3b0cd471d (patch)
tree50194983b7ef0fe618397ccfc148a6fbe2473be3 /src/gallium/state_trackers/wgl/stw_framebuffer.h
parentdabc423ed0f946bc32268a42dc8fee12a1cd0b0a (diff)
downloadexternal_mesa3d-166769fe4bf4042ecb2a54ee5c7b23e3b0cd471d.zip
external_mesa3d-166769fe4bf4042ecb2a54ee5c7b23e3b0cd471d.tar.gz
external_mesa3d-166769fe4bf4042ecb2a54ee5c7b23e3b0cd471d.tar.bz2
st/wgl: rename stw_framebuffer_release() to stw_framebuffer_unlock()
To match the new stw_framebuffer_lock() function. Reviewed-by: Sinclair Yeh <syeh@vmware.com> Reviewed-by: Charmaine Lee <charmainel@vmware.com>
Diffstat (limited to 'src/gallium/state_trackers/wgl/stw_framebuffer.h')
-rw-r--r--src/gallium/state_trackers/wgl/stw_framebuffer.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/state_trackers/wgl/stw_framebuffer.h b/src/gallium/state_trackers/wgl/stw_framebuffer.h
index ce9aace..109c79d 100644
--- a/src/gallium/state_trackers/wgl/stw_framebuffer.h
+++ b/src/gallium/state_trackers/wgl/stw_framebuffer.h
@@ -113,7 +113,7 @@ struct stw_framebuffer
/**
* Create a new framebuffer object which will correspond to the given HDC.
*
- * This function will acquire stw_framebuffer::mutex. stw_framebuffer_release
+ * This function will acquire stw_framebuffer::mutex. stw_framebuffer_unlock
* must be called when done
*/
struct stw_framebuffer *
@@ -126,7 +126,7 @@ stw_framebuffer_reference(struct stw_framebuffer **ptr,
/**
* Search a framebuffer with a matching HWND.
*
- * This function will acquire stw_framebuffer::mutex. stw_framebuffer_release
+ * This function will acquire stw_framebuffer::mutex. stw_framebuffer_unlock
* must be called when done
*/
struct stw_framebuffer *
@@ -135,7 +135,7 @@ stw_framebuffer_from_hwnd(HWND hwnd);
/**
* Search a framebuffer with a matching HDC.
*
- * This function will acquire stw_framebuffer::mutex. stw_framebuffer_release
+ * This function will acquire stw_framebuffer::mutex. stw_framebuffer_unlock
* must be called when done
*/
struct stw_framebuffer *
@@ -164,7 +164,7 @@ stw_framebuffer_lock(struct stw_framebuffer *fb)
* in the meanwhile.
*/
static inline void
-stw_framebuffer_release(struct stw_framebuffer *fb)
+stw_framebuffer_unlock(struct stw_framebuffer *fb)
{
assert(fb);
LeaveCriticalSection(&fb->mutex);