summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/vega
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2014-08-03 02:54:52 +0200
committerMarek Olšák <[email protected]>2014-08-11 21:53:57 +0200
commitc6cbde5008e27cccb06411146bc673835991ae91 (patch)
treeab62bd9fbe95d9398e8300a06deaa65ba6128086 /src/gallium/state_trackers/vega
parent0127d26e6c25974a84102fba2f556e260ccbcaeb (diff)
gallium/stapi: move setting GL versions to the state tracker
All flags are set for st/mesa, so the state tracker doesn't have to check them. Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/vega')
-rw-r--r--src/gallium/state_trackers/vega/vg_manager.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/vega/vg_manager.c b/src/gallium/state_trackers/vega/vg_manager.c
index 2c43d763dea..2894428a8bc 100644
--- a/src/gallium/state_trackers/vega/vg_manager.c
+++ b/src/gallium/state_trackers/vega/vg_manager.c
@@ -369,12 +369,22 @@ vg_api_destroy(struct st_api *stapi)
{
}
+static void
+vg_api_query_versions(struct st_api *stapi, struct st_manager *sm,
+ int *gl_core_version,
+ int *gl_compat_version,
+ int *gl_es1_version,
+ int *gl_es2_version)
+{
+}
+
static const struct st_api vg_api = {
"Vega " PACKAGE_VERSION,
ST_API_OPENVG,
ST_PROFILE_DEFAULT_MASK,
0,
vg_api_destroy,
+ vg_api_query_versions,
vg_api_get_proc_address,
vg_api_create_context,
vg_api_make_current,