diff options
author | Chia-I Wu <[email protected]> | 2010-04-19 20:16:07 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-12-01 11:23:51 +0800 |
commit | 56f02cedfaca9755d2855ec3fe075ccfe5e85c0a (patch) | |
tree | 32a7d754509b4f5c8b5c8a5982e8e71750f90c1a /src/gallium/state_trackers/vega/api_text.c | |
parent | 20ce148c305200c760f34d2098d92bc77cb6deee (diff) |
st/vega: Update to latest headers.
Diffstat (limited to 'src/gallium/state_trackers/vega/api_text.c')
-rw-r--r-- | src/gallium/state_trackers/vega/api_text.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/gallium/state_trackers/vega/api_text.c b/src/gallium/state_trackers/vega/api_text.c index 2a62da0a1de..d8264f7c969 100644 --- a/src/gallium/state_trackers/vega/api_text.c +++ b/src/gallium/state_trackers/vega/api_text.c @@ -27,6 +27,7 @@ #include "VG/openvg.h" #include "vg_context.h" +#include "api.h" #include "util/u_memory.h" @@ -73,8 +74,8 @@ void vegaSetGlyphToPath(VGFont font, VGuint glyphIndex, VGPath path, VGboolean isHinted, - VGfloat glyphOrigin [2], - VGfloat escapement[2]) + const VGfloat glyphOrigin[2], + const VGfloat escapement[2]) { struct vg_context *ctx = vg_current_context(); struct vg_object *pathObj; @@ -109,8 +110,8 @@ void vegaSetGlyphToPath(VGFont font, void vegaSetGlyphToImage(VGFont font, VGuint glyphIndex, VGImage image, - VGfloat glyphOrigin [2], - VGfloat escapement[2]) + const VGfloat glyphOrigin[2], + const VGfloat escapement[2]) { struct vg_context *ctx = vg_current_context(); struct vg_object *img_obj; @@ -213,9 +214,9 @@ void vegaDrawGlyph(VGFont font, void vegaDrawGlyphs(VGFont font, VGint glyphCount, - VGuint *glyphIndices, - VGfloat *adjustments_x, - VGfloat *adjustments_y, + const VGuint *glyphIndices, + const VGfloat *adjustments_x, + const VGfloat *adjustments_y, VGbitfield paintModes, VGboolean allowAutoHinting) { |