Home
last modified time | relevance | path

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

12345678910>>...30

/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/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.h55 typedef void (*texture_sample_func)(struct gl_context *ctx,
61 typedef void (*swrast_blend_func)(struct gl_context *ctx, GLuint n,
66 typedef void (*swrast_point_func)( struct gl_context *ctx, const SWvertex *);
68 typedef void (*swrast_line_func)( struct gl_context *ctx,
71 typedef void (*swrast_tri_func)( struct gl_context *ctx, const SWvertex *,
75 typedef void (*validate_texture_image_func)(struct gl_context *ctx,
257 void (*InvalidateState)( struct gl_context *ctx, GLbitfield new_state );
274 void (*choose_point)( struct gl_context * );
275 void (*choose_line)( struct gl_context * );
276 void (*choose_triangle)( struct gl_context * );
[all …]
/external/mesa3d/src/mesa/main/
Dglthread.h56 struct gl_context;
97 struct gl_context *ctx;
183 void _mesa_glthread_init(struct gl_context *ctx);
184 void _mesa_glthread_destroy(struct gl_context *ctx);
186 void _mesa_glthread_restore_dispatch(struct gl_context *ctx, const char *func);
187 void _mesa_glthread_disable(struct gl_context *ctx, const char *func);
188 void _mesa_glthread_flush_batch(struct gl_context *ctx);
189 void _mesa_glthread_finish(struct gl_context *ctx);
190 void _mesa_glthread_finish_before(struct gl_context *ctx, const char *func);
191 void _mesa_glthread_upload(struct gl_context *ctx, const void *data,
[all …]
Dcontext.h114 _mesa_initialize_context( struct gl_context *ctx,
117 struct gl_context *share_list,
121 _mesa_free_context_data(struct gl_context *ctx, bool destroy_debug_output);
124 _mesa_destroy_context( struct gl_context *ctx );
128 _mesa_copy_context(const struct gl_context *src, struct gl_context *dst, GLuint mask);
131 _mesa_make_current( struct gl_context *ctx, struct gl_framebuffer *drawBuffer,
135 _mesa_share_state(struct gl_context *ctx, struct gl_context *ctxToShare);
137 extern struct gl_context *
146 _mesa_notifySwapBuffers(struct gl_context *gc);
150 _mesa_get_dispatch(struct gl_context *ctx);
[all …]
Ddd.h41 struct gl_context;
97 const GLubyte * (*GetString)( struct gl_context *ctx, GLenum name );
105 void (*UpdateState)(struct gl_context *ctx);
110 void (*Finish)( struct gl_context *ctx );
115 void (*Flush)( struct gl_context *ctx );
122 void (*Clear)( struct gl_context *ctx, GLbitfield buffers );
127 void (*RasterPos)( struct gl_context *ctx, const GLfloat v[4] );
138 void (*DrawPixels)( struct gl_context *ctx,
147 void (*ReadPixels)( struct gl_context *ctx,
156 void (*CopyPixels)( struct gl_context *ctx, GLint srcx, GLint srcy,
[all …]
Ddraw_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);
48 _mesa_valid_draw_indirect_multi(struct gl_context *ctx, GLsizei primcount,
52 _mesa_validate_DrawArrays(struct gl_context *ctx, GLenum mode, GLsizei count);
55 _mesa_validate_MultiDrawArrays(struct gl_context *ctx, GLenum mode,
59 _mesa_validate_DrawElements(struct gl_context *ctx,
64 _mesa_validate_MultiDrawElements(struct gl_context *ctx,
70 _mesa_validate_DrawRangeElements(struct gl_context *ctx, GLenum mode,
[all …]
Darrayobj.h35 struct gl_context;
50 _mesa_lookup_vao(struct gl_context *ctx, GLuint id);
53 _mesa_lookup_vao_err(struct gl_context *ctx, GLuint id,
57 _mesa_new_vao(struct gl_context *ctx, GLuint name);
60 _mesa_unbind_array_object_vbos(struct gl_context *ctx,
64 _mesa_delete_vao(struct gl_context *ctx, struct gl_vertex_array_object *obj);
67 _mesa_reference_vao_(struct gl_context *ctx,
72 _mesa_reference_vao(struct gl_context *ctx, in _mesa_reference_vao()
82 _mesa_initialize_vao(struct gl_context *ctx,
87 _mesa_update_vao_derived_arrays(struct gl_context *ctx,
[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 …]
Ddlist.h37 struct gl_context;
74 _mesa_delete_bitmap_atlas(struct gl_context *ctx,
103 _mesa_lookup_list(struct gl_context *ctx, GLuint list);
106 _mesa_compile_error(struct gl_context *ctx, GLenum error, const char *s);
109 _mesa_dlist_alloc(struct gl_context *ctx, GLuint opcode, GLuint sz);
112 _mesa_dlist_alloc_aligned(struct gl_context *ctx, GLuint opcode, GLuint bytes);
115 _mesa_dlist_alloc_opcode(struct gl_context *ctx, GLuint sz,
116 void (*execute)(struct gl_context *, void *),
117 void (*destroy)(struct gl_context *, void *),
118 void (*print)(struct gl_context *, void *, FILE *));
[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()
64 _mesa_get_fixedfunc_tex_unit(struct gl_context *ctx, GLuint unit) in _mesa_get_fixedfunc_tex_unit()
74 _mesa_max_tex_unit(struct gl_context *ctx) in _mesa_max_tex_unit()
83 _mesa_copy_texture_state( const struct gl_context *src, struct gl_context *dst );
86 _mesa_print_texunit_state( struct gl_context *ctx, GLuint unit );
113 _mesa_update_texture_matrices(struct gl_context *ctx);
116 _mesa_update_texture_state(struct gl_context *ctx);
119 _mesa_init_texture( struct gl_context *ctx );
122 _mesa_free_texture_data( struct gl_context *ctx );
[all …]
Dtexobj.h50 _mesa_lookup_texture(struct gl_context *ctx, GLuint id);
53 _mesa_lookup_texture_err(struct gl_context *ctx, GLuint id, const char* func);
56 _mesa_lookup_texture_locked(struct gl_context *ctx, GLuint id);
59 _mesa_get_current_tex_object(struct gl_context *ctx, GLenum target);
62 _mesa_get_texobj_by_target_and_texunit(struct gl_context *ctx, GLenum target,
68 _mesa_new_texture_object( struct gl_context *ctx, GLuint name, GLenum target );
71 _mesa_initialize_texture_object( struct gl_context *ctx,
76 _mesa_tex_target_to_index(const struct gl_context *ctx, GLenum target);
79 _mesa_delete_texture_object( struct gl_context *ctx,
87 _mesa_clear_texture_object(struct gl_context *ctx,
[all …]
Dshared.c49 free_shared_state(struct gl_context *ctx, struct gl_shared_state *shared);
61 _mesa_alloc_shared_state(struct gl_context *ctx) in _mesa_alloc_shared_state()
152 struct gl_context *ctx = (struct gl_context *) userData; in delete_displaylist_cb()
164 struct gl_context *ctx = (struct gl_context *) userData; in delete_bitmap_atlas_cb()
176 struct gl_context *ctx = (struct gl_context *) userData; in delete_texture_cb()
188 struct gl_context *ctx = (struct gl_context *) userData; in delete_program_cb()
205 struct gl_context *ctx = (struct gl_context *) userData; in delete_fragshader_cb()
217 struct gl_context *ctx = (struct gl_context *) userData; in delete_bufferobj_cb()
231 struct gl_context *ctx = (struct gl_context *) userData; in free_shader_program_data_cb()
247 struct gl_context *ctx = (struct gl_context *) userData; in delete_shader_cb()
[all …]
Dshaderobj.h50 _mesa_init_shader_state(struct gl_context * ctx);
53 _mesa_free_shader_state(struct gl_context *ctx);
57 _mesa_reference_shader(struct gl_context *ctx, struct gl_shader **ptr,
61 _mesa_lookup_shader(struct gl_context *ctx, GLuint name);
64 _mesa_lookup_shader_err(struct gl_context *ctx, GLuint name, const char *caller);
69 _mesa_reference_shader_program_(struct gl_context *ctx,
74 _mesa_reference_shader_program_data(struct gl_context *ctx,
79 _mesa_reference_shader_program(struct gl_context *ctx, in _mesa_reference_shader_program()
91 _mesa_delete_shader(struct gl_context *ctx, struct gl_shader *sh);
94 _mesa_delete_linked_shader(struct gl_context *ctx,
[all …]
Dstate.h32 _mesa_update_allow_draw_out_of_order(struct gl_context *ctx);
35 _mesa_update_state(struct gl_context *ctx);
41 _mesa_update_state_locked(struct gl_context *ctx);
45 _mesa_set_vp_override(struct gl_context *ctx, GLboolean flag);
52 _mesa_update_vertex_processing_mode(struct gl_context *ctx);
59 _mesa_set_draw_vao(struct gl_context *ctx, struct gl_vertex_array_object *vao,
64 _mesa_ati_fragment_shader_enabled(const struct gl_context *ctx) in _mesa_ati_fragment_shader_enabled()
74 _mesa_need_secondary_color(const struct gl_context *ctx) in _mesa_need_secondary_color()
100 _mesa_arb_vertex_program_enabled(const struct gl_context *ctx) in _mesa_arb_vertex_program_enabled()
108 _mesa_vertex_program_two_side_enabled(const struct gl_context *ctx) in _mesa_vertex_program_two_side_enabled()
[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.h33 struct gl_context;
45 _tnl_CreateContext( struct gl_context *ctx );
48 _tnl_DestroyContext( struct gl_context *ctx );
51 _tnl_InvalidateState( struct gl_context *ctx, GLuint new_state );
61 _tnl_wakeup( struct gl_context *ctx );
66 _tnl_need_projected_coords( struct gl_context *ctx, GLboolean flag );
84 _tnl_bind_inputs( struct gl_context *ctx );
90 _tnl_allow_vertex_fog( struct gl_context *ctx, GLboolean value );
93 _tnl_allow_pixel_fog( struct gl_context *ctx, GLboolean value );
96 _tnl_program_string(struct gl_context *ctx, GLenum target, struct gl_program *program);
[all …]
Dt_context.h242 GLboolean (*create)( struct gl_context *ctx, struct tnl_pipeline_stage * );
251 void (*validate)( struct gl_context *ctx, struct tnl_pipeline_stage * );
261 GLboolean (*run)( struct gl_context *ctx, struct tnl_pipeline_stage * );
291 typedef void (*tnl_emit_func)( struct gl_context *ctx,
318 typedef void (*tnl_points_func)( struct gl_context *ctx, GLuint first, GLuint last );
319 typedef void (*tnl_line_func)( struct gl_context *ctx, GLuint v1, GLuint v2 );
320 typedef void (*tnl_triangle_func)( struct gl_context *ctx,
322 typedef void (*tnl_quad_func)( struct gl_context *ctx, GLuint v1, GLuint v2,
324 typedef void (*tnl_render_func)( struct gl_context *ctx, GLuint start, GLuint count,
326 typedef void (*tnl_interp_func)( struct gl_context *ctx,
[all …]
/external/mesa3d/src/mesa/drivers/common/
Dmeta.h380 _mesa_meta_init(struct gl_context *ctx);
383 _mesa_meta_free(struct gl_context *ctx);
386 _mesa_meta_begin(struct gl_context *ctx, GLbitfield state);
389 _mesa_meta_end(struct gl_context *ctx);
392 _mesa_meta_in_progress(struct gl_context *ctx) in _mesa_meta_in_progress()
398 _mesa_meta_fb_tex_blit_begin(struct gl_context *ctx,
402 _mesa_meta_fb_tex_blit_end(struct gl_context *ctx, GLenum target,
406 _mesa_meta_BlitFramebuffer(struct gl_context *ctx,
414 _mesa_meta_and_swrast_BlitFramebuffer(struct gl_context *ctx,
424 _mesa_meta_Clear(struct gl_context *ctx, GLbitfield buffers);
[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 …]
/external/mesa3d/src/mesa/vbo/
Dvbo.h45 struct gl_context;
84 struct gl_context *ctx;
137 struct gl_context *ctx;
177 _vbo_CreateContext(struct gl_context *ctx, bool use_buffer_objects);
180 _vbo_DestroyContext(struct gl_context *ctx);
183 vbo_exec_update_eval_maps(struct gl_context *ctx);
186 _vbo_install_exec_vtxfmt(struct gl_context *ctx);
189 vbo_initialize_exec_dispatch(const struct gl_context *ctx,
193 vbo_initialize_save_dispatch(const struct gl_context *ctx,
197 vbo_exec_FlushVertices(struct gl_context *ctx, GLuint flags);
[all …]
/external/mesa3d/src/compiler/glsl/
Dgl_nir_linker.h31 struct gl_context;
43 bool gl_nir_link_spirv(struct gl_context *ctx,
47 bool gl_nir_link_glsl(struct gl_context *ctx, struct gl_shader_program *prog);
49 bool gl_nir_link_uniforms(struct gl_context *ctx,
53 void gl_nir_set_uniform_initializers(struct gl_context *ctx,
56 void nir_build_program_resource_list(struct gl_context *ctx,
60 void gl_nir_link_assign_atomic_counter_resources(struct gl_context *ctx,
63 void gl_nir_link_check_atomic_counter_resources(struct gl_context *ctx,
66 void gl_nir_link_assign_xfb_resources(struct gl_context *ctx,
69 bool gl_nir_link_uniform_blocks(struct gl_context *ctx,

12345678910>>...30