github.com/gop9/olt@v0.0.0-20200202132135-d956aad50b08/gio/app/internal/window/gl_macos.h (about) 1 // SPDX-License-Identifier: Unlicense OR MIT 2 3 __attribute__ ((visibility ("hidden"))) CFTypeRef gio_createGLView(void); 4 __attribute__ ((visibility ("hidden"))) CFTypeRef gio_contextForView(CFTypeRef viewRef); 5 __attribute__ ((visibility ("hidden"))) void gio_makeCurrentContext(CFTypeRef ctx); 6 __attribute__ ((visibility ("hidden"))) void gio_flushContextBuffer(CFTypeRef ctx); 7 __attribute__ ((visibility ("hidden"))) void gio_clearCurrentContext(void); 8 __attribute__ ((visibility ("hidden"))) void gio_lockContext(CFTypeRef ctxRef); 9 __attribute__ ((visibility ("hidden"))) void gio_unlockContext(CFTypeRef ctxRef);