Prepare NSView/OpenGL Canvas (to speed up rendering on [mac]OS[X]
authorRobin Gareus <robin@gareus.org>
Sun, 19 Mar 2017 21:40:58 +0000 (22:40 +0100)
committerRobin Gareus <robin@gareus.org>
Sun, 19 Mar 2017 21:49:17 +0000 (22:49 +0100)
commitc371fc511500acada422cdcf93658fc25e5106de
tree519d15df59ab94c579beceac57aac348c08de329
parent7d41e542fe54feaa24fc87004df2b0276b9941c3
Prepare NSView/OpenGL Canvas (to speed up rendering on [mac]OS[X]

This avoids Coregraphics (cairo_quartz_surface..) competely.
The openGL texture bypasses CG's slow argb_image and CGSColorMask
methods.
libs/canvas/canvas.cc
libs/canvas/canvas/canvas.h
libs/canvas/canvas/nsglview.h [new file with mode: 0644]
libs/canvas/nsglview.mm [new file with mode: 0644]
libs/canvas/wscript