| /xsrc/external/mit/MesaLib/dist/src/mesa/main/ |
| H A D | glthread.c | 24 /** @file glthread.c 26 * Support functions for the glthread feature of Mesa. 36 #include "main/glthread.h" 94 struct glthread_state *glthread = &ctx->GLThread; local in function:_mesa_glthread_init 96 assert(!glthread->enabled); 98 if (!util_queue_init(&glthread->queue, "gl", MARSHAL_MAX_BATCHES - 2, 103 glthread->VAOs = _mesa_NewHashTable(); 104 if (!glthread->VAOs) { 105 util_queue_destroy(&glthread->queue); 109 _mesa_glthread_reset_vao(&glthread 162 struct glthread_state *glthread = &ctx->GLThread; local in function:_mesa_glthread_destroy 209 struct glthread_state *glthread = &ctx->GLThread; local in function:_mesa_glthread_flush_batch 269 struct glthread_state *glthread = &ctx->GLThread; local in function:_mesa_glthread_finish 322 _mesa_error_glthread_safe(struct gl_context * ctx,GLenum error,bool glthread,const char * format,...) argument [all...] |
| H A D | glthread_varray.c | 24 /* This implements vertex array state tracking for glthread. It's separate 26 * to serve glthread. 29 #include "main/glthread.h" 74 struct glthread_state *glthread = &ctx->GLThread; local in function:lookup_vao 79 if (glthread->LastLookedUpVAO && 80 glthread->LastLookedUpVAO->Name == id) { 81 vao = glthread->LastLookedUpVAO; 83 vao = _mesa_HashLookupLocked(glthread->VAOs, id); 87 glthread->LastLookedUpVAO = vao; 96 struct glthread_state *glthread local in function:_mesa_glthread_BindVertexArray 112 struct glthread_state *glthread = &ctx->GLThread; local in function:_mesa_glthread_DeleteVertexArrays 146 struct glthread_state *glthread = &ctx->GLThread; local in function:_mesa_glthread_GenVertexArrays 179 struct glthread_state *glthread = &ctx->GLThread; local in function:update_primitive_restart 299 set_attrib_binding(struct glthread_state * glthread,struct glthread_vao * vao,gl_vert_attrib attrib,unsigned new_binding_index) argument 345 attrib_pointer(struct glthread_state * glthread,struct glthread_vao * vao,GLuint buffer,gl_vert_attrib attrib,GLint size,GLenum type,GLsizei stride,const void * pointer) argument 373 struct glthread_state *glthread = &ctx->GLThread; local in function:_mesa_glthread_AttribPointer 386 struct glthread_state *glthread = &ctx->GLThread; local in function:_mesa_glthread_DSAAttribPointer 398 attrib_format(struct glthread_state * glthread,struct glthread_vao * vao,GLuint attribindex,GLint size,GLenum type,GLuint relativeoffset) argument 416 struct glthread_state *glthread = &ctx->GLThread; local in function:_mesa_glthread_AttribFormat 427 struct glthread_state *glthread = &ctx->GLThread; local in function:_mesa_glthread_DSAAttribFormat 435 bind_vertex_buffer(struct glthread_state * glthread,struct glthread_vao * vao,GLuint bindingindex,GLuint buffer,GLintptr offset,GLsizei stride) argument 456 struct glthread_state *glthread = &ctx->GLThread; local in function:_mesa_glthread_VertexBuffer 467 struct glthread_state *glthread = &ctx->GLThread; local in function:_mesa_glthread_DSAVertexBuffer 481 struct glthread_state *glthread = &ctx->GLThread; local in function:_mesa_glthread_DSAVertexBuffers 495 binding_divisor(struct glthread_state * glthread,struct glthread_vao * vao,GLuint bindingindex,GLuint divisor) argument 514 struct glthread_state *glthread = &ctx->GLThread; local in function:_mesa_glthread_BindingDivisor 523 struct glthread_state *glthread = &ctx->GLThread; local in function:_mesa_glthread_DSABindingDivisor 534 struct glthread_state *glthread = &ctx->GLThread; local in function:_mesa_glthread_AttribBinding 549 struct glthread_state *glthread = &ctx->GLThread; local in function:_mesa_glthread_DSAAttribBinding 577 struct glthread_state *glthread = &ctx->GLThread; local in function:_mesa_glthread_PushClientAttrib 606 struct glthread_state *glthread = &ctx->GLThread; local in function:_mesa_glthread_PopClientAttrib 645 struct glthread_state *glthread = &ctx->GLThread; local in function:_mesa_glthread_ClientAttribDefault [all...] |
| H A D | glthread_bufferobj.c | 70 struct glthread_state *glthread = &ctx->GLThread; local in function:_mesa_glthread_upload 77 unsigned offset = align(glthread->upload_offset, 8); 80 if (unlikely(!glthread->upload_buffer || offset + size > default_size)) { 100 if (glthread->upload_buffer_private_refcount > 0) { 101 p_atomic_add(&glthread->upload_buffer->RefCount, 102 -glthread->upload_buffer_private_refcount); 103 glthread->upload_buffer_private_refcount = 0; 105 _mesa_reference_buffer_object(ctx, &glthread->upload_buffer, NULL); 106 glthread->upload_buffer = 107 new_upload_buffer(ctx, default_size, &glthread 176 struct glthread_state *glthread = &ctx->GLThread; local in function:_mesa_glthread_BindBuffer 205 struct glthread_state *glthread = &ctx->GLThread; local in function:_mesa_glthread_DeleteBuffers [all...] |
| H A D | glthread_marshal.h | 33 #include "main/glthread.h" 59 struct glthread_state *glthread = &ctx->GLThread; local in function:_mesa_glthread_allocate_command 62 if (unlikely(glthread->used + num_elements > MARSHAL_MAX_CMD_SIZE / 8)) 65 struct glthread_batch *next = glthread->next_batch; 67 (struct marshal_cmd_base *)&next->buffer[glthread->used]; 68 glthread->used += num_elements; 93 const struct glthread_state *glthread = &ctx->GLThread; local in function:_mesa_glthread_has_non_vbo_vertices_or_indices 94 struct glthread_vao *vao = glthread->CurrentVAO; 104 const struct glthread_state *glthread = &ctx->GLThread; local in function:_mesa_glthread_has_non_vbo_vertices 105 const struct glthread_vao *vao = glthread 114 const struct glthread_state *glthread = &ctx->GLThread; local in function:_mesa_glthread_has_non_vbo_vertices_or_indirect 125 const struct glthread_state *glthread = &ctx->GLThread; local in function:_mesa_glthread_has_non_vbo_vertices_or_indices_or_indirect [all...] |
| H A D | glthread_shaderobj.c | 123 struct glthread_state *glthread = &ctx->GLThread; local in function:_mesa_glthread_ProgramChanged 126 p_atomic_set(&glthread->LastProgramChangeBatch, glthread->next);
|
| H A D | shaderobj.c | 461 bool glthread, const char *caller) 464 _mesa_error_glthread_safe(ctx, GL_INVALID_VALUE, glthread, "%s", caller); 471 _mesa_error_glthread_safe(ctx, GL_INVALID_VALUE, glthread, 476 _mesa_error_glthread_safe(ctx, GL_INVALID_OPERATION, glthread, 460 _mesa_lookup_shader_program_err_glthread(struct gl_context * ctx,GLuint name,bool glthread,const char * caller) argument
|
| H A D | shaderobj.h | 102 bool glthread, const char *caller);
|
| H A D | shader_query.cpp | 987 GLchar *name, bool glthread, 1001 _mesa_error_glthread_safe(ctx, GL_INVALID_VALUE, glthread, 1007 _mesa_error_glthread_safe(ctx, GL_INVALID_VALUE, glthread, 1211 GLint *val, bool glthread, const char *caller) 1358 _mesa_error_glthread_safe(ctx, GL_INVALID_OPERATION, glthread, 1369 const GLenum prop, GLint *val, bool glthread, 1478 return get_buffer_property(shProg, res, prop, val, glthread, caller); 1615 _mesa_error_glthread_safe(ctx, GL_INVALID_ENUM, glthread, 1622 _mesa_error_glthread_safe(ctx, GL_INVALID_OPERATION, glthread, 984 _mesa_get_program_resource_name(struct gl_shader_program * shProg,GLenum programInterface,GLuint index,GLsizei bufSize,GLsizei * length,GLchar * name,bool glthread,const char * caller) argument 1209 get_buffer_property(struct gl_shader_program * shProg,struct gl_program_resource * res,const GLenum prop,GLint * val,bool glthread,const char * caller) argument 1367 _mesa_program_resource_prop(struct gl_shader_program * shProg,struct gl_program_resource * res,GLuint index,const GLenum prop,GLint * val,bool glthread,const char * caller) argument
|
| H A D | shaderapi.h | 310 GLchar *name, bool glthread, 327 const GLenum prop, GLint *val, bool glthread,
|
| H A D | glthread.h | 105 * This is 0 when it's being filled because glthread::used holds the real 106 * value temporarily, and glthread::used is copied to this variable when 196 /** Vertex Array objects tracked by glthread independently of Mesa. */ 246 bool glthread, const char *format, ...);
|
| H A D | uniform_query.cpp | 47 * - glthread=true for GL errors to be passed to the driver thread safely 55 GLenum *type, GLcharARB *nameOut, bool glthread) 62 _mesa_error_glthread_safe(ctx, GL_INVALID_VALUE, glthread, 67 shProg = _mesa_lookup_shader_program_err_glthread(ctx, program, glthread, 76 _mesa_error_glthread_safe(ctx, GL_INVALID_VALUE, glthread, 83 length, nameOut, glthread, 88 glthread, "glGetActiveUniform"); 92 glthread, "glGetActiveUniform"); 53 _mesa_GetActiveUniform_impl(GLuint program,GLuint index,GLsizei maxLength,GLsizei * length,GLint * size,GLenum * type,GLcharARB * nameOut,bool glthread) argument
|
| H A D | uniforms.h | 226 _mesa_GetUniformLocation_impl(GLuint, const GLcharARB *, bool glthread); 279 bool glthread);
|
| H A D | uniforms.c | 1001 bool glthread) 1007 shProg = _mesa_lookup_shader_program_err_glthread(ctx, programObj, glthread, 1018 _mesa_error_glthread_safe(ctx, GL_INVALID_OPERATION, glthread, 1000 _mesa_GetUniformLocation_impl(GLuint programObj,const GLcharARB * name,bool glthread) argument
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/ |
| H A D | glthread.c | 24 /** @file glthread.c 26 * Support functions for the glthread feature of Mesa. 36 #include "main/glthread.h" 71 struct glthread_state *glthread = calloc(1, sizeof(*glthread)); local in function:_mesa_glthread_init 73 if (!glthread) 76 if (!util_queue_init(&glthread->queue, "gl", MARSHAL_MAX_BATCHES - 2, 78 free(glthread); 84 util_queue_destroy(&glthread->queue); 85 free(glthread); 110 struct glthread_state *glthread = ctx->GLThread; local in function:_mesa_glthread_destroy 148 struct glthread_state *glthread = ctx->GLThread; local in function:_mesa_glthread_flush_batch 184 struct glthread_state *glthread = ctx->GLThread; local in function:_mesa_glthread_finish [all...] |
| H A D | marshal.h | 33 #include "main/glthread.h" 55 struct glthread_state *glthread = ctx->GLThread; local in function:_mesa_glthread_allocate_command 56 struct glthread_batch *next = &glthread->batches[glthread->next]; 62 next = &glthread->batches[glthread->next]; 80 struct glthread_state *glthread = ctx->GLThread; local in function:_mesa_glthread_is_non_vbo_vertex_attrib_pointer 82 return ctx->API != API_OPENGL_CORE && !glthread->vertex_array_is_vbo; 92 struct glthread_state *glthread = ctx->GLThread; local in function:_mesa_glthread_is_non_vbo_draw_elements 94 return ctx->API != API_OPENGL_CORE && !glthread [all...] |
| H A D | marshal.c | 209 * This is part of what we need to enable glthread on compat-GL contexts that 233 struct glthread_state *glthread = ctx->GLThread; local in function:track_vbo_binding 237 glthread->vertex_array_is_vbo = (buffer != 0); 244 glthread->element_array_is_vbo = (buffer != 0);
|
| /xsrc/external/mit/xorg-server.old/dist/glx/ |
| H A D | Makefile.am | 49 glthread.c \ 50 glthread.h
|
| H A D | Makefile.in | 63 glapi.lo glapi_gentable.lo glthread.lo 451 glthread.c \ 452 glthread.h 551 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/glthread.Plo@am__quote@
|
| /xsrc/external/mit/MesaLib.old/dist/src/mapi/glapi/gen/ |
| H A D | gl_API.dtd | 127 codegen for. If "sync", we finish any queued glthread work and call 129 call to be performed by glthread. If "custom", the prototype will be 133 marshal_fail - an expression that, if it evaluates true, causes glthread 135 to disable glthread for GL compatibility interactions that we don't
|
| /xsrc/external/mit/MesaLib/dist/src/mapi/glapi/gen/ |
| H A D | gl_API.dtd | 129 codegen for. If "sync", we finish any queued glthread work and call 131 call to be performed by glthread. If "custom", the prototype will be 133 marshal_sync - an expression that, if it evaluates true, causes glthread 136 glthread.
|
| /xsrc/external/mit/MesaLib/dist/docs/relnotes/ |
| H A D | 20.1.0.rst | 2991 - glthread: don't generate the sync fallback if the call size is not 2993 - glthread: don't prefix variable_data with const 2994 - glthread: inline \_mesa_unmarshal_dispatch_cmd and convert the switch 2996 - glthread: reduce pointer dereferences in glthread_unmarshal_batch 2997 - glthread: use int instead of size_t where it's OK 2998 - glthread: simplify repeated function sequences in marshal_generated.c 2999 - glthread: don't insert \_mesa_post_marshal_hook into every function 3000 - glthread: don't increment variable_data if it's the last 3002 - glthread: add GL_DRAW_INDIRECT_BUFFER tracking and generator support 3003 - glthread [all...] |
| H A D | 19.1.7.rst | 129 - intel/dri: finish proper glthread
|
| H A D | 20.3.5.rst | 65 - glthread crash in \_mesa_glthread_upload 191 - glthread: fix interpreting vertex size == GL_BGRA for vertex attribs
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/ |
| H A D | st_manager.c | 32 #include "main/glthread.h" 823 * on AMD Zen. This is only done if glthread is enabled. 825 * If glthread is disabled, st_draw.c re-pins driver threads regularly 828 struct glthread_state *glthread = st->ctx->GLThread; local in function:st_start_thread 829 if (glthread && st->pipe->set_context_param) { 830 util_pin_driver_threads_to_random_L3(st->pipe, &glthread->queue.threads[0]);
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/ |
| H A D | Makefile.sources | 126 main/glthread.c \ 127 main/glthread.h \
|