Is it possible to create a surface from existing data using the Vivante 2D API ?
Rather than following this procedure, which works:
/* Create a surface that will hold a source 2D image. */
gcoSURF_Construct(hal, width, height, depth, type, format, pool,
/* Lock the surface's memory so that it can be accessed. */
gcoSURF_Lock(*surface, NULL, surfaceMemory);
Then writing out the data.
I would like to construct a surface from existing data.