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