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>
*/
/**
- * The supported rendering API.
- */
-enum st_api_type {
- ST_API_OPENGL,
- ST_API_OPENVG,
-
- ST_API_COUNT
-};
-
-/**
* The profile of a context.
*/
enum st_profile_type
};
/**
- * 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.
*/
const char *name;
/**
- * The supported rendering API.
- */
- enum st_api_type api;
-
- /**
* The supported profiles. Tested with ST_PROFILE_*_MASK.
*/
unsigned profile_mask;
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 |