AnsweredAssumed Answered

Vivante 2D API Create Surface from Existing Data

Question asked by Adam Kauffman on Jun 15, 2016
Latest reply on Aug 8, 2016 by Adam Kauffman



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.