close
Schedules surface disposal on the owning command queue.
This is safe to call from the main thread. After calling close, callers must not use this surface again. Pending coalesced draws for this surface are canceled before native disposal is queued. Draws already admitted to execution may still complete.