Home
last modified time | relevance | path

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

12345678910>>...15

/third_party/mesa3d/src/mesa/main/
Dcontext.h74 _mesa_initialize_context( struct gl_context *ctx,
78 struct gl_context *share_list,
85 _mesa_initialize_exec_table(struct gl_context *ctx);
88 _mesa_initialize_dispatch_tables(struct gl_context *ctx);
94 _mesa_free_context_data(struct gl_context *ctx, bool destroy_debug_output);
97 _mesa_copy_context(const struct gl_context *src, struct gl_context *dst, GLuint mask);
100 _mesa_make_current( struct gl_context *ctx, struct gl_framebuffer *drawBuffer,
104 _mesa_share_state(struct gl_context *ctx, struct gl_context *ctxToShare);
106 extern struct gl_context *
115 _mesa_get_dispatch(struct gl_context *ctx);
[all …]
Dglthread.h60 struct gl_context;
101 struct gl_context *ctx;
242 void _mesa_glthread_init(struct gl_context *ctx);
243 void _mesa_glthread_destroy(struct gl_context *ctx, const char *reason);
245 void _mesa_glthread_flush_batch(struct gl_context *ctx);
246 void _mesa_glthread_finish(struct gl_context *ctx);
247 void _mesa_glthread_finish_before(struct gl_context *ctx, const char *func);
248 void _mesa_glthread_upload(struct gl_context *ctx, const void *data,
253 void _mesa_error_glthread_safe(struct gl_context *ctx, GLenum error,
255 void _mesa_glthread_execute_list(struct gl_context *ctx, GLuint list);
[all …]
Dbufferobj.h40 _mesa_get_bufferobj_reference(struct gl_context *ctx, struct gl_buffer_object *obj) in _mesa_get_bufferobj_reference()
71 void _mesa_bufferobj_subdata(struct gl_context *ctx,
75 GLboolean _mesa_bufferobj_data(struct gl_context *ctx,
83 _mesa_bufferobj_get_subdata(struct gl_context *ctx,
88 void *_mesa_bufferobj_map_range(struct gl_context *ctx,
94 void _mesa_bufferobj_flush_mapped_range(struct gl_context *ctx,
98 GLboolean _mesa_bufferobj_unmap(struct gl_context *ctx, struct gl_buffer_object *obj,
102 _mesa_bufferobj_alloc(struct gl_context *ctx, GLuint id);
134 _mesa_init_buffer_objects(struct gl_context *ctx);
137 _mesa_free_buffer_objects(struct gl_context *ctx);
[all …]
Darrayobj.h39 struct gl_context;
54 _mesa_lookup_vao(struct gl_context *ctx, GLuint id);
57 _mesa_lookup_vao_err(struct gl_context *ctx, GLuint id,
61 _mesa_new_vao(struct gl_context *ctx, GLuint name);
64 _mesa_unbind_array_object_vbos(struct gl_context *ctx,
68 _mesa_delete_vao(struct gl_context *ctx, struct gl_vertex_array_object *obj);
71 _mesa_reference_vao_(struct gl_context *ctx,
76 _mesa_reference_vao(struct gl_context *ctx, in _mesa_reference_vao()
86 _mesa_initialize_vao(struct gl_context *ctx,
91 _mesa_update_vao_derived_arrays(struct gl_context *ctx,
[all …]
Dfbobject.h32 struct gl_context;
61 _mesa_lookup_renderbuffer(struct gl_context *ctx, GLuint id);
64 _mesa_lookup_renderbuffer_err(struct gl_context *ctx, GLuint id,
68 _mesa_lookup_framebuffer(struct gl_context *ctx, GLuint id);
71 _mesa_lookup_framebuffer_err(struct gl_context *ctx, GLuint id,
75 _mesa_lookup_framebuffer_dsa(struct gl_context *ctx, GLuint id,
80 _mesa_update_texture_renderbuffer(struct gl_context *ctx,
85 _mesa_framebuffer_renderbuffer(struct gl_context *ctx,
91 _mesa_renderbuffer_storage(struct gl_context *ctx, struct gl_renderbuffer *rb,
100 _mesa_test_framebuffer_completeness(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_tex_target_to_index(const struct gl_context *ctx, GLenum target);
74 _mesa_delete_texture_object( struct gl_context *ctx,
78 _mesa_clear_texture_object(struct gl_context *ctx,
98 _mesa_lock_texture(struct gl_context *ctx, struct gl_texture_object *texObj) in _mesa_lock_texture()
[all …]
Dframebuffer.h32 struct gl_context;
36 _mesa_new_framebuffer(struct gl_context *ctx, GLuint name);
64 _mesa_resize_framebuffer(struct gl_context *ctx, struct gl_framebuffer *fb,
69 _mesa_resizebuffers( struct gl_context *ctx );
72 _mesa_intersect_scissor_bounding_box(const struct gl_context *ctx,
132 _mesa_update_draw_buffer_bounds(struct gl_context *ctx,
136 _mesa_update_framebuffer_visual(struct gl_context *ctx,
140 _mesa_update_framebuffer(struct gl_context *ctx,
145 _mesa_source_buffer_exists(struct gl_context *ctx, GLenum format);
148 _mesa_dest_buffer_exists(struct gl_context *ctx, GLenum format);
[all …]
Dshared.c51 free_shared_state(struct gl_context *ctx, struct gl_shared_state *shared);
63 _mesa_alloc_shared_state(struct gl_context *ctx) in _mesa_alloc_shared_state()
156 struct gl_context *ctx = (struct gl_context *) userData; in delete_displaylist_cb()
168 struct gl_context *ctx = (struct gl_context *) userData; in delete_bitmap_atlas_cb()
180 struct gl_context *ctx = (struct gl_context *) userData; in delete_texture_cb()
192 struct gl_context *ctx = (struct gl_context *) userData; in delete_program_cb()
209 struct gl_context *ctx = (struct gl_context *) userData; in delete_fragshader_cb()
221 struct gl_context *ctx = (struct gl_context *) userData; in delete_bufferobj_cb()
235 struct gl_context *ctx = (struct gl_context *) userData; in free_shader_program_data_cb()
251 struct gl_context *ctx = (struct gl_context *) userData; in delete_shader_cb()
[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 );
95 _mesa_update_texture_matrices(struct gl_context *ctx);
98 _mesa_update_texture_state(struct gl_context *ctx);
101 _mesa_init_texture( struct gl_context *ctx );
104 _mesa_free_texture_data( struct gl_context *ctx );
[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,
78 _mesa_reference_shader_program(struct gl_context *ctx, in _mesa_reference_shader_program()
90 _mesa_delete_shader(struct gl_context *ctx, struct gl_shader *sh);
93 _mesa_delete_linked_shader(struct gl_context *ctx,
97 _mesa_lookup_shader_program(struct gl_context *ctx, GLuint name);
[all …]
Dteximage.h123 _mesa_delete_texture_image( struct gl_context *ctx,
128 _mesa_init_teximage_fields(struct gl_context *ctx,
134 _mesa_init_teximage_fields_ms(struct gl_context *ctx,
144 _mesa_choose_texture_format(struct gl_context *ctx,
150 _mesa_update_fbo_texture(struct gl_context *ctx,
155 _mesa_clear_texture_image(struct gl_context *ctx,
165 _mesa_get_tex_image(struct gl_context *ctx, struct gl_texture_object *texObj,
169 _mesa_get_texbuffer_format(const struct gl_context *ctx, GLenum internalFormat);
182 _mesa_max_texture_levels(const struct gl_context *ctx, GLenum target);
186 _mesa_test_proxy_teximage(struct gl_context *ctx, GLenum target,
[all …]
Dtransformfeedback.h37 struct gl_context;
40 _mesa_init_transform_feedback(struct gl_context *ctx);
43 _mesa_free_transform_feedback(struct gl_context *ctx);
46 _mesa_compute_max_transform_feedback_vertices( struct gl_context *ctx,
54 _mesa_validate_buffer_range_xfb(struct gl_context *ctx,
60 _mesa_bind_buffer_base_transform_feedback(struct gl_context *ctx,
72 _mesa_delete_transform_feedback_object(struct gl_context *ctx,
77 _mesa_lookup_transform_feedback_object(struct gl_context *ctx, GLuint name);
80 _mesa_is_xfb_active_and_unpaused(const struct gl_context *ctx) in _mesa_is_xfb_active_and_unpaused()
87 _mesa_transform_feedback_is_using_program(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);
55 _mesa_reset_vertex_processing_mode(struct gl_context *ctx);
59 _mesa_ati_fragment_shader_enabled(const struct gl_context *ctx) in _mesa_ati_fragment_shader_enabled()
69 _mesa_need_secondary_color(const struct gl_context *ctx) in _mesa_need_secondary_color()
95 _mesa_arb_vertex_program_enabled(const struct gl_context *ctx) in _mesa_arb_vertex_program_enabled()
103 _mesa_vertex_program_two_side_enabled(const struct gl_context *ctx) in _mesa_vertex_program_two_side_enabled()
[all …]
Dvarray.h69 _mesa_attr_zero_aliases_vertex(const struct gl_context *ctx) in _mesa_attr_zero_aliases_vertex()
76 _mesa_update_array_format(struct gl_context *ctx,
84 _mesa_enable_vertex_array_attribs(struct gl_context *ctx,
89 _mesa_enable_vertex_array_attrib(struct gl_context *ctx, in _mesa_enable_vertex_array_attrib()
99 _mesa_disable_vertex_array_attribs(struct gl_context *ctx,
104 _mesa_disable_vertex_array_attrib(struct gl_context *ctx, in _mesa_disable_vertex_array_attrib()
114 _mesa_vertex_attrib_binding(struct gl_context *ctx,
121 _mesa_bind_vertex_buffer(struct gl_context *ctx,
149 _mesa_primitive_restart_index(const struct gl_context *ctx, in _mesa_primitive_restart_index()
157 _mesa_InternalBindVertexBuffers(struct gl_context *ctx,
[all …]
Dpbo.h33 struct gl_context;
44 _mesa_map_pbo_source(struct gl_context *ctx,
49 _mesa_map_validate_pbo_source(struct gl_context *ctx,
57 _mesa_unmap_pbo_source(struct gl_context *ctx,
61 _mesa_map_pbo_dest(struct gl_context *ctx,
66 _mesa_map_validate_pbo_dest(struct gl_context *ctx,
74 _mesa_unmap_pbo_dest(struct gl_context *ctx,
79 _mesa_validate_pbo_teximage(struct gl_context *ctx, GLuint dimensions,
86 _mesa_validate_pbo_compressed_teximage(struct gl_context *ctx,
93 _mesa_unmap_teximage_pbo(struct gl_context *ctx,
[all …]
Ddd.h49 struct gl_context;
123 struct gl_program * (*NewProgram)(struct gl_context *ctx,
166 void (*DrawGallium)(struct gl_context *ctx,
181 void (*DrawGalliumMultiMode)(struct gl_context *ctx,
187 void (*DrawGalliumVertexState)(struct gl_context *ctx,
197 (*CreateGalliumVertexState)(struct gl_context *ctx,
246 GLenum (*GetGraphicsResetStatus)(struct gl_context *ctx);
255 void (*ProgramBinarySerializeDriverBlob)(struct gl_context *ctx,
259 void (*ProgramBinaryDeserializeDriverBlob)(struct gl_context *ctx,
275 void (*ShaderCacheSerializeDriverBlob)(struct gl_context *ctx,
[all …]
Ddlist.h37 struct gl_context;
107 _mesa_delete_bitmap_atlas(struct gl_context *ctx,
111 _mesa_lookup_list(struct gl_context *ctx, GLuint list, bool locked);
114 _mesa_compile_error(struct gl_context *ctx, GLenum error, const char *s);
117 _mesa_dlist_alloc_vertex_list(struct gl_context *ctx,
121 _mesa_delete_list(struct gl_context *ctx, struct gl_display_list *dlist);
124 _mesa_initialize_save_table(const struct gl_context *);
127 _mesa_init_display_list(struct gl_context * ctx);
130 _mesa_install_save_vtxfmt(struct gl_context *ctx);
133 _mesa_get_list(struct gl_context *ctx, GLuint list,
Dpipelineobj.h36 struct gl_context;
40 _mesa_delete_pipeline_object(struct gl_context *ctx, struct gl_pipeline_object *obj);
43 _mesa_init_pipeline(struct gl_context *ctx);
46 _mesa_free_pipeline_data(struct gl_context *ctx);
49 _mesa_lookup_pipeline_object(struct gl_context *ctx, GLuint id);
52 _mesa_reference_pipeline_object_(struct gl_context *ctx,
57 _mesa_reference_pipeline_object(struct gl_context *ctx, in _mesa_reference_pipeline_object()
66 _mesa_bind_pipeline(struct gl_context *ctx,
70 _mesa_validate_program_pipeline(struct gl_context * ctx,
Dblend.h43 struct gl_context;
47 _mesa_get_clamp_fragment_color(const struct gl_context *ctx,
51 _mesa_get_clamp_vertex_color(const struct gl_context *ctx,
55 _mesa_get_clamp_read_color(const struct gl_context *ctx,
59 _mesa_update_clamp_fragment_color(struct gl_context *ctx,
63 _mesa_update_clamp_vertex_color(struct gl_context *ctx,
67 _mesa_init_color( struct gl_context * ctx );
78 _mesa_advanded_blend_sh_constant_changed(struct gl_context *ctx, in _mesa_advanded_blend_sh_constant_changed()
88 _mesa_flush_vertices_for_blend_state(struct gl_context *ctx) in _mesa_flush_vertices_for_blend_state()
95 _mesa_flush_vertices_for_blend_adv(struct gl_context *ctx, in _mesa_flush_vertices_for_blend_adv()
Dlight.h34 struct gl_context;
38 extern GLuint _mesa_material_bitmask( struct gl_context *ctx,
43 extern GLbitfield _mesa_update_lighting( struct gl_context *ctx );
44 extern void _mesa_update_light_materials(struct gl_context *ctx);
45 extern bool _mesa_update_tnl_spaces( struct gl_context *ctx, GLuint new_state );
47 extern void _mesa_update_material( struct gl_context *ctx,
50 extern void _mesa_update_color_material( struct gl_context *ctx,
53 extern void _mesa_init_lighting( struct gl_context *ctx );
Dglthread_marshal.h51 typedef uint32_t (*_mesa_unmarshal_func)(struct gl_context *ctx, const void *cmd, const uint64_t *l…
55 _mesa_glthread_allocate_command(struct gl_context *ctx, in _mesa_glthread_allocate_command()
77 _mesa_glthread_has_no_pack_buffer(const struct gl_context *ctx) in _mesa_glthread_has_no_pack_buffer()
83 _mesa_glthread_has_no_unpack_buffer(const struct gl_context *ctx) in _mesa_glthread_has_no_unpack_buffer()
93 _mesa_glthread_has_non_vbo_vertices_or_indices(const struct gl_context *ctx) in _mesa_glthread_has_non_vbo_vertices_or_indices()
104 _mesa_glthread_has_non_vbo_vertices(const struct gl_context *ctx) in _mesa_glthread_has_non_vbo_vertices()
114 _mesa_glthread_has_non_vbo_vertices_or_indirect(const struct gl_context *ctx) in _mesa_glthread_has_non_vbo_vertices_or_indirect()
125 _mesa_glthread_has_non_vbo_vertices_or_indices_or_indirect(const struct gl_context *ctx) in _mesa_glthread_has_non_vbo_vertices_or_indices_or_indirect()
138 _mesa_create_marshal_tables(struct gl_context *ctx);
393 _mesa_array_to_attrib(struct gl_context *ctx, GLenum array) in _mesa_array_to_attrib()
[all …]
/third_party/mesa3d/src/mesa/state_tracker/
Dst_cb_texture.h36 struct gl_context;
53 st_finalize_texture(struct gl_context *ctx,
58 void st_FreeTextureImageBuffer(struct gl_context *ctx,
60 void st_MapTextureImage(struct gl_context *ctx,
65 void st_UnmapTextureImage(struct gl_context *ctx,
68 GLboolean st_AllocTextureImageBuffer(struct gl_context *ctx,
70 void st_TexSubImage(struct gl_context *ctx, GLuint dims,
76 void st_TexImage(struct gl_context * ctx, GLuint dims,
80 void st_CompressedTexSubImage(struct gl_context *ctx, GLuint dims,
85 void st_CompressedTexImage(struct gl_context *ctx, GLuint dims,
[all …]
/third_party/mesa3d/src/mesa/vbo/
Dvbo.h46 struct gl_context;
185 _vbo_CreateContext(struct gl_context *ctx);
188 _vbo_DestroyContext(struct gl_context *ctx);
191 vbo_install_exec_vtxfmt(struct gl_context *ctx);
194 vbo_install_hw_select_begin_end(struct gl_context *ctx);
197 vbo_install_exec_vtxfmt_noop(struct gl_context *ctx);
200 vbo_install_save_vtxfmt_noop(struct gl_context *ctx);
203 vbo_exec_update_eval_maps(struct gl_context *ctx);
206 vbo_exec_FlushVertices(struct gl_context *ctx, GLuint flags);
209 vbo_save_SaveFlushVertices(struct gl_context *ctx);
[all …]
/third_party/mesa3d/src/compiler/glsl/
Dstandalone_scaffolding.h38 _mesa_warning(struct gl_context *ctx, const char *fmtString, ... );
41 _mesa_problem(struct gl_context *ctx, const char *fmtString, ... );
44 _mesa_reference_shader_program_data(struct gl_context *ctx,
49 _mesa_reference_shader(struct gl_context *ctx, struct gl_shader **ptr,
53 _mesa_reference_program_(struct gl_context *ctx, struct gl_program **ptr,
60 _mesa_delete_shader(struct gl_context *ctx, struct gl_shader *sh);
63 _mesa_delete_linked_shader(struct gl_context *ctx,
67 _mesa_clear_shader_program_data(struct gl_context *ctx,
71 _mesa_shader_debug(struct gl_context *ctx, GLenum type, GLuint *id,
111 void initialize_context_to_defaults(struct gl_context *ctx, gl_api api);
/third_party/mesa3d/src/mesa/program/
Dprogram.h54 _mesa_init_program(struct gl_context *ctx);
57 _mesa_free_program_data(struct gl_context *ctx);
60 _mesa_update_default_objects_program(struct gl_context *ctx);
63 _mesa_set_program_error(struct gl_context *ctx, GLint pos, const char *string);
70 _mesa_new_program(struct gl_context *ctx, gl_shader_stage stage, GLuint id,
74 _mesa_delete_program(struct gl_context *ctx, struct gl_program *prog);
77 _mesa_lookup_program(struct gl_context *ctx, GLuint id);
80 _mesa_reference_program_(struct gl_context *ctx,
85 _mesa_reference_program(struct gl_context *ctx, in _mesa_reference_program()
94 _mesa_get_min_invocations_per_fragment(struct gl_context *ctx,

12345678910>>...15