Home
last modified time | relevance | path

Searched refs:threads (Results 1 – 22 of 22) sorted by relevance

/lvgl-latest/src/libs/thorvg/
DtvgTaskScheduler.cpp109 Array<thread*> threads; member
115 threads.reserve(threadCnt); in TaskSchedulerImpl()
120 threads.push(new thread); in TaskSchedulerImpl()
123 *threads.data[i] = thread([&, i] { run(i); }); in TaskSchedulerImpl()
132 for (auto thread = threads.begin(); thread < threads.end(); ++thread) { in ~TaskSchedulerImpl()
148 for (uint32_t x = 0; x < threads.count * 2; ++x) { in run()
149 if (taskQueues[(i + x) % threads.count]->tryPop(&task)) { in run()
163 if (threads.count > 0 && _async) { in request()
166 for (uint32_t n = 0; n < threads.count; ++n) { in request()
167 if (taskQueues[(i + n) % threads.count]->tryPush(task)) return; in request()
[all …]
DtvgInitializer.cpp92 Result Initializer::init(CanvasEngine engine, uint32_t threads) noexcept in init() argument
99 if (!SwRenderer::init(threads)) return Result::FailedAllocation; in init()
106 if (!GlRenderer::init(threads)) return Result::FailedAllocation; in init()
113 if (!WgRenderer::init(threads)) return Result::FailedAllocation; in init()
126 TaskScheduler::init(threads); in init()
DtvgLock.h47 if (TaskScheduler::threads() > 0) { in ScopedLock()
55 if (TaskScheduler::threads() > 0) { in ~ScopedLock()
DtvgTaskScheduler.h105 static uint32_t threads();
106 static void init(uint32_t threads);
DtvgSwMemPool.cpp83 SwMpool* mpoolInit(uint32_t threads) in mpoolInit() argument
85 auto allocSize = threads + 1; in mpoolInit()
DtvgSwRenderer.h70 static bool init(uint32_t threads);
DtvgSwRenderer.cpp761 bool SwRenderer::init(uint32_t threads) in init() argument
765 threadsCnt = threads; in init()
768 globalMpool = mpoolInit(threads); in init()
781 omp_set_num_threads(TaskScheduler::threads()); in init()
DtvgLottieLoader.cpp93 if (TaskScheduler::threads() == 0) { in header()
DtvgCapi.cpp46 TVG_API Tvg_Result tvg_engine_init(Tvg_Engine engine_method, unsigned threads) in tvg_engine_init() argument
48 return (Tvg_Result) Initializer::init(CanvasEngine(engine_method), threads); in tvg_engine_init()
Dthorvg_capi.h359 TVG_API Tvg_Result tvg_engine_init(Tvg_Engine engine_method, unsigned threads);
Dthorvg.h1841 static Result init(CanvasEngine engine, uint32_t threads) noexcept;
DtvgSwCommon.h556 SwMpool* mpoolInit(uint32_t threads);
DtvgLottieExpressions.cpp1406 if (TaskScheduler::threads() > 1) { in instance()
/lvgl-latest/docs/intro/add-lvgl-to-your-project/
Dthreading.rst16 In "bare-metal" implementations (i.e. no OS), threads include:
21 When running under an OS, threads include:
25 - advanced OSes can have multiple "execution threads" within a processes.
34 If other threads can see the operation in a partially performed state, or
38 back to the state before the operation was started. To other threads it must
54 values, no special protection is required by programmers to ensure all threads
82 resources" that must be protected from being "seen" by other threads in an
121 Under an OS, it is common to have many threads of execution ("tasks" in some OSes)
122 performing services for the application. In some cases, such threads can acquire
153 This ensures LVGL's data structures "appear" atomic_ (all threads using this data
[all …]
/lvgl-latest/docs/details/integration/driver/display/
Dst_ltdc.rst29 give the thread a chance to yield to other threads while blocked,
/lvgl-latest/docs/details/integration/os/
Dqnx.rst22 - Support for thousands of processes and millions of threads
/lvgl-latest/docs/details/integration/os/yocto/
Dlvgl_recipe.rst679 file://0001-change-config-file-to-run-fbdev-with-2-threads.patch \
704 touch 0001-change-config-file-to-run-fbdev-with-2-threads.patch
706 Content of ``0001-change-config-file-to-run-fbdev-with-2-threads.patch``
713 Subject: [PATCH] change config file to run fbdev with 2 threads
763 * > 1 means multiple threads will render the screen in parallel */
/lvgl-latest/docs/details/debugging/
Dprofiler.rst227 … the printing of trace logs. You need to disable the log output of other threads or refer to the c…
/lvgl-latest/docs/details/integration/chip/
Dstm32.rst194 - Create two threads to call :cpp:func:`lv_timer_handler`, and
/lvgl-latest/docs/details/main-components/
Ddraw.rst144 ready to be carried out. The ramifications of having multiple drawing threads are
/lvgl-latest/src/others/vg_lite_tvg/
Dvg_lite_tvg.cpp680 auto threads = std::thread::hardware_concurrency(); in vg_lite_init() local
681 if(threads > 0) { in vg_lite_init()
682 --threads; /* Allow the designated main thread capacity */ in vg_lite_init()
/lvgl-latest/
DKconfig284 > 1 means multiply threads will render the screen in parallel