Commit graph

8 commits

Author SHA1 Message Date
Petar Kapriš
7f73925769 Mark cairo surface as dirty from final worker thread 2025-10-13 22:17:48 +02:00
Petar Kapriš
270c00cefc Make polling by workers rarer
Previously workers would poll for the availability of the drawing board
after every drawn pixel. Now they do it after every line, which was
originally the plan.
2025-10-13 21:01:47 +02:00
Petar Kapriš
9b19884286 Clean up compiler warnings 2025-10-13 16:12:01 +02:00
Petar Kapriš
ea699e5c48 Reorganize functions in code 2025-10-08 11:31:25 +02:00
Petar Kapriš
4b150c8097 Modify argument to worker thread functions
Instead of only supplying the index, the pointer to the threadInfo
structure is passed.
2025-10-08 10:29:56 +02:00
Petar Kapriš
ba685cc0ca Detach worker threads upon creation 2025-10-08 10:29:49 +02:00
Petar Kapriš
2a3fee2c3f Rewrite the program to use POSIX threads
This is work in progress, there might still be some concurrency issues
to be resolved here.
2025-10-07 13:26:39 +02:00
Petar Kapriš
efac829915 Initial commit 2024-02-23 13:11:14 +01:00