class_docstr: EGL backend for Canvas abstract class.
code: def _destroy_surface(self):
      if self._surface is not None:
          egl.eglDestroySurface(_EGL_DISPLAY, self._surface)
          self._surface = None
  
imports: from __future__ import division
  import atexit
  from time import sleep
  from ..base import BaseApplicationBackend, BaseCanvasBackend, BaseTimerBackend
  from ...util.ptime import time
  from ...None import config
label_desc: Use image node_id 2 for calling the CanvasBackend obj's underlying member method code with example usage: obj._destroy_surface() without return types