summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2016-06-07 17:33:45 +0100
committerEmil Velikov <[email protected]>2016-06-13 15:31:28 +0100
commit15bc7856bf1b328cc403f464ace979b3a0afa892 (patch)
treeb02dae1466e65205a3887379ffa0cda4cc5f551a /src
parent23a7fca6aa07df1e074f7cf866dc9d2045fe0417 (diff)
gallium: remove st_api::get_proc_address hook
It has been unused for a long time, plus makes the gallium dri modules require an extra glapi symbol relative to their classic counterparts. Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/include/state_tracker/st_api.h12
-rw-r--r--src/mesa/state_tracker/st_manager.c7
2 files changed, 0 insertions, 19 deletions
diff --git a/src/gallium/include/state_tracker/st_api.h b/src/gallium/include/state_tracker/st_api.h
index 356863d8531..41daa47986c 100644
--- a/src/gallium/include/state_tracker/st_api.h
+++ b/src/gallium/include/state_tracker/st_api.h
@@ -175,11 +175,6 @@ enum st_manager_param {
ST_MANAGER_BROKEN_INVALIDATE
};
-/**
- * The return type of st_api->get_proc_address.
- */
-typedef void (*st_proc_t)(void);
-
struct pipe_context;
struct pipe_resource;
struct pipe_fence_handle;
@@ -498,13 +493,6 @@ struct st_api
int *gl_es2_version);
/**
- * Return an API entry point.
- *
- * For GL this is the same as _glapi_get_proc_address.
- */
- st_proc_t (*get_proc_address)(struct st_api *stapi, const char *procname);
-
- /**
* Create a rendering context.
*/
struct st_context_iface *(*create_context)(struct st_api *stapi,
diff --git a/src/mesa/state_tracker/st_manager.c b/src/mesa/state_tracker/st_manager.c
index 33f56ea55e1..eaca22a30de 100644
--- a/src/mesa/state_tracker/st_manager.c
+++ b/src/mesa/state_tracker/st_manager.c
@@ -802,12 +802,6 @@ st_api_make_current(struct st_api *stapi, struct st_context_iface *stctxi,
return ret;
}
-static st_proc_t
-st_api_get_proc_address(struct st_api *stapi, const char *procname)
-{
- return (st_proc_t) _glapi_get_proc_address(procname);
-}
-
static void
st_api_destroy(struct st_api *stapi)
{
@@ -968,7 +962,6 @@ static const struct st_api st_gl_api = {
ST_API_FEATURE_MS_VISUALS_MASK,
st_api_destroy,
st_api_query_versions,
- st_api_get_proc_address,
st_api_create_context,
st_api_make_current,
st_api_get_current,