Home | History | Annotate | Download | only in apple

Lines Matching refs:apple_cgl

35 #include "apple_cgl.h"
44 struct apple_cgl_api apple_cgl;
88 apple_cgl.get_version = sym(h, "CGLGetVersion");
90 apple_cgl.get_version(&apple_cgl.version_major, &apple_cgl.version_minor);
92 apple_glx_diagnostic("CGL major %d minor %d\n", apple_cgl.version_major, apple_cgl.version_minor);
94 if (1 != apple_cgl.version_major) {
99 apple_cgl.choose_pixel_format = sym(h, "CGLChoosePixelFormat");
100 apple_cgl.destroy_pixel_format = sym(h, "CGLDestroyPixelFormat");
102 apple_cgl.clear_drawable = sym(h, "CGLClearDrawable");
103 apple_cgl.flush_drawable = sym(h, "CGLFlushDrawable");
105 apple_cgl.create_context = sym(h, "CGLCreateContext");
106 apple_cgl.destroy_context = sym(h, "CGLDestroyContext");
108 apple_cgl.set_current_context = sym(h, "CGLSetCurrentContext");
109 apple_cgl.get_current_context = sym(h, "CGLGetCurrentContext");
110 apple_cgl.error_string = sym(h, "CGLErrorString");
112 apple_cgl.set_off_screen = sym(h, "CGLSetOffScreen");
114 apple_cgl.copy_context = sym(h, "CGLCopyContext");
116 apple_cgl.create_pbuffer = sym(h, "CGLCreatePBuffer");
117 apple_cgl.destroy_pbuffer = sym(h, "CGLDestroyPBuffer");
118 apple_cgl.set_pbuffer = sym(h, "CGLSetPBuffer");