Searched refs:apple_cgl (Results 1 – 8 of 8) sorted by relevance
/external/mesa3d/src/glx/apple/ |
D | apple_cgl.c | 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() [all …]
|
D | apple_glx_pbuffer.c | 79 cglerr = apple_cgl.set_pbuffer(ac->context_obj, pbuf->buffer_obj, 0, 0, 0); in pbuffer_make_current() 82 fprintf(stderr, "set_pbuffer: %s\n", apple_cgl.error_string(cglerr)); in pbuffer_make_current() 106 apple_cgl.destroy_pbuffer(pbuf->buffer_obj); in pbuffer_destroy() 160 err = apple_cgl.create_pbuffer(width, height, GL_TEXTURE_RECTANGLE_EXT, in apple_glx_pbuffer_create() 191 oldcontext = apple_cgl.get_current_context(); in get_max_size() 209 err = apple_cgl.choose_pixel_format(attr, &pfobj, &vsref); in get_max_size() 213 apple_cgl.error_string(err)); in get_max_size() 220 err = apple_cgl.create_context(pfobj, NULL, &newcontext); in get_max_size() 225 apple_cgl.error_string(err)); in get_max_size() 228 apple_cgl.destroy_pixel_format(pfobj); in get_max_size() [all …]
|
D | apple_glx_context.c | 164 error = apple_cgl.create_context(ac->pixel_format_obj, in apple_glx_create_context() 170 (void) apple_cgl.destroy_pixel_format(ac->pixel_format_obj); in apple_glx_create_context() 184 fprintf(stderr, "error: %s\n", apple_cgl.error_string(error)); in apple_glx_create_context() 220 if (apple_cgl.get_current_context() == ac->context_obj) { in apple_glx_destroy_context() 224 if (apple_cgl.set_current_context(NULL)) { in apple_glx_destroy_context() 246 if (apple_cgl.clear_drawable(ac->context_obj)) { in apple_glx_destroy_context() 262 if (apple_cgl.destroy_pixel_format(ac->pixel_format_obj)) { in apple_glx_destroy_context() 267 if (apple_cgl.destroy_context(ac->context_obj)) { in apple_glx_destroy_context() 315 apple_cgl.set_current_context(NULL); in apple_glx_make_current_context() 337 if (apple_cgl.set_current_context(ac->context_obj)) in apple_glx_make_current_context() [all …]
|
D | apple_glx_pixmap.c | 65 cglerr = apple_cgl.set_current_context(p->context_obj); in pixmap_make_current() 69 apple_cgl.error_string(cglerr)); in pixmap_make_current() 73 cglerr = apple_cgl.set_off_screen(p->context_obj, p->width, p->height, in pixmap_make_current() 77 fprintf(stderr, "set off screen: %s\n", apple_cgl.error_string(cglerr)); in pixmap_make_current() 96 (void) apple_cgl.destroy_pixel_format(p->pixel_format_obj); in pixmap_destroy() 99 (void) apple_cgl.destroy_context(p->context_obj); in pixmap_destroy() 169 error = apple_cgl.create_context(p->pixel_format_obj, NULL, in apple_glx_pixmap_create()
|
D | apple_visual.c | 77 …if(apple_cgl.version_major > 1 || (apple_cgl.version_major == 1 && apple_cgl.version_minor >= 3)) { in apple_visual_create_pfobj() 160 error = apple_cgl.choose_pixel_format(attr, pfobj, &vsref); in apple_visual_create_pfobj() 163 fprintf(stderr, "error: %s\n", apple_cgl.error_string(error)); in apple_visual_create_pfobj()
|
D | apple_glx.c | 137 apple_cgl.flush_drawable(ac->context_obj); in apple_glx_swap_buffers()
|
D | apple_cgl.h | 81 extern struct apple_cgl_api apple_cgl;
|
D | Makefile | 29 apple_cgl.c \
|