Mesa (master): st/vega: Advertise OpenVG support.

Chia-I Wu olv at kemper.freedesktop.org
Tue Jan 12 03:21:25 UTC 2010


Module: Mesa
Branch: master
Commit: 940360a2e545ea69a9da547f6e1bf2c919d14205
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=940360a2e545ea69a9da547f6e1bf2c919d14205

Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Sat Jan  2 21:25:34 2010 +0800

st/vega: Advertise OpenVG support.

Define st_api_OpenVG to advertise OpenVG support.

Signed-off-by: Chia-I Wu <olvaffe at gmail.com>

---

 src/gallium/state_trackers/vega/vg_tracker.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/gallium/state_trackers/vega/vg_tracker.c b/src/gallium/state_trackers/vega/vg_tracker.c
index e503913..d63abe6 100644
--- a/src/gallium/state_trackers/vega/vg_tracker.c
+++ b/src/gallium/state_trackers/vega/vg_tracker.c
@@ -36,6 +36,9 @@
 #include "util/u_math.h"
 #include "util/u_rect.h"
 
+/* advertise OpenVG support */
+PUBLIC const int st_api_OpenVG = 1;
+
 static struct pipe_texture *
 create_texture(struct pipe_context *pipe, enum pipe_format format,
                VGint width, VGint height)




More information about the mesa-commit mailing list