#if FEATURE_EXT_framebuffer_blit
+
static void
st_BlitFramebuffer(GLcontext *ctx,
GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1,
}
}
}
-#endif /* FEATURE_EXT_framebuffer_blit */
-
void
st_init_blit_functions(struct dd_function_table *functions)
{
-#if FEATURE_EXT_framebuffer_blit
functions->BlitFramebuffer = st_BlitFramebuffer;
-#endif
}
+
+#endif /* FEATURE_EXT_framebuffer_blit */
#define ST_CB_BLIT_H
+#include "main/mtypes.h"
#include "st_context.h"
-
extern void
st_init_blit(struct st_context *st);
extern void
st_destroy_blit(struct st_context *st);
+#if FEATURE_EXT_framebuffer_blit
+
extern void
st_init_blit_functions(struct dd_function_table *functions);
+#else
+
+static INLINE void
+st_init_blit_functions(struct dd_function_table *functions)
+{
+}
+
+#endif /* FEATURE_EXT_framebuffer_blit */
#endif /* ST_CB_BLIT_H */
st_destroy_atoms( st );
st_destroy_draw( st );
st_destroy_generate_mipmap(st);
-#if FEATURE_EXT_framebuffer_blit
st_destroy_blit(st);
-#endif
st_destroy_clear(st);
st_destroy_bitmap(st);
st_destroy_drawpix(st);
_mesa_init_glsl_driver_functions(functions);
st_init_accum_functions(functions);
-#if FEATURE_EXT_framebuffer_blit
st_init_blit_functions(functions);
-#endif
st_init_bufferobject_functions(functions);
st_init_clear_functions(functions);
st_init_bitmap_functions(functions);