Home
last modified time | relevance | path

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

12345678910>>...28

/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.c38 nouveau_alpha_func(struct gl_context *ctx, GLenum func, GLfloat ref) in nouveau_alpha_func()
44 nouveau_blend_color(struct gl_context *ctx, const GLfloat color[4]) in nouveau_blend_color()
50 nouveau_blend_equation_separate(struct gl_context *ctx, GLenum modeRGB, GLenum modeA) in nouveau_blend_equation_separate()
56 nouveau_blend_func_separate(struct gl_context *ctx, GLenum sfactorRGB, in nouveau_blend_func_separate()
63 nouveau_clip_plane(struct gl_context *ctx, GLenum plane, const GLfloat *equation) in nouveau_clip_plane()
69 nouveau_color_mask(struct gl_context *ctx, GLboolean rmask, GLboolean gmask, in nouveau_color_mask()
76 nouveau_color_material(struct gl_context *ctx, GLenum face, GLenum mode) in nouveau_color_material()
88 nouveau_cull_face(struct gl_context *ctx, GLenum mode) in nouveau_cull_face()
94 nouveau_front_face(struct gl_context *ctx, GLenum mode) in nouveau_front_face()
100 nouveau_depth_func(struct gl_context *ctx, GLenum func) in nouveau_depth_func()
[all …]
/external/mesa3d/src/mesa/main/
Ddd.h40 struct gl_context;
89 const GLubyte * (*GetString)( struct gl_context *ctx, GLenum name );
97 void (*UpdateState)(struct gl_context *ctx);
102 void (*Finish)( struct gl_context *ctx );
107 void (*Flush)( struct gl_context *ctx );
114 void (*Clear)( struct gl_context *ctx, GLbitfield buffers );
119 void (*RasterPos)( struct gl_context *ctx, const GLfloat v[4] );
130 void (*DrawPixels)( struct gl_context *ctx,
139 void (*ReadPixels)( struct gl_context *ctx,
148 void (*CopyPixels)( struct gl_context *ctx, GLint srcx, GLint srcy,
[all …]
Dcontext.h110 _mesa_initialize_context( struct gl_context *ctx,
113 struct gl_context *share_list,
117 _mesa_free_context_data( struct gl_context *ctx );
120 _mesa_destroy_context( struct gl_context *ctx );
124 _mesa_copy_context(const struct gl_context *src, struct gl_context *dst, GLuint mask);
127 _mesa_make_current( struct gl_context *ctx, struct gl_framebuffer *drawBuffer,
131 _mesa_share_state(struct gl_context *ctx, struct gl_context *ctxToShare);
133 extern struct gl_context *
142 _mesa_notifySwapBuffers(struct gl_context *gc);
146 _mesa_get_dispatch(struct gl_context *ctx);
[all …]
Dapi_validate.h34 struct gl_context;
39 _mesa_valid_to_render(struct gl_context *ctx, const char *where);
42 _mesa_is_valid_prim_mode(const struct gl_context *ctx, GLenum mode);
45 _mesa_valid_prim_mode(struct gl_context *ctx, GLenum mode, const char *name);
49 _mesa_validate_DrawArrays(struct gl_context *ctx, GLenum mode, GLsizei count);
52 _mesa_validate_MultiDrawArrays(struct gl_context *ctx, GLenum mode,
56 _mesa_validate_DrawElements(struct gl_context *ctx,
61 _mesa_validate_MultiDrawElements(struct gl_context *ctx,
67 _mesa_validate_DrawRangeElements(struct gl_context *ctx, GLenum mode,
74 _mesa_validate_DrawArraysInstanced(struct gl_context *ctx, GLenum mode, GLint first,
[all …]
Dframebuffer.h32 struct gl_context;
39 _mesa_new_framebuffer(struct gl_context *ctx, GLuint name);
67 _mesa_resize_framebuffer(struct gl_context *ctx, struct gl_framebuffer *fb,
72 _mesa_resizebuffers( struct gl_context *ctx );
75 _mesa_intersect_scissor_bounding_box(const struct gl_context *ctx,
108 _mesa_update_draw_buffer_bounds(struct gl_context *ctx,
112 _mesa_update_framebuffer_visual(struct gl_context *ctx,
116 _mesa_update_framebuffer(struct gl_context *ctx,
121 _mesa_source_buffer_exists(struct gl_context *ctx, GLenum format);
124 _mesa_dest_buffer_exists(struct gl_context *ctx, GLenum format);
[all …]
Dmarshal.h51 _mesa_glthread_allocate_command(struct gl_context *ctx, in _mesa_glthread_allocate_command()
78 _mesa_glthread_is_non_vbo_vertex_attrib_pointer(const struct gl_context *ctx) in _mesa_glthread_is_non_vbo_vertex_attrib_pointer()
90 _mesa_glthread_is_non_vbo_draw_elements(const struct gl_context *ctx) in _mesa_glthread_is_non_vbo_draw_elements()
137 _mesa_create_marshal_table(const struct gl_context *ctx);
140 _mesa_unmarshal_dispatch_cmd(struct gl_context *ctx, const void *cmd);
143 _mesa_post_marshal_hook(struct gl_context *ctx) in _mesa_post_marshal_hook()
172 _mesa_glthread_is_compat_bind_vertex_array(const struct gl_context *ctx) in _mesa_glthread_is_compat_bind_vertex_array()
192 _mesa_unmarshal_Enable(struct gl_context *ctx,
203 _mesa_unmarshal_ShaderSource(struct gl_context *ctx,
210 _mesa_unmarshal_Flush(struct gl_context *ctx,
[all …]
Ddlist.h73 _mesa_delete_bitmap_atlas(struct gl_context *ctx,
102 _mesa_lookup_list(struct gl_context *ctx, GLuint list);
105 _mesa_compile_error(struct gl_context *ctx, GLenum error, const char *s);
108 _mesa_dlist_alloc(struct gl_context *ctx, GLuint opcode, GLuint sz);
111 _mesa_dlist_alloc_aligned(struct gl_context *ctx, GLuint opcode, GLuint bytes);
114 _mesa_dlist_alloc_opcode(struct gl_context *ctx, GLuint sz,
115 void (*execute)(struct gl_context *, void *),
116 void (*destroy)(struct gl_context *, void *),
117 void (*print)(struct gl_context *, void *, FILE *));
120 _mesa_delete_list(struct gl_context *ctx, struct gl_display_list *dlist);
[all …]
Dtexobj.h51 _mesa_lookup_texture(struct gl_context *ctx, GLuint id);
54 _mesa_lookup_texture_err(struct gl_context *ctx, GLuint id, const char* func);
57 _mesa_lookup_texture_locked(struct gl_context *ctx, GLuint id);
60 _mesa_get_current_tex_object(struct gl_context *ctx, GLenum target);
63 _mesa_new_texture_object( struct gl_context *ctx, GLuint name, GLenum target );
66 _mesa_initialize_texture_object( struct gl_context *ctx,
71 _mesa_tex_target_to_index(const struct gl_context *ctx, GLenum target);
74 _mesa_delete_texture_object( struct gl_context *ctx,
82 _mesa_clear_texture_object(struct gl_context *ctx,
102 _mesa_lock_texture(struct gl_context *ctx, struct gl_texture_object *texObj) in _mesa_lock_texture()
[all …]
Dtexstate.h41 _mesa_get_tex_unit(struct gl_context *ctx, GLuint unit) in _mesa_get_tex_unit()
52 _mesa_get_current_tex_unit(struct gl_context *ctx) in _mesa_get_current_tex_unit()
58 _mesa_max_tex_unit(struct gl_context *ctx) in _mesa_max_tex_unit()
67 _mesa_copy_texture_state( const struct gl_context *src, struct gl_context *dst );
70 _mesa_print_texunit_state( struct gl_context *ctx, GLuint unit );
97 _mesa_update_texture_matrices(struct gl_context *ctx);
100 _mesa_update_texture_state(struct gl_context *ctx);
103 _mesa_init_texture( struct gl_context *ctx );
106 _mesa_free_texture_data( struct gl_context *ctx );
109 _mesa_update_default_objects_texture(struct gl_context *ctx);
Dshaderobj.h45 _mesa_init_shader_state(struct gl_context * ctx);
48 _mesa_free_shader_state(struct gl_context *ctx);
52 _mesa_reference_shader(struct gl_context *ctx, struct gl_shader **ptr,
56 _mesa_lookup_shader(struct gl_context *ctx, GLuint name);
59 _mesa_lookup_shader_err(struct gl_context *ctx, GLuint name, const char *caller);
64 _mesa_reference_shader_program_(struct gl_context *ctx,
69 _mesa_reference_shader_program_data(struct gl_context *ctx,
74 _mesa_reference_shader_program(struct gl_context *ctx, in _mesa_reference_shader_program()
86 _mesa_delete_shader(struct gl_context *ctx, struct gl_shader *sh);
89 _mesa_delete_linked_shader(struct gl_context *ctx,
[all …]
Dshared.c48 free_shared_state(struct gl_context *ctx, struct gl_shared_state *shared);
60 _mesa_alloc_shared_state(struct gl_context *ctx) in _mesa_alloc_shared_state()
154 struct gl_context *ctx = (struct gl_context *) userData; in delete_displaylist_cb()
166 struct gl_context *ctx = (struct gl_context *) userData; in delete_bitmap_atlas_cb()
178 struct gl_context *ctx = (struct gl_context *) userData; in delete_texture_cb()
190 struct gl_context *ctx = (struct gl_context *) userData; in delete_program_cb()
207 struct gl_context *ctx = (struct gl_context *) userData; in delete_fragshader_cb()
219 struct gl_context *ctx = (struct gl_context *) userData; in delete_bufferobj_cb()
233 struct gl_context *ctx = (struct gl_context *) userData; in free_shader_program_data_cb()
249 struct gl_context *ctx = (struct gl_context *) userData; in delete_shader_cb()
[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,
149 _swrast_DrawPixels( struct gl_context *ctx,
157 _swrast_BlitFramebuffer(struct gl_context *ctx,
165 _swrast_Clear(struct gl_context *ctx, GLbitfield buffers);
172 _swrast_ResetLineStipple( struct gl_context *ctx );
[all …]
Ds_context.h54 typedef void (*texture_sample_func)(struct gl_context *ctx,
60 typedef void (*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,
256 void (*InvalidateState)( struct gl_context *ctx, GLbitfield new_state );
273 void (*choose_point)( struct gl_context * );
274 void (*choose_line)( struct gl_context * );
275 void (*choose_triangle)( struct gl_context * );
[all …]
/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.h240 GLboolean (*create)( struct gl_context *ctx, struct tnl_pipeline_stage * );
249 void (*validate)( struct gl_context *ctx, struct tnl_pipeline_stage * );
259 GLboolean (*run)( struct gl_context *ctx, struct tnl_pipeline_stage * );
289 typedef void (*tnl_emit_func)( struct gl_context *ctx,
316 typedef void (*tnl_points_func)( struct gl_context *ctx, GLuint first, GLuint last );
317 typedef void (*tnl_line_func)( struct gl_context *ctx, GLuint v1, GLuint v2 );
318 typedef void (*tnl_triangle_func)( struct gl_context *ctx,
320 typedef void (*tnl_quad_func)( struct gl_context *ctx, GLuint v1, GLuint v2,
322 typedef void (*tnl_render_func)( struct gl_context *ctx, GLuint start, GLuint count,
324 typedef void (*tnl_interp_func)( struct gl_context *ctx,
[all …]
/external/mesa3d/src/mesa/vbo/
Dvbo.h43 struct gl_context;
79 GLboolean _vbo_CreateContext( struct gl_context *ctx );
80 void _vbo_DestroyContext( struct gl_context *ctx );
84 vbo_initialize_exec_dispatch(const struct gl_context *ctx,
88 vbo_initialize_save_dispatch(const struct gl_context *ctx,
91 void vbo_exec_FlushVertices(struct gl_context *ctx, GLuint flags);
92 void vbo_save_SaveFlushVertices(struct gl_context *ctx);
93 void vbo_save_NotifyBegin(struct gl_context *ctx, GLenum mode);
94 void vbo_save_NewList(struct gl_context *ctx, GLuint list, GLenum mode);
95 void vbo_save_EndList(struct gl_context *ctx);
[all …]
/external/mesa3d/src/mesa/drivers/common/
Dmeta.h441 _mesa_meta_init(struct gl_context *ctx);
444 _mesa_meta_free(struct gl_context *ctx);
447 _mesa_meta_begin(struct gl_context *ctx, GLbitfield state);
450 _mesa_meta_end(struct gl_context *ctx);
453 _mesa_meta_in_progress(struct gl_context *ctx) in _mesa_meta_in_progress()
459 _mesa_meta_fb_tex_blit_begin(struct gl_context *ctx,
463 _mesa_meta_fb_tex_blit_end(struct gl_context *ctx, GLenum target,
467 _mesa_meta_texture_object_from_renderbuffer(struct gl_context *ctx,
471 _mesa_meta_setup_sampler(struct gl_context *ctx,
476 _mesa_meta_BlitFramebuffer(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 …]
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);
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);
[all …]
/external/mesa3d/src/mesa/drivers/dri/radeon/
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);
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);
[all …]
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);

12345678910>>...28