| /xsrc/external/mit/MesaLib/dist/src/glx/apple/ |
| apple_glx_log.c | 73 uint64_t thread = 0; local 77 thread = (uint64_t)(uintptr_t)pthread_self(); 80 pthread_threadid_np(NULL, &thread); 82 thread = (uint64_t)(uintptr_t)pthread_self(); 85 pthread_threadid_np(NULL, &thread); 90 _asl_level_string(level), file, line, function, thread); 108 asprintf(&_thread, "%"PRIu64, thread); 110 asl_set(msg, "Thread", _thread);
|
| /xsrc/external/mit/MesaLib.old/dist/src/util/ |
| u_thread.h | 41 thrd_t thread; local 49 ret = thrd_create( &thread, routine, param ); 53 ret = thrd_create( &thread, routine, param ); 58 return thread; 75 * cache. Inter-thread communication such as locks and atomics between modules 79 * \param thread thread 84 util_pin_thread_to_L3(thrd_t thread, unsigned L3_index, unsigned cores_per_L3) 92 pthread_setaffinity_np(thread, sizeof(cpuset), &cpuset); 97 * Return the index of L3 that the thread is pinned to. If the thread i [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/glx/apple/ |
| apple_glx_log.c | 77 uint64_t thread = 0; local 81 thread = (uint64_t)(uintptr_t)pthread_self(); 84 pthread_threadid_np(NULL, &thread); 86 thread = (uint64_t)(uintptr_t)pthread_self(); 89 pthread_threadid_np(NULL, &thread); 98 _asl_level_string(level), file, line, function, thread); 119 asprintf(&_thread, "%"PRIu64, thread); 121 asl_set(msg, "Thread", _thread);
|
| /xsrc/external/mit/MesaLib/dist/src/util/ |
| u_thread.h | 68 /* Some highly performance-sensitive thread-local variables like the current GL 79 #define __THREAD_INITIAL_EXEC __declspec(thread) 109 thrd_t thread; local 117 ret = thrd_create( &thread, routine, param ); 121 ret = thrd_create( &thread, routine, param ); 126 return thread; 157 * Set thread affinity. 159 * \param thread Thread 166 util_set_thread_affinity(thrd_t thread, [all...] |
| u_qsort.cpp | 25 #include <thread>
|
| /xsrc/external/mit/MesaLib/dist/src/intel/vulkan/tests/ |
| state_pool_test_helper.h | 29 pthread_t thread; member in struct:job 66 pthread_create(&jobs[i].thread, NULL, alloc_states, &jobs[i]); 70 pthread_join(jobs[i].thread, NULL);
|
| state_pool_no_free.c | 34 pthread_t thread; member in struct:job 73 pthread_create(&jobs[i].thread, NULL, alloc_states, &jobs[i]); 77 pthread_join(jobs[i].thread, NULL); 79 /* A list of indices, one per thread */ 85 /* First, we find which thread has the highest next element */
|
| block_pool_no_free.c | 34 pthread_t thread; member in struct:job 78 /* A list of indices, one per thread */ 84 /* First, we find which thread has the lowest next element */ 126 pthread_create(&jobs[i].thread, NULL, alloc_blocks, &jobs[i]); 130 pthread_join(jobs[i].thread, NULL);
|
| /xsrc/external/mit/MesaLib.old/dist/src/intel/vulkan/tests/ |
| state_pool_test_helper.h | 29 pthread_t thread; member in struct:job 66 pthread_create(&jobs[i].thread, NULL, alloc_states, &jobs[i]); 70 pthread_join(jobs[i].thread, NULL);
|
| state_pool_no_free.c | 35 pthread_t thread; member in struct:job 73 pthread_create(&jobs[i].thread, NULL, alloc_states, &jobs[i]); 77 pthread_join(jobs[i].thread, NULL); 79 /* A list of indices, one per thread */ 85 /* First, we find which thread has the highest next element */
|
| /xsrc/external/mit/MesaLib/dist/docs/_extra/specs/ |
| MESA_multithread_makecurrent.spec | 33 create a context per thread which each operate on their own 37 For some applications, maintaining per-thread contexts and 38 ensuring that the glFlush happens in one thread before another 39 thread starts working on that object is difficult. For them, 68 thread at a time. 71 only one thread at a time. A direct rendering context may be 79 If ctx is current to some other thread, then 82 If ctx is an indirect context current to some other thread, 86 If ctx is current to some other thread, then 89 If ctx is an indirect context current to some other thread, [all...] |
| /xsrc/external/mit/MesaLib.old/dist/docs/specs/ |
| MESA_multithread_makecurrent.spec | 33 create a context per thread which each operate on their own 37 For some applications, maintaining per-thread contexts and 38 ensuring that the glFlush happens in one thread before another 39 thread starts working on that object is difficult. For them, 68 thread at a time. 71 only one thread at a time. A direct rendering context may be 79 If ctx is current to some other thread, then 82 If ctx is an indirect context current to some other thread, 86 If ctx is current to some other thread, then 89 If ctx is an indirect context current to some other thread, [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/common/ |
| rdtsc_buckets.cpp | 41 THREAD UINT tlsThreadId = 0; 59 // assign unique thread id for this thread 64 // store new thread 133 void BucketManager::PrintThread(FILE* f, const BUCKET_THREAD& thread) 136 fprintf(f, "\nThread %u (%s)\n", thread.id, thread.name.c_str()); 139 // compute thread level total cycle counts across all buckets from root 140 const BUCKET& root = thread.root; 163 for (const BUCKET_THREAD& thread : mThreads [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/swr/rasterizer/common/ |
| rdtsc_buckets.cpp | 41 THREAD UINT tlsThreadId = 0; 59 // assign unique thread id for this thread 64 // store new thread 132 void BucketManager::PrintThread(FILE* f, const BUCKET_THREAD& thread) 135 fprintf(f, "\nThread %u (%s)\n", thread.id, thread.name.c_str()); 138 // compute thread level total cycle counts across all buckets from root 139 const BUCKET& root = thread.root; 161 for (const BUCKET_THREAD& thread : mThreads [all...] |
| /xsrc/external/mit/xf86-video-intel/dist/src/sna/ |
| sna_threads.c | 47 static struct thread { struct 48 pthread_t thread; member in struct:thread 58 struct thread *t = arg; 150 DBG(("%s: creating a thread pool of %d threads\n", 163 if (pthread_create(&threads[n].thread, NULL, 168 threads[0].thread = pthread_self(); 178 assert(pthread_self() == threads[0].thread); 198 if (t == threads[0].thread) 201 for (n = 1; threads[n].thread != t; n++) 204 ERR(("%s: thread[%d] caught signal %d\n", __func__, n, sig)) [all...] |
| sna_trapezoids_precise.c | 1737 DBG(("%s: damaged -> no thread support\n", __FUNCTION__)); 1766 struct span_thread *thread = arg; local 1772 if (!tor_init(&tor, &thread->extents, 2*thread->ntrap)) 1775 span_thread_boxes_init(&boxes, thread->op, thread->clip); 1777 y1 = thread->extents.y1 - thread->draw_y; 1778 y2 = thread->extents.y2 - thread->draw_y 2019 struct mask_thread *thread = arg; local 2489 struct inplace_x8r8g8b8_thread *thread = arg; local 2835 struct inplace_thread *thread = arg; local 3266 struct tristrip_thread *thread = arg; local [all...] |
| sna_trapezoids_boxes.c | 1018 struct rectilinear_inplace_thread *thread = arg; local 1019 const xTrapezoid *t = thread->trap; 1024 pi.image = thread->dst; 1025 pi.dx = thread->dx; 1026 pi.dy = thread->dy; 1028 pi.source = thread->src; 1029 pi.sx = thread->sx; 1030 pi.sy = thread->sy; 1035 pi.op = thread->op; 1037 count = region_count(thread->clip) 1189 struct rectilinear_inplace_thread thread[num_threads]; local [all...] |
| /xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/ |
| sna_threads.c | 47 static struct thread { struct 48 pthread_t thread; member in struct:thread 58 struct thread *t = arg; 150 DBG(("%s: creating a thread pool of %d threads\n", 163 if (pthread_create(&threads[n].thread, NULL, 168 threads[0].thread = pthread_self(); 178 assert(pthread_self() == threads[0].thread); 198 if (t == threads[0].thread) 201 for (n = 1; threads[n].thread != t; n++) 204 ERR(("%s: thread[%d] caught signal %d\n", __func__, n, sig)) [all...] |
| sna_trapezoids_precise.c | 1709 DBG(("%s: damaged -> no thread support\n", __FUNCTION__)); 1727 struct span_thread *thread = arg; local 1733 if (!tor_init(&tor, &thread->extents, 2*thread->ntrap)) 1736 boxes.op = thread->op; 1739 y1 = thread->extents.y1 - thread->draw_y; 1740 y2 = thread->extents.y2 - thread->draw_y; 1741 for (n = thread->ntrap, t = thread->traps; n--; t++) 1981 struct mask_thread *thread = arg; local 2516 struct inplace_x8r8g8b8_thread *thread = arg; local 2876 struct inplace_thread *thread = arg; local 3311 struct tristrip_thread *thread = arg; local [all...] |
| sna_trapezoids_boxes.c | 1016 struct rectilinear_inplace_thread *thread = arg; local 1017 const xTrapezoid *t = thread->trap; 1022 pi.image = thread->dst; 1023 pi.dx = thread->dx; 1024 pi.dy = thread->dy; 1026 pi.source = thread->src; 1027 pi.sx = thread->sx; 1028 pi.sy = thread->sy; 1033 pi.op = thread->op; 1035 count = region_count(thread->clip) 1187 struct rectilinear_inplace_thread thread[num_threads]; local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/swr/rasterizer/core/core/ |
| threads.h | 33 #include <thread> 34 typedef std::thread* THREAD_PTR; 48 uint32_t workerId; // index of worker in total thread data 71 // Expose FE and BE worker functions to the API thread if single threaded
|
| /xsrc/external/mit/xcb-util/dist/reply/ |
| reply.c | 123 pthread_create(&h->thread, 0, reply_thread, h); 129 pthread_cancel(h->thread); 130 pthread_join(h->thread, 0);
|
| xcb_reply.h | 65 pthread_t thread; member in struct:xcb_reply_handlers 93 * @brief Start reply handling thread. 94 * This thread will run forever until it is stop with xcb_reply_stop_thread. 100 * @brief Stop reply handling thread.
|
| /xsrc/external/mit/pixman/dist/test/ |
| thread-test.c | 7 printf ("Skipped thread-test - pthreads or Windows Threads not supported\n"); 83 thread (void *data) function 86 thread (LPVOID data) 173 pthread_create (&threads[i], NULL, thread, &info[i]); 191 thread, 197 printf ("Windows thread creation failed!\n"); 222 printf ("thread-test failed. Got checksum 0x%08X, expected 0x%08X\n",
|
| /xsrc/external/mit/MesaLib/dist/src/mapi/glapi/ |
| glapi.h | 36 * A per-thread current dispatch table and per-thread current context 83 extern __declspec(thread) struct _glapi_table * _glapi_tls_Dispatch; 84 extern __declspec(thread) void * _glapi_tls_Context;
|