mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 05:00:09 +01:00
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 <emil.velikov@collabora.com>
This commit is contained in:
parent
23a7fca6aa
commit
15bc7856bf
2 changed files with 0 additions and 19 deletions
|
|
@ -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;
|
||||
|
|
@ -497,13 +492,6 @@ struct st_api
|
|||
int *gl_es1_version,
|
||||
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.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue