perfopts/openvg.cpp
changeset 69 1911c0fa3c76
parent 68 cc09a5c2b5fb
equal deleted inserted replaced
68:cc09a5c2b5fb 69:1911c0fa3c76
    16 #include <openvg.h>
    16 #include <openvg.h>
    17 #include "openvginternal.h"
    17 #include "openvginternal.h"
    18 
    18 
    19 extern "C" {
    19 extern "C" {
    20 
    20 
    21 EXPORT_C VGErrorCode   vgGetError(void)
    21 EXPORT_C VGErrorCode   vgGetError(void) __SOFTFP
    22    {
    22    {
    23    return do_vgGetError();
    23    return do_vgGetError();
    24    }
    24    }
    25 
    25 
    26 EXPORT_C void   vgFlush(void)
    26 EXPORT_C void   vgFlush(void) __SOFTFP
    27    {
    27    {
    28    return do_vgFlush();
    28    return do_vgFlush();
    29    }
    29    }
    30 
    30 
    31 EXPORT_C void   vgFinish(void)
    31 EXPORT_C void   vgFinish(void) __SOFTFP
    32    {
    32    {
    33    return do_vgFinish();
    33    return do_vgFinish();
    34    }
    34    }
    35 
    35 
    36 EXPORT_C void  vgSetf (VGParamType type, VGfloat value)
    36 EXPORT_C  void  vgSetf (VGParamType type, VGfloat value) __SOFTFP
    37    {
    37    {
    38    return do_vgSetf(type,value);
    38    return do_vgSetf(type,value);
    39    }
    39    }
    40 
    40 
    41 EXPORT_C void   vgSeti (VGParamType type, VGint value)
    41 EXPORT_C void   vgSeti (VGParamType type, VGint value) __SOFTFP
    42    {
    42    {
    43    return do_vgSeti(type,value);
    43    return do_vgSeti(type,value);
    44    }
    44    }
    45 
    45 
    46 EXPORT_C void   vgSetfv(VGParamType type, VGint count ,const VGfloat* values)
    46 EXPORT_C  void  vgSetfv(VGParamType type, VGint count ,const VGfloat* values) __SOFTFP
    47    {
    47    {
    48    return do_vgSetfv(type,count,values);
    48    return do_vgSetfv(type,count,values);
    49    }
    49    }
    50 
    50 
    51 EXPORT_C void   vgSetiv(VGParamType type, VGint count ,const VGint* values)
    51 EXPORT_C void   vgSetiv(VGParamType type, VGint count ,const VGint* values) __SOFTFP
    52    {
    52    {
    53    return do_vgSetiv(type,count,values);
    53    return do_vgSetiv(type,count,values);
    54    }
    54    }
    55 
    55 
    56 EXPORT_C VGfloat   vgGetf(VGParamType type)
    56 EXPORT_C  VGfloat   vgGetf(VGParamType type) __SOFTFP
    57    {
    57    {
    58    return do_vgGetf(type);
    58    return do_vgGetf(type);
    59    }
    59    }
    60 
    60 
    61 EXPORT_C VGint     vgGeti(VGParamType type)
    61 EXPORT_C VGint     vgGeti(VGParamType type) __SOFTFP
    62    {
    62    {
    63    return do_vgGeti(type);
    63    return do_vgGeti(type);
    64    }
    64    }
    65 
    65 
    66 EXPORT_C VGint     vgGetVectorSize(VGParamType type)
    66 EXPORT_C VGint     vgGetVectorSize(VGParamType type) __SOFTFP
    67    {
    67    {
    68    return do_vgGetVectorSize(type);
    68    return do_vgGetVectorSize(type);
    69    }
    69    }
    70 
    70 
    71 EXPORT_C void      vgGetfv(VGParamType type, VGint count ,VGfloat* values)
    71 EXPORT_C  void      vgGetfv(VGParamType type, VGint count ,VGfloat* values) __SOFTFP
    72    {
    72    {
    73    return do_vgGetfv(type,count,values);
    73    return do_vgGetfv(type,count,values);
    74    }
    74    }
    75 
    75 
    76 EXPORT_C void      vgGetiv(VGParamType type, VGint count ,VGint* values)
    76 EXPORT_C void      vgGetiv(VGParamType type, VGint count ,VGint* values) __SOFTFP
    77    {
    77    {
    78    return do_vgGetiv(type,count,values);
    78    return do_vgGetiv(type,count,values);
    79    }
    79    }
    80 
    80 
    81 EXPORT_C void   vgSetParameterf(VGHandle object ,VGint paramType ,VGfloat value)
    81 EXPORT_C  void   vgSetParameterf(VGHandle object ,VGint paramType ,VGfloat value) __SOFTFP
    82    {
    82    {
    83    return do_vgSetParameterf(object,paramType,value);
    83    return do_vgSetParameterf(object,paramType,value);
    84    }
    84    }
    85 
    85 
    86 EXPORT_C void   vgSetParameteri(VGHandle object ,VGint paramType ,VGint value)
    86 EXPORT_C void   vgSetParameteri(VGHandle object ,VGint paramType ,VGint value) __SOFTFP
    87    {
    87    {
    88    return do_vgSetParameteri(object,paramType,value);
    88    return do_vgSetParameteri(object,paramType,value);
    89    }
    89    }
    90 
    90 
    91 EXPORT_C void   vgSetParameterfv(VGHandle object ,VGint paramType ,VGint count ,const VGfloat* values)
    91 EXPORT_C  void   vgSetParameterfv(VGHandle object ,VGint paramType ,VGint count ,const VGfloat* values) __SOFTFP
    92    {
    92    {
    93    return do_vgSetParameterfv(object,paramType,count,values);
    93    return do_vgSetParameterfv(object,paramType,count,values);
    94    }
    94    }
    95 
    95 
    96 EXPORT_C void   vgSetParameteriv(VGHandle object ,VGint paramType ,VGint count ,const VGint* values)
    96 EXPORT_C void   vgSetParameteriv(VGHandle object ,VGint paramType ,VGint count ,const VGint* values) __SOFTFP
    97    {
    97    {
    98    return do_vgSetParameteriv(object,paramType,count,values);
    98    return do_vgSetParameteriv(object,paramType,count,values);
    99    }
    99    }
   100 
   100 
   101 EXPORT_C VGfloat   vgGetParameterf(VGHandle object ,VGint paramType)
   101 EXPORT_C  VGfloat   vgGetParameterf(VGHandle object ,VGint paramType) __SOFTFP
   102    {
   102    {
   103    return do_vgGetParameterf(object,paramType);
   103    return do_vgGetParameterf(object,paramType);
   104    }
   104    }
   105 
   105 
   106 EXPORT_C VGint   vgGetParameteri(VGHandle object ,VGint paramType)
   106 EXPORT_C VGint   vgGetParameteri(VGHandle object ,VGint paramType) __SOFTFP
   107    {
   107    {
   108    return do_vgGetParameteri(object,paramType);
   108    return do_vgGetParameteri(object,paramType);
   109    }
   109    }
   110 
   110 
   111 EXPORT_C VGint   vgGetParameterVectorSize(VGHandle object ,VGint paramType)
   111 EXPORT_C VGint   vgGetParameterVectorSize(VGHandle object ,VGint paramType) __SOFTFP
   112    {
   112    {
   113    return do_vgGetParameterVectorSize(object,paramType);
   113    return do_vgGetParameterVectorSize(object,paramType);
   114    }
   114    }
   115 
   115 
   116 EXPORT_C void   vgGetParameterfv(VGHandle object ,VGint paramType ,VGint count ,VGfloat* values)
   116 EXPORT_C  void   vgGetParameterfv(VGHandle object ,VGint paramType ,VGint count ,VGfloat* values) __SOFTFP
   117    {
   117    {
   118    return do_vgGetParameterfv(object,paramType,count,values);
   118    return do_vgGetParameterfv(object,paramType,count,values);
   119    }
   119    }
   120 
   120 
   121 EXPORT_C void   vgGetParameteriv(VGHandle object ,VGint paramType ,VGint count ,VGint* values)
   121 EXPORT_C void   vgGetParameteriv(VGHandle object ,VGint paramType ,VGint count ,VGint* values) __SOFTFP
   122    {
   122    {
   123    return do_vgGetParameteriv(object,paramType,count,values);
   123    return do_vgGetParameteriv(object,paramType,count,values);
   124    }
   124    }
   125 
   125 
   126 EXPORT_C void   vgLoadIdentity(void)
   126 EXPORT_C void   vgLoadIdentity(void) __SOFTFP
   127    {
   127    {
   128    return do_vgLoadIdentity();
   128    return do_vgLoadIdentity();
   129    }
   129    }
   130 
   130 
   131 EXPORT_C void   vgLoadMatrix(const VGfloat* m)
   131 EXPORT_C  void   vgLoadMatrix(const VGfloat* m) __SOFTFP
   132    {
   132    {
   133    return do_vgLoadMatrix(m);
   133    return do_vgLoadMatrix(m);
   134    }
   134    }
   135 
   135 
   136 EXPORT_C void   vgGetMatrix(VGfloat* m)
   136 EXPORT_C  void   vgGetMatrix(VGfloat* m) __SOFTFP
   137    {
   137    {
   138    return do_vgGetMatrix(m);
   138    return do_vgGetMatrix(m);
   139    }
   139    }
   140 
   140 
   141 EXPORT_C void   vgMultMatrix(const  VGfloat* m)
   141 EXPORT_C  void   vgMultMatrix(const  VGfloat* m) __SOFTFP
   142    {
   142    {
   143    return do_vgMultMatrix(m);
   143    return do_vgMultMatrix(m);
   144    }
   144    }
   145 
   145 
   146 EXPORT_C void   vgTranslate(VGfloat tx, VGfloat ty)
   146 EXPORT_C  void   vgTranslate(VGfloat tx, VGfloat ty) __SOFTFP
   147    {
   147    {
   148    return do_vgTranslate(tx,ty);
   148    return do_vgTranslate(tx,ty);
   149    }
   149    }
   150 
   150 
   151 EXPORT_C void   vgScale(VGfloat sx, VGfloat sy)
   151 EXPORT_C  void   vgScale(VGfloat sx, VGfloat sy) __SOFTFP
   152    {
   152    {
   153    return do_vgScale(sx,sy);
   153    return do_vgScale(sx,sy);
   154    }
   154    }
   155 
   155 
   156 EXPORT_C void   vgShear(VGfloat shx, VGfloat shy)
   156 EXPORT_C  void   vgShear(VGfloat shx, VGfloat shy) __SOFTFP
   157    {
   157    {
   158    return do_vgShear(shx,shy);
   158    return do_vgShear(shx,shy);
   159    }
   159    }
   160 
   160 
   161 EXPORT_C void   vgRotate(VGfloat angle)
   161 EXPORT_C  void   vgRotate(VGfloat angle) __SOFTFP
   162    {
   162    {
   163    return do_vgRotate(angle);
   163    return do_vgRotate(angle);
   164    }
   164    }
   165 
   165 
   166 EXPORT_C void   vgMask(VGHandle mask, VGMaskOperation operation ,VGint x, VGint y ,VGint width, VGint height)
   166 EXPORT_C void   vgMask(VGHandle mask, VGMaskOperation operation ,VGint x, VGint y ,VGint width, VGint height) __SOFTFP
   167    {
   167    {
   168    return do_vgMask(mask,operation,x,y,width,height);
   168    return do_vgMask(mask,operation,x,y,width,height);
   169    }
   169    }
   170 
   170 
   171 EXPORT_C void   vgRenderToMask(VGPath path ,VGbitfield paintModes ,VGMaskOperation operation)
   171 EXPORT_C void   vgRenderToMask(VGPath path ,VGbitfield paintModes ,VGMaskOperation operation) __SOFTFP
   172    {
   172    {
   173    return do_vgRenderToMask(path,paintModes,operation);
   173    return do_vgRenderToMask(path,paintModes,operation);
   174    }
   174    }
   175 
   175 
   176 EXPORT_C VGMaskLayer   vgCreateMaskLayer(VGint width, VGint height)
   176 EXPORT_C VGMaskLayer   vgCreateMaskLayer(VGint width, VGint height) __SOFTFP
   177    {
   177    {
   178    return do_vgCreateMaskLayer(width,height);
   178    return do_vgCreateMaskLayer(width,height);
   179    }
   179    }
   180 
   180 
   181 EXPORT_C void   vgDestroyMaskLayer(VGMaskLayer maskLayer)
   181 EXPORT_C void   vgDestroyMaskLayer(VGMaskLayer maskLayer) __SOFTFP
   182    {
   182    {
   183    return do_vgDestroyMaskLayer(maskLayer);
   183    return do_vgDestroyMaskLayer(maskLayer);
   184    }
   184    }
   185 
   185 
   186 EXPORT_C void   vgFillMaskLayer(VGMaskLayer maskLayer ,VGint x, VGint y ,VGint width, VGint height ,VGfloat value)
   186 EXPORT_C  void   vgFillMaskLayer(VGMaskLayer maskLayer ,VGint x, VGint y ,VGint width, VGint height ,VGfloat value) __SOFTFP
   187    {
   187    {
   188    return do_vgFillMaskLayer(maskLayer,x,y,width,height,value);
   188    return do_vgFillMaskLayer(maskLayer,x,y,width,height,value);
   189    }
   189    }
   190 
   190 
   191 EXPORT_C void   vgCopyMask(VGMaskLayer maskLayer ,VGint sx, VGint sy ,VGint dx, VGint dy ,VGint width, VGint height)
   191 EXPORT_C void   vgCopyMask(VGMaskLayer maskLayer ,VGint sx, VGint sy ,VGint dx, VGint dy ,VGint width, VGint height) __SOFTFP
   192    {
   192    {
   193    return do_vgCopyMask(maskLayer,sx,sy,dx,dy,width,height);
   193    return do_vgCopyMask(maskLayer,sx,sy,dx,dy,width,height);
   194    }
   194    }
   195 
   195 
   196 EXPORT_C void   vgClear(VGint x, VGint y ,VGint width, VGint height)
   196 EXPORT_C void   vgClear(VGint x, VGint y ,VGint width, VGint height) __SOFTFP
   197    {
   197    {
   198    return do_vgClear(x,y,width,height);
   198    return do_vgClear(x,y,width,height);
   199    }
   199    }
   200 
   200 
   201 EXPORT_C VGPath   vgCreatePath(VGint pathFormat ,VGPathDatatype datatype ,VGfloat scale, VGfloat bias ,VGint segmentCapacityHint ,VGint coordCapacityHint ,VGbitfield capabilities)
   201 EXPORT_C  VGPath   vgCreatePath(VGint pathFormat ,VGPathDatatype datatype ,VGfloat scale, VGfloat bias ,VGint segmentCapacityHint ,VGint coordCapacityHint ,VGbitfield capabilities) __SOFTFP
   202    {
   202    {
   203    return do_vgCreatePath(pathFormat,datatype,scale,bias,segmentCapacityHint,coordCapacityHint,capabilities);
   203    return do_vgCreatePath(pathFormat,datatype,scale,bias,segmentCapacityHint,coordCapacityHint,capabilities);
   204    }
   204    }
   205 
   205 
   206 EXPORT_C void   vgClearPath(VGPath path, VGbitfield capabilities)
   206 EXPORT_C void   vgClearPath(VGPath path, VGbitfield capabilities) __SOFTFP
   207    {
   207    {
   208    return do_vgClearPath(path,capabilities);
   208    return do_vgClearPath(path,capabilities);
   209    }
   209    }
   210 
   210 
   211 EXPORT_C void   vgDestroyPath(VGPath path)
   211 EXPORT_C void   vgDestroyPath(VGPath path) __SOFTFP
   212    {
   212    {
   213    return do_vgDestroyPath(path);
   213    return do_vgDestroyPath(path);
   214    }
   214    }
   215 
   215 
   216 EXPORT_C void   vgRemovePathCapabilities(VGPath path ,VGbitfield capabilities)
   216 EXPORT_C void   vgRemovePathCapabilities(VGPath path ,VGbitfield capabilities) __SOFTFP
   217    {
   217    {
   218    return do_vgRemovePathCapabilities(path,capabilities);
   218    return do_vgRemovePathCapabilities(path,capabilities);
   219    }
   219    }
   220 
   220 
   221 EXPORT_C VGbitfield   vgGetPathCapabilities(VGPath path)
   221 EXPORT_C VGbitfield   vgGetPathCapabilities(VGPath path) __SOFTFP
   222    {
   222    {
   223    return do_vgGetPathCapabilities(path);
   223    return do_vgGetPathCapabilities(path);
   224    }
   224    }
   225 
   225 
   226 EXPORT_C void   vgAppendPath(VGPath dstPath, VGPath srcPath)
   226 EXPORT_C void   vgAppendPath(VGPath dstPath, VGPath srcPath) __SOFTFP
   227    {
   227    {
   228    return do_vgAppendPath(dstPath,srcPath);
   228    return do_vgAppendPath(dstPath,srcPath);
   229    }
   229    }
   230 
   230 
   231 EXPORT_C void   vgAppendPathData(VGPath dstPath ,VGint numSegments ,const  VGubyte* pathSegments ,const  void* pathData)
   231 EXPORT_C void   vgAppendPathData(VGPath dstPath ,VGint numSegments ,const  VGubyte* pathSegments ,const  void* pathData) __SOFTFP
   232    {
   232    {
   233    return do_vgAppendPathData(dstPath,numSegments,pathSegments,pathData);
   233    return do_vgAppendPathData(dstPath,numSegments,pathSegments,pathData);
   234    }
   234    }
   235 
   235 
   236 EXPORT_C void   vgModifyPathCoords(VGPath dstPath ,VGint startIndex ,VGint numSegments ,const void* pathData)
   236 EXPORT_C void   vgModifyPathCoords(VGPath dstPath ,VGint startIndex ,VGint numSegments ,const void* pathData) __SOFTFP
   237    {
   237    {
   238    return do_vgModifyPathCoords(dstPath,startIndex,numSegments,pathData);
   238    return do_vgModifyPathCoords(dstPath,startIndex,numSegments,pathData);
   239    }
   239    }
   240 
   240 
   241 EXPORT_C void   vgTransformPath(VGPath dstPath, VGPath srcPath)
   241 EXPORT_C void   vgTransformPath(VGPath dstPath, VGPath srcPath) __SOFTFP
   242    {
   242    {
   243    return do_vgTransformPath(dstPath,srcPath);
   243    return do_vgTransformPath(dstPath,srcPath);
   244    }
   244    }
   245 
   245 
   246 EXPORT_C VGboolean   vgInterpolatePath(VGPath dstPath ,VGPath startPath ,VGPath endPath ,VGfloat amount)
   246 EXPORT_C  VGboolean   vgInterpolatePath(VGPath dstPath ,VGPath startPath ,VGPath endPath ,VGfloat amount) __SOFTFP
   247    {
   247    {
   248    return do_vgInterpolatePath(dstPath,startPath,endPath,amount);
   248    return do_vgInterpolatePath(dstPath,startPath,endPath,amount);
   249    }
   249    }
   250 
   250 
   251 EXPORT_C VGfloat   vgPathLength(VGPath path ,VGint startSegment ,VGint numSegments)
   251 EXPORT_C  VGfloat   vgPathLength(VGPath path ,VGint startSegment ,VGint numSegments) __SOFTFP
   252    {
   252    {
   253    return do_vgPathLength(path,startSegment,numSegments);
   253    return do_vgPathLength(path,startSegment,numSegments);
   254    }
   254    }
   255 
   255 
   256 EXPORT_C void   vgPointAlongPath(VGPath path ,VGint startSegment ,VGint numSegments ,VGfloat distance ,VGfloat* x, VGfloat* y ,VGfloat* tangentX ,VGfloat* tangentY)
   256 EXPORT_C  void   vgPointAlongPath(VGPath path ,VGint startSegment ,VGint numSegments ,VGfloat distance ,VGfloat* x, VGfloat* y ,VGfloat* tangentX ,VGfloat* tangentY) __SOFTFP
   257    {
   257    {
   258    return do_vgPointAlongPath(path,startSegment,numSegments,distance,x,y,tangentX,tangentY);
   258    return do_vgPointAlongPath(path,startSegment,numSegments,distance,x,y,tangentX,tangentY);
   259    }
   259    }
   260 
   260 
   261 EXPORT_C void   vgPathBounds(VGPath path ,VGfloat* minX ,VGfloat* minY ,VGfloat* width ,VGfloat* height)
   261 EXPORT_C  void   vgPathBounds(VGPath path ,VGfloat* minX ,VGfloat* minY ,VGfloat* width ,VGfloat* height) __SOFTFP
   262    {
   262    {
   263    return do_vgPathBounds(path,minX,minY,width,height);
   263    return do_vgPathBounds(path,minX,minY,width,height);
   264    }
   264    }
   265 
   265 
   266 EXPORT_C void   vgPathTransformedBounds(VGPath path ,VGfloat* minX ,VGfloat* minY ,VGfloat* width ,VGfloat* height)
   266 EXPORT_C  void   vgPathTransformedBounds(VGPath path ,VGfloat* minX ,VGfloat* minY ,VGfloat* width ,VGfloat* height) __SOFTFP
   267    {
   267    {
   268    return do_vgPathTransformedBounds(path,minX,minY,width,height);
   268    return do_vgPathTransformedBounds(path,minX,minY,width,height);
   269    }
   269    }
   270 
   270 
   271 EXPORT_C void   vgDrawPath(VGPath path, VGbitfield paintModes)
   271 EXPORT_C void   vgDrawPath(VGPath path, VGbitfield paintModes) __SOFTFP
   272    {
   272    {
   273    return do_vgDrawPath(path,paintModes);
   273    return do_vgDrawPath(path,paintModes);
   274    }
   274    }
   275 
   275 
   276 EXPORT_C VGPaint   vgCreatePaint(void)
   276 EXPORT_C VGPaint   vgCreatePaint(void) __SOFTFP
   277    {
   277    {
   278    return do_vgCreatePaint();
   278    return do_vgCreatePaint();
   279    }
   279    }
   280 
   280 
   281 EXPORT_C void   vgDestroyPaint(VGPaint paint)
   281 EXPORT_C void   vgDestroyPaint(VGPaint paint) __SOFTFP
   282    {
   282    {
   283    return do_vgDestroyPaint(paint);
   283    return do_vgDestroyPaint(paint);
   284    }
   284    }
   285 
   285 
   286 EXPORT_C void   vgSetPaint(VGPaint paint, VGbitfield paintModes)
   286 EXPORT_C void   vgSetPaint(VGPaint paint, VGbitfield paintModes) __SOFTFP
   287    {
   287    {
   288    return do_vgSetPaint(paint,paintModes);
   288    return do_vgSetPaint(paint,paintModes);
   289    }
   289    }
   290 
   290 
   291 EXPORT_C VGPaint   vgGetPaint(VGPaintMode paintMode)
   291 EXPORT_C VGPaint   vgGetPaint(VGPaintMode paintMode) __SOFTFP
   292    {
   292    {
   293    return do_vgGetPaint(paintMode);
   293    return do_vgGetPaint(paintMode);
   294    }
   294    }
   295 
   295 
   296 EXPORT_C void   vgSetColor(VGPaint paint, VGuint rgba)
   296 EXPORT_C void   vgSetColor(VGPaint paint, VGuint rgba) __SOFTFP
   297    {
   297    {
   298    return do_vgSetColor(paint,rgba);
   298    return do_vgSetColor(paint,rgba);
   299    }
   299    }
   300 
   300 
   301 EXPORT_C VGuint   vgGetColor(VGPaint paint)
   301 EXPORT_C VGuint   vgGetColor(VGPaint paint) __SOFTFP
   302    {
   302    {
   303    return do_vgGetColor(paint);
   303    return do_vgGetColor(paint);
   304    }
   304    }
   305 
   305 
   306 EXPORT_C void   vgPaintPattern(VGPaint paint, VGImage pattern)
   306 EXPORT_C void   vgPaintPattern(VGPaint paint, VGImage pattern) __SOFTFP
   307    {
   307    {
   308    return do_vgPaintPattern(paint,pattern);
   308    return do_vgPaintPattern(paint,pattern);
   309    }
   309    }
   310 
   310 
   311 EXPORT_C VGImage   vgCreateImage(VGImageFormat format ,VGint width, VGint height ,VGbitfield allowedQuality)
   311 EXPORT_C VGImage   vgCreateImage(VGImageFormat format ,VGint width, VGint height ,VGbitfield allowedQuality) __SOFTFP
   312    {
   312    {
   313    return do_vgCreateImage(format,width,height,allowedQuality);
   313    return do_vgCreateImage(format,width,height,allowedQuality);
   314    }
   314    }
   315 
   315 
   316 EXPORT_C void   vgDestroyImage(VGImage image)
   316 EXPORT_C void   vgDestroyImage(VGImage image) __SOFTFP
   317    {
   317    {
   318    return do_vgDestroyImage(image);
   318    return do_vgDestroyImage(image);
   319    }
   319    }
   320 
   320 
   321 EXPORT_C void   vgClearImage(VGImage image ,VGint x, VGint y ,VGint width, VGint height)
   321 EXPORT_C void   vgClearImage(VGImage image ,VGint x, VGint y ,VGint width, VGint height) __SOFTFP
   322    {
   322    {
   323    return do_vgClearImage(image,x,y,width,height);
   323    return do_vgClearImage(image,x,y,width,height);
   324    }
   324    }
   325 
   325 
   326 EXPORT_C void   vgImageSubData(VGImage image ,const void* data ,VGint dataStride ,VGImageFormat dataFormat ,VGint x, VGint y ,VGint width, VGint height)
   326 EXPORT_C void   vgImageSubData(VGImage image ,const void* data ,VGint dataStride ,VGImageFormat dataFormat ,VGint x, VGint y ,VGint width, VGint height) __SOFTFP
   327    {
   327    {
   328    return do_vgImageSubData(image,data,dataStride,dataFormat,x,y,width,height);
   328    return do_vgImageSubData(image,data,dataStride,dataFormat,x,y,width,height);
   329    }
   329    }
   330 
   330 
   331 EXPORT_C void   vgGetImageSubData(VGImage image ,void* data ,VGint dataStride ,VGImageFormat dataFormat ,VGint x, VGint y ,VGint width, VGint height)
   331 EXPORT_C void   vgGetImageSubData(VGImage image ,void* data ,VGint dataStride ,VGImageFormat dataFormat ,VGint x, VGint y ,VGint width, VGint height) __SOFTFP
   332    {
   332    {
   333    return do_vgGetImageSubData(image,data,dataStride,dataFormat,x,y,width,height);
   333    return do_vgGetImageSubData(image,data,dataStride,dataFormat,x,y,width,height);
   334    }
   334    }
   335 
   335 
   336 EXPORT_C VGImage   vgChildImage(VGImage parent ,VGint x, VGint y ,VGint width, VGint height)
   336 EXPORT_C VGImage   vgChildImage(VGImage parent ,VGint x, VGint y ,VGint width, VGint height) __SOFTFP
   337    {
   337    {
   338    return do_vgChildImage(parent,x,y,width,height);
   338    return do_vgChildImage(parent,x,y,width,height);
   339    }
   339    }
   340 
   340 
   341 EXPORT_C VGImage   vgGetParent(VGImage image)
   341 EXPORT_C VGImage   vgGetParent(VGImage image) __SOFTFP
   342    {
   342    {
   343    return do_vgGetParent(image);
   343    return do_vgGetParent(image);
   344    }
   344    }
   345 
   345 
   346 EXPORT_C void   vgCopyImage(VGImage dst, VGint dx, VGint dy ,VGImage src, VGint sx, VGint sy ,VGint width, VGint height ,VGboolean dither)
   346 EXPORT_C void   vgCopyImage(VGImage dst, VGint dx, VGint dy ,VGImage src, VGint sx, VGint sy ,VGint width, VGint height ,VGboolean dither) __SOFTFP
   347    {
   347    {
   348    return do_vgCopyImage(dst,dx,dy,src,sx,sy,width,height,dither);
   348    return do_vgCopyImage(dst,dx,dy,src,sx,sy,width,height,dither);
   349    }
   349    }
   350 
   350 
   351 EXPORT_C void   vgDrawImage(VGImage image)
   351 EXPORT_C void   vgDrawImage(VGImage image) __SOFTFP
   352    {
   352    {
   353    return do_vgDrawImage(image);
   353    return do_vgDrawImage(image);
   354    }
   354    }
   355 
   355 
   356 EXPORT_C void   vgSetPixels(VGint dx, VGint dy ,VGImage src, VGint sx, VGint sy ,VGint width, VGint height)
   356 EXPORT_C void   vgSetPixels(VGint dx, VGint dy ,VGImage src, VGint sx, VGint sy ,VGint width, VGint height) __SOFTFP
   357    {
   357    {
   358    return do_vgSetPixels(dx,dy,src,sx,sy,width,height);
   358    return do_vgSetPixels(dx,dy,src,sx,sy,width,height);
   359    }
   359    }
   360 
   360 
   361 EXPORT_C void   vgWritePixels(const void* data, VGint dataStride ,VGImageFormat dataFormat ,VGint dx, VGint dy ,VGint width, VGint height)
   361 EXPORT_C void   vgWritePixels(const void* data, VGint dataStride ,VGImageFormat dataFormat ,VGint dx, VGint dy ,VGint width, VGint height) __SOFTFP
   362    {
   362    {
   363    return do_vgWritePixels(data,dataStride,dataFormat,dx,dy,width,height);
   363    return do_vgWritePixels(data,dataStride,dataFormat,dx,dy,width,height);
   364    }
   364    }
   365 
   365 
   366 EXPORT_C void   vgGetPixels(VGImage dst, VGint dx, VGint dy ,VGint sx, VGint sy ,VGint width, VGint height)
   366 EXPORT_C void   vgGetPixels(VGImage dst, VGint dx, VGint dy ,VGint sx, VGint sy ,VGint width, VGint height) __SOFTFP
   367    {
   367    {
   368    return do_vgGetPixels(dst,dx,dy,sx,sy,width,height);
   368    return do_vgGetPixels(dst,dx,dy,sx,sy,width,height);
   369    }
   369    }
   370 
   370 
   371 EXPORT_C void   vgReadPixels(void* data, VGint dataStride ,VGImageFormat dataFormat ,VGint sx, VGint sy ,VGint width, VGint height)
   371 EXPORT_C void   vgReadPixels(void* data, VGint dataStride ,VGImageFormat dataFormat ,VGint sx, VGint sy ,VGint width, VGint height) __SOFTFP
   372    {
   372    {
   373    return do_vgReadPixels(data,dataStride,dataFormat,sx,sy,width,height);
   373    return do_vgReadPixels(data,dataStride,dataFormat,sx,sy,width,height);
   374    }
   374    }
   375 
   375 
   376 EXPORT_C void   vgCopyPixels(VGint dx, VGint dy ,VGint sx, VGint sy ,VGint width, VGint height)
   376 EXPORT_C void   vgCopyPixels(VGint dx, VGint dy ,VGint sx, VGint sy ,VGint width, VGint height) __SOFTFP
   377    {
   377    {
   378    return do_vgCopyPixels(dx,dy,sx,sy,width,height);
   378    return do_vgCopyPixels(dx,dy,sx,sy,width,height);
   379    }
   379    }
   380 
   380 
   381 EXPORT_C VGFont   vgCreateFont(VGint glyphCapacityHint)
   381 EXPORT_C VGFont   vgCreateFont(VGint glyphCapacityHint) __SOFTFP
   382    {
   382    {
   383    return do_vgCreateFont(glyphCapacityHint);
   383    return do_vgCreateFont(glyphCapacityHint);
   384    }
   384    }
   385 
   385 
   386 EXPORT_C void   vgDestroyFont(VGFont font)
   386 EXPORT_C void   vgDestroyFont(VGFont font) __SOFTFP
   387    {
   387    {
   388    return do_vgDestroyFont(font);
   388    return do_vgDestroyFont(font);
   389    }
   389    }
   390 
   390 
   391 EXPORT_C void   vgSetGlyphToPath(VGFont font ,VGuint glyphIndex ,VGPath path ,VGboolean isHinted ,const VGfloat glyphOrigin [2] ,const VGfloat escapement[2])
   391 EXPORT_C  void   vgSetGlyphToPath(VGFont font ,VGuint glyphIndex ,VGPath path ,VGboolean isHinted ,const VGfloat glyphOrigin [2] ,const VGfloat escapement[2]) __SOFTFP
   392    {
   392    {
   393    return do_vgSetGlyphToPath(font,glyphIndex,path,isHinted,glyphOrigin,escapement);
   393    return do_vgSetGlyphToPath(font,glyphIndex,path,isHinted,glyphOrigin,escapement);
   394    }
   394    }
   395 
   395 
   396 EXPORT_C void   vgSetGlyphToImage(VGFont font ,VGuint glyphIndex ,VGImage image ,const VGfloat glyphOrigin [2] ,const VGfloat escapement[2])
   396 EXPORT_C  void   vgSetGlyphToImage(VGFont font ,VGuint glyphIndex ,VGImage image ,const VGfloat glyphOrigin [2] ,const VGfloat escapement[2]) __SOFTFP
   397    {
   397    {
   398    return do_vgSetGlyphToImage(font,glyphIndex,image,glyphOrigin,escapement);
   398    return do_vgSetGlyphToImage(font,glyphIndex,image,glyphOrigin,escapement);
   399    }
   399    }
   400 
   400 
   401 EXPORT_C void   vgClearGlyph(VGFont font ,VGuint glyphIndex)
   401 EXPORT_C void   vgClearGlyph(VGFont font ,VGuint glyphIndex) __SOFTFP
   402    {
   402    {
   403    return do_vgClearGlyph(font,glyphIndex);
   403    return do_vgClearGlyph(font,glyphIndex);
   404    }
   404    }
   405 
   405 
   406 EXPORT_C void   vgDrawGlyph(VGFont font ,VGuint glyphIndex ,VGbitfield paintModes ,VGboolean allowAutoHinting)
   406 EXPORT_C void   vgDrawGlyph(VGFont font ,VGuint glyphIndex ,VGbitfield paintModes ,VGboolean allowAutoHinting) __SOFTFP
   407    {
   407    {
   408    return do_vgDrawGlyph(font,glyphIndex,paintModes,allowAutoHinting);
   408    return do_vgDrawGlyph(font,glyphIndex,paintModes,allowAutoHinting);
   409    }
   409    }
   410 
   410 
   411 EXPORT_C void   vgDrawGlyphs(VGFont font ,VGint glyphCount ,const VGuint* glyphIndices ,const VGfloat* adjustments_x ,const VGfloat* adjustments_y ,VGbitfield paintModes ,VGboolean allowAutoHinting)
   411 EXPORT_C  void   vgDrawGlyphs(VGFont font ,VGint glyphCount ,const VGuint* glyphIndices ,const VGfloat* adjustments_x ,const VGfloat* adjustments_y ,VGbitfield paintModes ,VGboolean allowAutoHinting) __SOFTFP
   412    {
   412    {
   413    return do_vgDrawGlyphs(font,glyphCount,glyphIndices,adjustments_x,adjustments_y,paintModes,allowAutoHinting);
   413    return do_vgDrawGlyphs(font,glyphCount,glyphIndices,adjustments_x,adjustments_y,paintModes,allowAutoHinting);
   414    }
   414    }
   415 
   415 
   416 EXPORT_C void   vgColorMatrix(VGImage dst, VGImage src ,const VGfloat* matrix)
   416 EXPORT_C  void   vgColorMatrix(VGImage dst, VGImage src ,const VGfloat* matrix) __SOFTFP
   417    {
   417    {
   418    return do_vgColorMatrix(dst,src,matrix);
   418    return do_vgColorMatrix(dst,src,matrix);
   419    }
   419    }
   420 
   420 
   421 EXPORT_C void   vgConvolve(VGImage dst, VGImage src ,VGint kernelWidth, VGint kernelHeight ,VGint shiftX, VGint shiftY ,const VGshort* kernel ,VGfloat scale ,VGfloat bias ,VGTilingMode tilingMode)
   421 EXPORT_C  void   vgConvolve(VGImage dst, VGImage src ,VGint kernelWidth, VGint kernelHeight ,VGint shiftX, VGint shiftY ,const VGshort* kernel ,VGfloat scale ,VGfloat bias ,VGTilingMode tilingMode) __SOFTFP
   422    {
   422    {
   423    return do_vgConvolve(dst,src,kernelWidth,kernelHeight,shiftX,shiftY,kernel,scale,bias,tilingMode);
   423    return do_vgConvolve(dst,src,kernelWidth,kernelHeight,shiftX,shiftY,kernel,scale,bias,tilingMode);
   424    }
   424    }
   425 
   425 
   426 EXPORT_C void   vgSeparableConvolve(VGImage dst, VGImage src ,VGint kernelWidth ,VGint kernelHeight ,VGint shiftX, VGint shiftY ,const VGshort* kernelX ,const VGshort* kernelY ,VGfloat scale ,VGfloat bias ,VGTilingMode tilingMode)
   426 EXPORT_C  void   vgSeparableConvolve(VGImage dst, VGImage src ,VGint kernelWidth ,VGint kernelHeight ,VGint shiftX, VGint shiftY ,const VGshort* kernelX ,const VGshort* kernelY ,VGfloat scale ,VGfloat bias ,VGTilingMode tilingMode) __SOFTFP
   427    {
   427    {
   428    return do_vgSeparableConvolve(dst,src,kernelWidth,kernelHeight,shiftX,shiftY,kernelX,kernelY,scale,bias,tilingMode);
   428    return do_vgSeparableConvolve(dst,src,kernelWidth,kernelHeight,shiftX,shiftY,kernelX,kernelY,scale,bias,tilingMode);
   429    }
   429    }
   430 
   430 
   431 EXPORT_C void   vgGaussianBlur(VGImage dst, VGImage src ,VGfloat stdDeviationX ,VGfloat stdDeviationY ,VGTilingMode tilingMode)
   431 EXPORT_C  void   vgGaussianBlur(VGImage dst, VGImage src ,VGfloat stdDeviationX ,VGfloat stdDeviationY ,VGTilingMode tilingMode) __SOFTFP
   432    {
   432    {
   433    return do_vgGaussianBlur(dst,src,stdDeviationX,stdDeviationY,tilingMode);
   433    return do_vgGaussianBlur(dst,src,stdDeviationX,stdDeviationY,tilingMode);
   434    }
   434    }
   435 
   435 
   436 EXPORT_C void   vgLookup(VGImage dst, VGImage src ,const VGubyte* redLUT ,const VGubyte* greenLUT ,const VGubyte* blueLUT ,const VGubyte* alphaLUT ,VGboolean outputLinear ,VGboolean outputPremultiplied)
   436 EXPORT_C void   vgLookup(VGImage dst, VGImage src ,const VGubyte* redLUT ,const VGubyte* greenLUT ,const VGubyte* blueLUT ,const VGubyte* alphaLUT ,VGboolean outputLinear ,VGboolean outputPremultiplied) __SOFTFP
   437    {
   437    {
   438    return do_vgLookup(dst,src,redLUT,greenLUT,blueLUT,alphaLUT,outputLinear,outputPremultiplied);
   438    return do_vgLookup(dst,src,redLUT,greenLUT,blueLUT,alphaLUT,outputLinear,outputPremultiplied);
   439    }
   439    }
   440 
   440 
   441 EXPORT_C void   vgLookupSingle(VGImage dst, VGImage src ,const VGuint* lookupTable ,VGImageChannel sourceChannel ,VGboolean outputLinear ,VGboolean outputPremultiplied)
   441 EXPORT_C void   vgLookupSingle(VGImage dst, VGImage src ,const VGuint* lookupTable ,VGImageChannel sourceChannel ,VGboolean outputLinear ,VGboolean outputPremultiplied) __SOFTFP
   442    {
   442    {
   443    return do_vgLookupSingle(dst,src,lookupTable,sourceChannel,outputLinear,outputPremultiplied);
   443    return do_vgLookupSingle(dst,src,lookupTable,sourceChannel,outputLinear,outputPremultiplied);
   444    }
   444    }
   445 
   445 
   446 EXPORT_C VGHardwareQueryResult   vgHardwareQuery        (VGHardwareQueryType key ,VGint setting)
   446 EXPORT_C VGHardwareQueryResult   vgHardwareQuery        (VGHardwareQueryType key ,VGint setting) __SOFTFP
   447    {
   447    {
   448    return do_vgHardwareQuery(key,setting);
   448    return do_vgHardwareQuery(key,setting);
   449    }
   449    }
   450 
   450 
   451 EXPORT_C const VGubyte *   vgGetString(VGStringID name)
   451 EXPORT_C const VGubyte *   vgGetString(VGStringID name) __SOFTFP
   452    {
   452    {
   453    return do_vgGetString(name);
   453    return do_vgGetString(name);
   454    }
   454    }
   455 }
   455 }
   456 
   456