Home
last modified time | relevance | path

Searched refs:glthread (Results 1 – 18 of 18) sorted by relevance

/external/mesa3d/src/mesa/main/
Dglthread.c79 struct glthread_state *glthread = &ctx->GLThread; in _mesa_glthread_init() local
81 assert(!glthread->enabled); in _mesa_glthread_init()
83 if (!util_queue_init(&glthread->queue, "gl", MARSHAL_MAX_BATCHES - 2, in _mesa_glthread_init()
88 glthread->VAOs = _mesa_NewHashTable(); in _mesa_glthread_init()
89 if (!glthread->VAOs) { in _mesa_glthread_init()
90 util_queue_destroy(&glthread->queue); in _mesa_glthread_init()
94 _mesa_glthread_reset_vao(&glthread->DefaultVAO); in _mesa_glthread_init()
95 glthread->CurrentVAO = &glthread->DefaultVAO; in _mesa_glthread_init()
99 _mesa_DeleteHashTable(glthread->VAOs); in _mesa_glthread_init()
100 util_queue_destroy(&glthread->queue); in _mesa_glthread_init()
[all …]
Dglthread_varray.c74 struct glthread_state *glthread = &ctx->GLThread; in lookup_vao() local
79 if (glthread->LastLookedUpVAO && in lookup_vao()
80 glthread->LastLookedUpVAO->Name == id) { in lookup_vao()
81 vao = glthread->LastLookedUpVAO; in lookup_vao()
83 vao = _mesa_HashLookupLocked(glthread->VAOs, id); in lookup_vao()
87 glthread->LastLookedUpVAO = vao; in lookup_vao()
96 struct glthread_state *glthread = &ctx->GLThread; in _mesa_glthread_BindVertexArray() local
99 glthread->CurrentVAO = &glthread->DefaultVAO; in _mesa_glthread_BindVertexArray()
104 glthread->CurrentVAO = vao; in _mesa_glthread_BindVertexArray()
112 struct glthread_state *glthread = &ctx->GLThread; in _mesa_glthread_DeleteVertexArrays() local
[all …]
Dglthread_bufferobj.c70 struct glthread_state *glthread = &ctx->GLThread; in _mesa_glthread_upload() local
77 unsigned offset = align(glthread->upload_offset, 8); in _mesa_glthread_upload()
80 if (unlikely(!glthread->upload_buffer || offset + size > default_size)) { in _mesa_glthread_upload()
100 if (glthread->upload_buffer_private_refcount > 0) { in _mesa_glthread_upload()
101 p_atomic_add(&glthread->upload_buffer->RefCount, in _mesa_glthread_upload()
102 -glthread->upload_buffer_private_refcount); in _mesa_glthread_upload()
103 glthread->upload_buffer_private_refcount = 0; in _mesa_glthread_upload()
105 _mesa_reference_buffer_object(ctx, &glthread->upload_buffer, NULL); in _mesa_glthread_upload()
106 glthread->upload_buffer = in _mesa_glthread_upload()
107 new_upload_buffer(ctx, default_size, &glthread->upload_ptr); in _mesa_glthread_upload()
[all …]
Dglthread_marshal.h59 struct glthread_state *glthread = &ctx->GLThread; in _mesa_glthread_allocate_command() local
60 struct glthread_batch *next = glthread->next_batch; in _mesa_glthread_allocate_command()
65 next = glthread->next_batch; in _mesa_glthread_allocate_command()
83 const struct glthread_state *glthread = &ctx->GLThread; in _mesa_glthread_has_non_vbo_vertices_or_indices() local
84 struct glthread_vao *vao = glthread->CurrentVAO; in _mesa_glthread_has_non_vbo_vertices_or_indices()
94 const struct glthread_state *glthread = &ctx->GLThread; in _mesa_glthread_has_non_vbo_vertices() local
95 const struct glthread_vao *vao = glthread->CurrentVAO; in _mesa_glthread_has_non_vbo_vertices()
104 const struct glthread_state *glthread = &ctx->GLThread; in _mesa_glthread_has_non_vbo_vertices_or_indirect() local
105 const struct glthread_vao *vao = glthread->CurrentVAO; in _mesa_glthread_has_non_vbo_vertices_or_indirect()
108 (glthread->CurrentDrawIndirectBufferName == 0 || in _mesa_glthread_has_non_vbo_vertices_or_indirect()
[all …]
/external/mesa3d/src/mapi/glapi/gen/
Dgl_API.dtd129 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
135 marshal_sync - an expression that, if it evaluates true, causes glthread
138 glthread.
/external/mesa3d/docs/relnotes/
D20.1.0.rst2991 - 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: add/update count and marshal fields for many GL functions
[all …]
D19.1.7.rst129 - intel/dri: finish proper glthread
D3.358 Thread support in Mesa has been rewritten. The glthread.[ch] files
D20.2.0.rst243 - [radeonsi] [glthread] Crash with glthread enabled
806 - drirc: Enable glthread for rpcs3
2687 - drirc: Enable glthread for PCSX2
2691 - glthread: Fix use of alloca() without #include "c99_alloca.h"
2886 - glthread: Add GLAPIENTRY to _mesa_marshal_MultiDrawArrays.
3182 - mesa: add glInternalBufferSubDataCopyMESA for glthread
3183 - mesa: add _mesa_InternalBind{ElementBuffer,VertexBuffers} for glthread
3184 - glthread: do glBufferSubData as unsynchronized upload + GPU copy
3185 - glthread: don't use atomics for refcounting to decrease overhead on AMD Zen
3186 - glthread: track pointers and strides for Pointer & EXT_dsa attrib functions
[all …]
D19.2.0.rst396 - intel/dri: finish proper glthread
D19.0.0.rst1728 - mesa/glthread: pass the function name to
1730 - mesa/glthread: enable immediate mode
1731 - drirc: enable glthread for Talos Principle
1734 - st/mesa: pin driver threads to a fixed CCX when glthread is enabled
D20.0.0.rst2205 - mesa: enable glthread for 7 Days To Die
2489 - mesa/glthread: Implement ARB_multi_bind.
2490 - drirc: Enable glthread for dolphin/citra/yuzu.
D20.3.0.rst3513 - mesa: don't use GET_DISPATCH because it doesn't work with glthread
3515 - glthread: handle glInterleavedArrays
3549 - st/mesa: remove random L3 pinning heuristic for glthread
3553 - glthread: pin driver threads to the same L3 as the main thread regularly
D19.3.0.rst3179 - intel/dri: finish proper glthread
/external/mesa3d/docs/
DlibGL.txt103 xc/lib/GL/mesa/src/glthread.c
104 xc/lib/GL/mesa/src/glthread.h
/external/mesa3d/src/mesa/
DMakefile.sources123 main/glthread.c \
124 main/glthread.h \
Dmeson.build165 'main/glthread.c',
166 'main/glthread.h',
/external/e2fsprogs/
Daclocal.m42710 # Prerequisites of lib/glthread/lock.c.