st: Remove st_api_type because ST_API_OPENVG is not an option anymore

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19186>
This commit is contained in:
Yonggang Luo 2022-10-20 10:50:24 +08:00 committed by Marge Bot
parent 1ae73bc076
commit a096f46836
2 changed files with 1 additions and 17 deletions

View file

@ -37,16 +37,6 @@
* their managers.
*/
/**
* The supported rendering API.
*/
enum st_api_type {
ST_API_OPENGL,
ST_API_OPENVG,
ST_API_COUNT
};
/**
* The profile of a context.
*/
@ -518,7 +508,7 @@ struct st_manager
};
/**
* Represent a rendering API such as OpenGL or OpenVG.
* Represent the OpenGL rendering API.
*
* Implemented by the gallium frontend and used by the frontend manager.
*/
@ -529,11 +519,6 @@ struct st_api
*/
const char *name;
/**
* The supported rendering API.
*/
enum st_api_type api;
/**
* The supported profiles. Tested with ST_PROFILE_*_MASK.
*/

View file

@ -1450,7 +1450,6 @@ st_api_query_versions(struct st_api *stapi, struct st_manager *sm,
static const struct st_api st_gl_api = {
.name = "Mesa " PACKAGE_VERSION,
.api = ST_API_OPENGL,
.profile_mask = ST_PROFILE_DEFAULT_MASK |
ST_PROFILE_OPENGL_CORE_MASK |
ST_PROFILE_OPENGL_ES1_MASK |