summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-09-10 13:42:49 +0800
committerChia-I Wu <[email protected]>2010-09-10 15:44:19 +0800
commit5ea092117fb607a5776f52d251f976c5691575c8 (patch)
tree49686f598caed1ea313cb5f54b6c08bda9e8f794 /src/mesa
parent948e3fa27ca9112b903a180d1a18c61cfb2928dc (diff)
gallium: Remove ST_API_OPENGL_ES1 and ST_API_OPENGL_ES2.
They are no longer used.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/state_tracker/st_gl_api.h2
-rw-r--r--src/mesa/state_tracker/st_manager.c64
2 files changed, 0 insertions, 66 deletions
diff --git a/src/mesa/state_tracker/st_gl_api.h b/src/mesa/state_tracker/st_gl_api.h
index 57c6d9f24d2..55ad778c97d 100644
--- a/src/mesa/state_tracker/st_gl_api.h
+++ b/src/mesa/state_tracker/st_gl_api.h
@@ -3,7 +3,5 @@
#define ST_GL_API_H
struct st_api *st_gl_api_create(void);
-struct st_api *st_gl_api_create_es1(void);
-struct st_api *st_gl_api_create_es2(void);
#endif
diff --git a/src/mesa/state_tracker/st_manager.c b/src/mesa/state_tracker/st_manager.c
index 8acd0938bb8..450b0453cf4 100644
--- a/src/mesa/state_tracker/st_manager.c
+++ b/src/mesa/state_tracker/st_manager.c
@@ -674,22 +674,6 @@ st_api_create_context(struct st_api *stapi, struct st_manager *smapi,
return &st->iface;
}
-static struct st_context_iface *
-st_api_create_context_es1(struct st_api *stapi, struct st_manager *smapi,
- const struct st_context_attribs *attribs,
- struct st_context_iface *shared_stctxi)
-{
- return st_api_create_context(stapi, smapi, attribs, shared_stctxi);
-}
-
-static struct st_context_iface *
-st_api_create_context_es2(struct st_api *stapi, struct st_manager *smapi,
- const struct st_context_attribs *attribs,
- struct st_context_iface *shared_stctxi)
-{
- return st_api_create_context(stapi, smapi, attribs, shared_stctxi);
-}
-
static boolean
st_api_make_current(struct st_api *stapi, struct st_context_iface *stctxi,
struct st_framebuffer_iface *stdrawi,
@@ -890,56 +874,8 @@ static const struct st_api st_gl_api = {
st_api_get_current,
};
-static const struct st_api st_gl_api_es1 = {
- ST_API_OPENGL_ES1,
- ST_PROFILE_OPENGL_ES1_MASK,
- st_api_destroy,
- st_api_get_proc_address,
- st_api_create_context_es1,
- st_api_make_current,
- st_api_get_current,
-};
-
-static const struct st_api st_gl_api_es2 = {
- ST_API_OPENGL_ES2,
- ST_PROFILE_OPENGL_ES2_MASK,
- st_api_destroy,
- st_api_get_proc_address,
- st_api_create_context_es2,
- st_api_make_current,
- st_api_get_current,
-};
-
struct st_api *
st_gl_api_create(void)
{
- (void) st_gl_api;
- (void) st_gl_api_es1;
- (void) st_gl_api_es2;
-
-#if FEATURE_GL
return (struct st_api *) &st_gl_api;
-#else
- return NULL;
-#endif
-}
-
-struct st_api *
-st_gl_api_create_es1(void)
-{
-#if FEATURE_ES1
- return (struct st_api *) &st_gl_api_es1;
-#else
- return NULL;
-#endif
-}
-
-struct st_api *
-st_gl_api_create_es2(void)
-{
-#if FEATURE_ES2
- return (struct st_api *) &st_gl_api_es2;
-#else
- return NULL;
-#endif
}