Home | History | Annotate | Download | only in osmesa

Lines Matching defs:mesa

2  * Mesa 3-D graphics library
27 * Off-Screen Mesa rendering / Rendering into client memory space
65 * OSMesa rendering context, derived from core Mesa struct gl_context.
69 struct gl_context mesa; /*< Base class - this must be first */
103 return (const GLubyte *) "Mesa OffScreen32";
105 return (const GLubyte *) "Mesa OffScreen16";
107 return (const GLubyte *) "Mesa OffScreen";
412 * XXX There aren't Mesa formats for all the possible combinations here!
589 * Create an Off-Screen Mesa rendering context. The only attribute needed is
607 * New in Mesa 3.5
712 if (!_mesa_initialize_context(&osmesa->mesa,
715 sharelist ? &sharelist->mesa
723 _mesa_enable_sw_extensions(&(osmesa->mesa));
724 _mesa_enable_1_3_extensions(&(osmesa->mesa));
725 _mesa_enable_1_4_extensions(&(osmesa->mesa));
726 _mesa_enable_1_5_extensions(&(osmesa->mesa));
727 _mesa_enable_2_0_extensions(&(osmesa->mesa));
728 _mesa_enable_2_1_extensions(&(osmesa->mesa));
733 _mesa_free_context_data( &osmesa->mesa );
757 _mesa_meta_init(&osmesa->mesa);
761 struct gl_context *ctx = &osmesa->mesa;
799 * Destroy an Off-Screen Mesa rendering context.
810 _mesa_meta_free( &osmesa->mesa );
812 _swsetup_DestroyContext( &osmesa->mesa );
813 _tnl_DestroyContext( &osmesa->mesa );
814 _vbo_DestroyContext( &osmesa->mesa );
815 _swrast_DestroyContext( &osmesa->mesa );
820 _mesa_free_context_data( &osmesa->mesa );
843 * are supported. But if Mesa's been compiled with CHAN_BITS==16
845 * Mesa's been build with CHAN_BITS==32 then type may be GL_FLOAT,
875 osmesa_update_state( &osmesa->mesa, 0 );
886 * doesn't match what Mesa was compiled for (CHAN_BITS) the
892 osmesa->srb = new_osmesa_renderbuffer(&osmesa->mesa, osmesa->format, type);
910 _mesa_resize_framebuffer(&osmesa->mesa, osmesa->gl_buffer, width, height);
913 _mesa_make_current( &osmesa->mesa, osmesa->gl_buffer, osmesa->gl_buffer );
924 _mesa_update_framebuffer_visual(&osmesa->mesa, osmesa->gl_buffer);
927 _mesa_resize_framebuffer(&osmesa->mesa, osmesa->gl_buffer, width, height);
954 _mesa_error( &osmesa->mesa, GL_INVALID_VALUE,
964 _mesa_error( &osmesa->mesa, GL_INVALID_ENUM, "OSMesaPixelStore(pname)" );
1010 _mesa_error(&osmesa->mesa, GL_INVALID_ENUM, "OSMesaGetIntergerv(pname)");
1123 osmesa->mesa.Color.ClampFragmentColor = GL_TRUE;
1126 osmesa->mesa.Color.ClampFragmentColor = GL_FIXED_ONLY_ARB;