Home
last modified time | relevance | path

Searched refs:gl_context (Results 1 – 25 of 641) sorted by relevance

12345678910>>...26

/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv10_driver.h41 nv10_use_viewport_zclear(struct gl_context *ctx);
44 nv10_transform_depth(struct gl_context *ctx, float z);
48 nv10_vbo_init(struct gl_context *ctx);
51 nv10_vbo_destroy(struct gl_context *ctx);
54 nv10_swtnl_init(struct gl_context *ctx);
57 nv10_swtnl_destroy(struct gl_context *ctx);
61 nv10_emit_framebuffer(struct gl_context *ctx, int emit);
64 nv10_emit_render_mode(struct gl_context *ctx, int emit);
67 nv10_emit_scissor(struct gl_context *ctx, int emit);
70 nv10_emit_viewport(struct gl_context *ctx, int emit);
[all …]
Dnv20_driver.h42 nv20_vbo_init(struct gl_context *ctx);
45 nv20_vbo_destroy(struct gl_context *ctx);
48 nv20_swtnl_init(struct gl_context *ctx);
51 nv20_swtnl_destroy(struct gl_context *ctx);
55 nv20_emit_framebuffer(struct gl_context *ctx, int emit);
58 nv20_emit_viewport(struct gl_context *ctx, int emit);
62 nv20_emit_point_mode(struct gl_context *ctx, int emit);
66 nv20_emit_logic_opcode(struct gl_context *ctx, int emit);
70 nv20_emit_tex_env(struct gl_context *ctx, int emit);
73 nv20_emit_frag(struct gl_context *ctx, int emit);
[all …]
Dnv04_driver.h42 nv04_render_init(struct gl_context *ctx);
45 nv04_render_destroy(struct gl_context *ctx);
49 nv04_surface_init(struct gl_context *ctx);
52 nv04_surface_takedown(struct gl_context *ctx);
55 nv04_surface_copy(struct gl_context *ctx,
60 nv04_surface_fill(struct gl_context *ctx,
67 nv04_emit_framebuffer(struct gl_context *ctx, int emit);
70 nv04_emit_scissor(struct gl_context *ctx, int emit);
74 nv04_defer_control(struct gl_context *ctx, int emit);
77 nv04_emit_control(struct gl_context *ctx, int emit);
[all …]
Dnouveau_state.c36 nouveau_alpha_func(struct gl_context *ctx, GLenum func, GLfloat ref) in nouveau_alpha_func()
42 nouveau_blend_color(struct gl_context *ctx, const GLfloat color[4]) in nouveau_blend_color()
48 nouveau_blend_equation_separate(struct gl_context *ctx, GLenum modeRGB, GLenum modeA) in nouveau_blend_equation_separate()
54 nouveau_blend_func_separate(struct gl_context *ctx, GLenum sfactorRGB, in nouveau_blend_func_separate()
61 nouveau_clip_plane(struct gl_context *ctx, GLenum plane, const GLfloat *equation) in nouveau_clip_plane()
67 nouveau_color_mask(struct gl_context *ctx, GLboolean rmask, GLboolean gmask, in nouveau_color_mask()
74 nouveau_color_material(struct gl_context *ctx, GLenum face, GLenum mode) in nouveau_color_material()
86 nouveau_cull_face(struct gl_context *ctx, GLenum mode) in nouveau_cull_face()
92 nouveau_front_face(struct gl_context *ctx, GLenum mode) in nouveau_front_face()
98 nouveau_depth_func(struct gl_context *ctx, GLenum func) in nouveau_depth_func()
[all …]
/external/mesa3d/src/mesa/swrast/
Dswrast.h117 _swrast_CreateContext( struct gl_context *ctx );
120 _swrast_DestroyContext( struct gl_context *ctx );
125 _swrast_GetDeviceDriverReference( struct gl_context *ctx );
128 _swrast_Bitmap( struct gl_context *ctx,
135 _swrast_CopyPixels( struct gl_context *ctx,
142 swrast_fast_copy_pixels(struct gl_context *ctx,
147 _swrast_DrawPixels( struct gl_context *ctx,
155 _swrast_BlitFramebuffer(struct gl_context *ctx,
161 _swrast_Clear(struct gl_context *ctx, GLbitfield buffers);
168 _swrast_ResetLineStipple( struct gl_context *ctx );
[all …]
Ds_context.h54 typedef void (*texture_sample_func)(struct gl_context *ctx,
60 typedef void (_ASMAPIP blend_func)( struct gl_context *ctx, GLuint n,
65 typedef void (*swrast_point_func)( struct gl_context *ctx, const SWvertex *);
67 typedef void (*swrast_line_func)( struct gl_context *ctx,
70 typedef void (*swrast_tri_func)( struct gl_context *ctx, const SWvertex *,
74 typedef void (*validate_texture_image_func)(struct gl_context *ctx,
240 void (*InvalidateState)( struct gl_context *ctx, GLbitfield new_state );
257 void (*choose_point)( struct gl_context * );
258 void (*choose_line)( struct gl_context * );
259 void (*choose_triangle)( struct gl_context * );
[all …]
/external/mesa3d/src/mesa/main/
Ddd.h39 struct gl_context;
85 const GLubyte * (*GetString)( struct gl_context *ctx, GLenum name );
93 void (*UpdateState)( struct gl_context *ctx, GLbitfield new_state );
108 void (*ResizeBuffers)( struct gl_context *ctx, struct gl_framebuffer *fb,
115 void (*Error)( struct gl_context *ctx );
120 void (*Finish)( struct gl_context *ctx );
125 void (*Flush)( struct gl_context *ctx );
132 void (*Clear)( struct gl_context *ctx, GLbitfield buffers );
137 void (*Accum)( struct gl_context *ctx, GLenum op, GLfloat value );
143 void (*RasterPos)( struct gl_context *ctx, const GLfloat v[4] );
[all …]
Dcontext.h108 _mesa_initialize_context( struct gl_context *ctx,
111 struct gl_context *share_list,
115 extern struct gl_context *
118 struct gl_context *share_list,
123 _mesa_free_context_data( struct gl_context *ctx );
126 _mesa_destroy_context( struct gl_context *ctx );
130 _mesa_copy_context(const struct gl_context *src, struct gl_context *dst, GLuint mask);
134 _mesa_check_init_viewport(struct gl_context *ctx, GLuint width, GLuint height);
137 _mesa_make_current( struct gl_context *ctx, struct gl_framebuffer *drawBuffer,
141 _mesa_share_state(struct gl_context *ctx, struct gl_context *ctxToShare);
[all …]
Dextensions.h42 struct gl_context;
46 extern void _mesa_enable_sw_extensions(struct gl_context *ctx);
48 extern void _mesa_enable_1_3_extensions(struct gl_context *ctx);
50 extern void _mesa_enable_1_4_extensions(struct gl_context *ctx);
52 extern void _mesa_enable_1_5_extensions(struct gl_context *ctx);
54 extern void _mesa_enable_2_0_extensions(struct gl_context *ctx);
56 extern void _mesa_enable_2_1_extensions(struct gl_context *ctx);
58 extern void _mesa_enable_extension(struct gl_context *ctx, const char *name);
60 extern void _mesa_disable_extension(struct gl_context *ctx, const char *name);
62 extern GLboolean _mesa_extension_is_enabled(struct gl_context *ctx, const char *name);
[all …]
Dshaderobj.h46 _mesa_init_shader_state(struct gl_context * ctx);
49 _mesa_free_shader_state(struct gl_context *ctx);
53 _mesa_reference_shader(struct gl_context *ctx, struct gl_shader **ptr,
57 _mesa_lookup_shader(struct gl_context *ctx, GLuint name);
60 _mesa_lookup_shader_err(struct gl_context *ctx, GLuint name, const char *caller);
65 _mesa_reference_shader_program(struct gl_context *ctx,
69 _mesa_init_shader(struct gl_context *ctx, struct gl_shader *shader);
72 _mesa_new_shader(struct gl_context *ctx, GLuint name, GLenum type);
75 _mesa_init_shader_program(struct gl_context *ctx, struct gl_shader_program *prog);
78 _mesa_lookup_shader_program(struct gl_context *ctx, GLuint name);
[all …]
Ddlist.h53 extern void _mesa_compile_error( struct gl_context *ctx, GLenum error, const char *s );
55 extern void *_mesa_dlist_alloc(struct gl_context *ctx, GLuint opcode, GLuint sz);
57 extern GLint _mesa_dlist_alloc_opcode( struct gl_context *ctx, GLuint sz,
58 void (*execute)( struct gl_context *, void * ),
59 void (*destroy)( struct gl_context *, void * ),
60 void (*print)( struct gl_context *, void * ) );
62 extern void _mesa_delete_list(struct gl_context *ctx, struct gl_display_list *dlist);
66 extern struct _glapi_table *_mesa_create_save_table(const struct gl_context *);
80 _mesa_delete_list(struct gl_context *ctx, struct gl_display_list *dlist) in _mesa_delete_list()
99 extern void _mesa_init_display_list( struct gl_context * ctx );
[all …]
Dframebuffer.h32 struct gl_context;
38 _mesa_new_framebuffer(struct gl_context *ctx, GLuint name);
66 _mesa_resize_framebuffer(struct gl_context *ctx, struct gl_framebuffer *fb,
71 _mesa_resizebuffers( struct gl_context *ctx );
78 _mesa_update_draw_buffer_bounds(struct gl_context *ctx);
81 _mesa_update_framebuffer_visual(struct gl_context *ctx,
85 _mesa_update_framebuffer(struct gl_context *ctx);
88 _mesa_source_buffer_exists(struct gl_context *ctx, GLenum format);
91 _mesa_dest_buffer_exists(struct gl_context *ctx, GLenum format);
94 _mesa_get_color_read_type(struct gl_context *ctx);
[all …]
Derrors.h48 struct gl_context;
54 _mesa_init_errors( struct gl_context *ctx );
57 _mesa_free_errors_data( struct gl_context *ctx );
60 _mesa_warning( struct gl_context *gc, const char *fmtString, ... ) PRINTFLIKE(2, 3);
63 _mesa_problem( const struct gl_context *ctx, const char *fmtString, ... ) PRINTFLIKE(2, 3);
66 _mesa_error( struct gl_context *ctx, GLenum error, const char *fmtString, ... ) PRINTFLIKE(3, 4);
69 _mesa_debug( const struct gl_context *ctx, const char *fmtString, ... ) PRINTFLIKE(2, 3);
72 _mesa_shader_debug( struct gl_context *ctx, GLenum type, GLuint id, const char *msg, int len );
Dapi_validate.h35 struct gl_context;
40 _mesa_max_buffer_index(struct gl_context *ctx, GLuint count, GLenum type,
46 _mesa_valid_prim_mode(struct gl_context *ctx, GLenum mode, const char *name);
50 _mesa_validate_DrawArrays(struct gl_context *ctx,
54 _mesa_validate_DrawElements(struct gl_context *ctx,
59 _mesa_validate_MultiDrawElements(struct gl_context *ctx,
65 _mesa_validate_DrawRangeElements(struct gl_context *ctx, GLenum mode,
72 _mesa_validate_DrawArraysInstanced(struct gl_context *ctx, GLenum mode, GLint first,
76 _mesa_validate_DrawElementsInstanced(struct gl_context *ctx,
84 _mesa_validate_DrawTransformFeedback(struct gl_context *ctx,
/external/mesa3d/src/mesa/tnl/
Dt_vertex.h34 struct gl_context;
84 extern void _tnl_interp( struct gl_context *ctx,
91 extern void _tnl_copy_pv( struct gl_context *ctx, GLuint edst, GLuint esrc );
98 extern void _tnl_get_attr( struct gl_context *ctx, const void *vertex, GLenum attrib,
103 extern void _tnl_set_attr( struct gl_context *ctx, void *vout, GLenum attrib,
107 extern void *_tnl_get_vertex( struct gl_context *ctx, GLuint nr );
109 extern GLuint _tnl_install_attrs( struct gl_context *ctx,
114 extern void _tnl_free_vertices( struct gl_context *ctx );
116 extern void _tnl_init_vertices( struct gl_context *ctx,
120 extern void *_tnl_emit_vertices_to_buffer( struct gl_context *ctx,
[all …]
Dtnl.h34 struct gl_context;
43 _tnl_CreateContext( struct gl_context *ctx );
46 _tnl_DestroyContext( struct gl_context *ctx );
49 _tnl_InvalidateState( struct gl_context *ctx, GLuint new_state );
56 _tnl_wakeup( struct gl_context *ctx );
61 _tnl_need_projected_coords( struct gl_context *ctx, GLboolean flag );
67 _tnl_allow_vertex_fog( struct gl_context *ctx, GLboolean value );
70 _tnl_allow_pixel_fog( struct gl_context *ctx, GLboolean value );
73 _tnl_program_string(struct gl_context *ctx, GLenum target, struct gl_program *program);
79 _tnl_draw_prims( struct gl_context *ctx,
[all …]
Dt_context.h241 GLboolean (*create)( struct gl_context *ctx, struct tnl_pipeline_stage * );
250 void (*validate)( struct gl_context *ctx, struct tnl_pipeline_stage * );
260 GLboolean (*run)( struct gl_context *ctx, struct tnl_pipeline_stage * );
290 typedef void (*tnl_emit_func)( struct gl_context *ctx,
317 typedef void (*tnl_points_func)( struct gl_context *ctx, GLuint first, GLuint last );
318 typedef void (*tnl_line_func)( struct gl_context *ctx, GLuint v1, GLuint v2 );
319 typedef void (*tnl_triangle_func)( struct gl_context *ctx,
321 typedef void (*tnl_quad_func)( struct gl_context *ctx, GLuint v1, GLuint v2,
323 typedef void (*tnl_render_func)( struct gl_context *ctx, GLuint start, GLuint count,
325 typedef void (*tnl_interp_func)( struct gl_context *ctx,
[all …]
/external/mesa3d/src/mesa/program/
Dprogram.h51 _mesa_init_program(struct gl_context *ctx);
54 _mesa_free_program_data(struct gl_context *ctx);
57 _mesa_update_default_objects_program(struct gl_context *ctx);
60 _mesa_set_program_error(struct gl_context *ctx, GLint pos, const char *string);
68 _mesa_init_vertex_program(struct gl_context *ctx,
73 _mesa_init_fragment_program(struct gl_context *ctx,
78 _mesa_init_geometry_program(struct gl_context *ctx,
83 _mesa_new_program(struct gl_context *ctx, GLenum target, GLuint id);
86 _mesa_delete_program(struct gl_context *ctx, struct gl_program *prog);
89 _mesa_lookup_program(struct gl_context *ctx, GLuint id);
[all …]
/external/mesa3d/src/mesa/drivers/common/
Dmeta.h62 _mesa_meta_init(struct gl_context *ctx);
65 _mesa_meta_free(struct gl_context *ctx);
68 _mesa_meta_begin(struct gl_context *ctx, GLbitfield state);
71 _mesa_meta_end(struct gl_context *ctx);
74 _mesa_meta_in_progress(struct gl_context *ctx);
77 _mesa_meta_BlitFramebuffer(struct gl_context *ctx,
83 _mesa_meta_Clear(struct gl_context *ctx, GLbitfield buffers);
86 _mesa_meta_glsl_Clear(struct gl_context *ctx, GLbitfield buffers);
89 _mesa_meta_CopyPixels(struct gl_context *ctx, GLint srcx, GLint srcy,
94 _mesa_meta_DrawPixels(struct gl_context *ctx,
[all …]
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_swtcl.h41 extern void r200InitSwtcl( struct gl_context *ctx );
43 extern void r200ChooseRenderState( struct gl_context *ctx );
44 extern void r200ChooseVertexState( struct gl_context *ctx );
46 extern void r200CheckTexSizes( struct gl_context *ctx );
48 extern void r200BuildVertices( struct gl_context *ctx, GLuint start, GLuint count,
54 extern void r200_translate_vertex( struct gl_context *ctx,
58 extern void r200_print_vertex( struct gl_context *ctx, const radeonVertex *v );
60 extern void r200_import_float_colors( struct gl_context *ctx );
61 extern void r200_import_float_spec_colors( struct gl_context *ctx );
63 extern void r200PointsBitmap( struct gl_context *ctx, GLint px, GLint py,
[all …]
Dr200_state.h42 extern void r200InitTnlFuncs( struct gl_context *ctx );
44 extern void r200UpdateMaterial( struct gl_context *ctx );
46 extern void r200UpdateViewportOffset( struct gl_context *ctx );
47 extern void r200UpdateWindow( struct gl_context *ctx );
48 extern void r200UpdateDrawBuffer(struct gl_context *ctx);
50 extern GLboolean r200ValidateState( struct gl_context *ctx );
52 extern void r200_vtbl_update_scissor( struct gl_context *ctx );
54 extern void r200Fallback( struct gl_context *ctx, GLuint bit, GLboolean mode );
61 extern void r200LightingSpaceChange( struct gl_context *ctx );
Dradeon_common.h8 void radeonUserClear(struct gl_context *ctx, GLuint mask);
10 void radeonUpdateScissor( struct gl_context *ctx );
11 void radeonScissor(struct gl_context* ctx, GLint x, GLint y, GLsizei w, GLsizei h);
15 void radeonFlush(struct gl_context *ctx);
16 void radeonFinish(struct gl_context * ctx);
20 void radeon_clear_tris(struct gl_context *ctx, GLbitfield mask);
23 void radeon_draw_buffer(struct gl_context *ctx, struct gl_framebuffer *fb);
24 void radeonDrawBuffer( struct gl_context *ctx, GLenum mode );
25 void radeonReadBuffer( struct gl_context *ctx, GLenum mode );
26 void radeon_viewport(struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height);
[all …]
/external/mesa3d/src/mesa/vbo/
Dvbo_save.h124 struct gl_context *ctx;
165 void vbo_save_init( struct gl_context *ctx );
166 void vbo_save_destroy( struct gl_context *ctx );
167 void vbo_save_fallback( struct gl_context *ctx, GLboolean fallback );
171 void vbo_loopback_vertex_list( struct gl_context *ctx,
181 void vbo_save_EndList( struct gl_context *ctx );
182 void vbo_save_NewList( struct gl_context *ctx, GLuint list, GLenum mode );
183 void vbo_save_EndCallList( struct gl_context *ctx );
184 void vbo_save_BeginCallList( struct gl_context *ctx, struct gl_display_list *list );
185 void vbo_save_SaveFlushVertices( struct gl_context *ctx );
[all …]
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_swtcl.h42 extern void radeonInitSwtcl( struct gl_context *ctx );
44 extern void radeonChooseRenderState( struct gl_context *ctx );
45 extern void radeonChooseVertexState( struct gl_context *ctx );
47 extern void radeonCheckTexSizes( struct gl_context *ctx );
49 extern void radeonBuildVertices( struct gl_context *ctx, GLuint start, GLuint count,
55 extern void radeon_emit_indexed_verts( struct gl_context *ctx,
59 extern void radeon_translate_vertex( struct gl_context *ctx,
63 extern void radeon_print_vertex( struct gl_context *ctx, const radeonVertex *v );
65 extern void r100_swtcl_flush(struct gl_context *ctx, uint32_t current_offset);
Dradeon_common.h8 void radeonUserClear(struct gl_context *ctx, GLuint mask);
10 void radeonUpdateScissor( struct gl_context *ctx );
11 void radeonScissor(struct gl_context* ctx, GLint x, GLint y, GLsizei w, GLsizei h);
15 void radeonFlush(struct gl_context *ctx);
16 void radeonFinish(struct gl_context * ctx);
20 void radeon_clear_tris(struct gl_context *ctx, GLbitfield mask);
23 void radeon_draw_buffer(struct gl_context *ctx, struct gl_framebuffer *fb);
24 void radeonDrawBuffer( struct gl_context *ctx, GLenum mode );
25 void radeonReadBuffer( struct gl_context *ctx, GLenum mode );
26 void radeon_viewport(struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height);
[all …]

12345678910>>...26