public GlPlatformSurfaceRenderTarget(IAvnGlSurfaceRenderTarget target, IGlContext context)
 {
     _target  = target;
     _context = context;
 }
 public void Dispose()
 {
     _target?.Dispose();
     _target = null;
 }
 public GlPlatformSurfaceRenderTarget(IAvnGlSurfaceRenderTarget target)
 {
     _target = target;
 }