radeon/r100/r200: actually init the OQ support properly
authorDave Airlie <airlied@linux.ie>
Wed, 26 Aug 2009 04:16:54 +0000 (14:16 +1000)
committerDave Airlie <airlied@linux.ie>
Wed, 26 Aug 2009 04:16:54 +0000 (14:16 +1000)
src/mesa/drivers/dri/r200/r200_context.c
src/mesa/drivers/dri/radeon/radeon_context.c
src/mesa/drivers/dri/radeon/radeon_state_init.c

index 74564d6261fa3ce3584c7f08c7798397a07a9dc5..e402b923ee6990070bbaa1244735e1f03a244057 100644 (file)
@@ -347,6 +347,7 @@ GLboolean r200CreateContext( const __GLcontextModes *glVisual,
    r200InitStateFuncs(&functions);
    r200InitTextureFuncs(&functions);
    r200InitShaderFuncs(&functions); 
+   radeonInitQueryObjFunctions(&functions);
 
    if (!radeonInitContext(&rmesa->radeon, &functions,
                          glVisual, driContextPriv,
index 247e65ba9d011663687072d43615ec13a82e99cf..cbe3416726d0bd45505f6c6e20f2e2633b2ac0cf 100644 (file)
@@ -277,6 +277,7 @@ r100CreateContext( const __GLcontextModes *glVisual,
     */
    _mesa_init_driver_functions( &functions );
    radeonInitTextureFuncs( &functions );
+   radeonInitQueryObjFunctions(&functions);
 
    if (!radeonInitContext(&rmesa->radeon, &functions,
                          glVisual, driContextPriv,
index 60fdc215a47c09cace47e9d9e3f5b21927f84332..d014fb5c06157c98a22059059a22d576ca841d91 100644 (file)
@@ -44,6 +44,7 @@
 #include "radeon_tcl.h"
 #include "radeon_tex.h"
 #include "radeon_swtcl.h"
+#include "radeon_queryobj.h"
 
 #include "../r200/r200_reg.h"