Mesa (master): mesa: plug in API functions for conditional rendering

Brian Paul brianp at kemper.freedesktop.org
Thu Dec 31 15:54:56 UTC 2009


Module: Mesa
Branch: master
Commit: ff3a52643d323626f32a9f1c14464a9501e6494d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ff3a52643d323626f32a9f1c14464a9501e6494d

Author: Brian Paul <brianp at vmware.com>
Date:   Wed Dec 30 21:39:46 2009 -0700

mesa: plug in API functions for conditional rendering

---

 src/mesa/main/api_exec.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/mesa/main/api_exec.c b/src/mesa/main/api_exec.c
index 6c3c989..c2d8a7f 100644
--- a/src/mesa/main/api_exec.c
+++ b/src/mesa/main/api_exec.c
@@ -51,6 +51,7 @@
 #include "clear.h"
 #include "clip.h"
 #include "colortab.h"
+#include "condrender.h"
 #include "context.h"
 #include "convolve.h"
 #include "depth.h"
@@ -754,4 +755,8 @@ _mesa_init_exec_table(struct _glapi_table *exec)
    SET_EnableIndexedEXT(exec, _mesa_EnableIndexed);
    SET_DisableIndexedEXT(exec, _mesa_DisableIndexed);
    SET_IsEnabledIndexedEXT(exec, _mesa_IsEnabledIndexed);
+
+   /* GL_NV_conditional_render */
+   SET_BeginConditionalRenderNV(exec, _mesa_BeginConditionalRender);
+   SET_EndConditionalRenderNV(exec, _mesa_EndConditionalRender);
 }




More information about the mesa-commit mailing list