summaryrefslogtreecommitdiffstats
path: root/video/out/mac/view.swift
Commit message (Collapse)AuthorAgeFilesLines
* cocoa-cb: generalisation of backend independent partsder richter2020-08-221-0/+297
move all backend independent code parts in their own folder and files, to simplify adding new backends. the goal is to only extend one class and add the backend dependent parts there. usually only the (un)init, config and related parts need to be implemented per backend. furthermore all needed windowing and related events are propagated and can be overwritten. the other backend dependent part is usually the surface for rendering, for example the opengl oder metal layer. in the best case a new backend can be added with only a few hundred lines.