#include "main/dispatch.h"
-#if FEATURE_GL || FEATURE_ES2
-
-
/**
* Initialize a dispatch table with pointers to Mesa's immediate-mode
* commands.
SET_StencilFuncSeparateATI(exec, _mesa_StencilFuncSeparateATI);
}
-#if FEATURE_ARB_framebuffer_object
/* The ARB_fbo functions are the union of
* GL_EXT_fbo, GL_EXT_framebuffer_blit, GL_EXT_texture_array
*/
if (ctx->API != API_OPENGLES2) {
SET_RenderbufferStorageMultisample(exec, _mesa_RenderbufferStorageMultisample);
}
-#endif
#if FEATURE_ARB_map_buffer_range
if (ctx->API != API_OPENGLES2) {
return exec;
}
-
-#endif /* FEATURE_GL || FEATURE_ES2 */
ctx->Extensions.ARB_fragment_program = GL_TRUE;
ctx->Extensions.ARB_fragment_program_shadow = GL_TRUE;
ctx->Extensions.ARB_fragment_shader = GL_TRUE;
-#if FEATURE_ARB_framebuffer_object
ctx->Extensions.ARB_framebuffer_object = GL_TRUE;
-#endif
/* XXX re-enable when GLSL compiler again supports geometry shaders */
#if 0
ctx->Extensions.ARB_geometry_shader4 = GL_TRUE;
#if FEATURE_EXT_framebuffer_blit
ctx->Extensions.EXT_framebuffer_blit = GL_TRUE;
#endif
-#if FEATURE_ARB_framebuffer_object
ctx->Extensions.EXT_framebuffer_multisample = GL_TRUE;
-#endif
ctx->Extensions.EXT_packed_depth_stencil = GL_TRUE;
ctx->Extensions.EXT_pixel_buffer_object = GL_TRUE;
ctx->Extensions.EXT_point_parameters = GL_TRUE;
#define FEATURE_remap_table 0
#endif
-#define FEATURE_ARB_framebuffer_object FEATURE_GL
#define FEATURE_ARB_map_buffer_range FEATURE_GL
#define FEATURE_ARB_pixel_buffer_object FEATURE_GL
#define FEATURE_ARB_sampler_objects FEATURE_GL