createSurface

fun createSurface(): Boolean

Create an egl surface for the current SurfaceHolder surface. If a surface already exists, destroy it before creating the new surface.

Return

true if the surface was created successfully.