Khaled Hosny
5091ea7e24
Merge pull request #2733 from astiob/buffer-context-doc
...
[docs] Describe buffer context applicability more explicitly
4 years ago
Ebrahim Byagowi
c110878cb6
[test] Unify font file opening across the tests
6 years ago
Ebrahim Byagowi
61510b63c1
[test] Minor cleanup in test-multithread and test-ot-name ( #1256 )
6 years ago
Behdad Esfahbod
1d995a340b
Minor
6 years ago
Behdad Esfahbod
be2f148da4
[ft] Use mutex to lock access to FT_Face
...
Makes our FT-backed hb_font_t safe to use from multiple threads. Still,
the underlying FT_Face should NOT be used from other threads by client
or other libraries.
Maybe I add a lock()/unlock() public API ala PangoFT2 and cairo-ft.
Maybe not.
6 years ago
Behdad Esfahbod
9f79365c3b
Fix warning
...
How come this one is not generated by clang everything bot?!
../../../test/api/test-multithread.c:37:26: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
static char *font_path = "fonts/Inconsolata-Regular.abc.ttf";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../test/api/test-multithread.c:38:21: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
6 years ago
Behdad Esfahbod
f92330b5e0
Minor
6 years ago
Ebrahim Byagowi
4146c00caa
[test] Use an in-repo font for test-multithread ( #1218 )
...
As Khaled's suggestion, hard-coded font paths was only for my own testing.
6 years ago
lantw44
7a1ab0464d
Fix test-multithread build on FreeBSD ( #1217 )
...
Add the default font path used by FreeBSD ports.
6 years ago
Ebrahim Byagowi
bf5088b3dc
Minor, fix -Weverthing bot warnings ( #1210 )
6 years ago
Behdad Esfahbod
dcfcb950b8
[test] Fix -Wunused-parameter warnings
6 years ago
Behdad Esfahbod
be0b2ed316
More warning fixes
6 years ago
Ebrahim Byagowi
cefdef0247
Minor on test-multithread, align the actual and expected results
6 years ago
Behdad Esfahbod
c763b94401
[test-multithread] Disable FreeType funcs
6 years ago
Ebrahim Byagowi
7b68edf2ab
[tests] Don't try to get glyph names on failures
...
As it may cause a race unrelated to the issue actually happened
6 years ago
Behdad Esfahbod
7e6e094abd
[test-multithread] Install ot funcs before filling ref buffer
6 years ago
Behdad Esfahbod
21fbee831e
[test-multithread] Take num-threads and num-iters from command-line
6 years ago
Behdad Esfahbod
598be3bb38
Minor
6 years ago
Ebrahim Byagowi
c09bf3d505
test-multithread, check the results on every iteration ( #1194 )
6 years ago
Ebrahim Byagowi
dbc3070a15
Make test-multithread pass the tsan bot test ( #1193 )
6 years ago
Ebrahim Byagowi
39da1914b4
Test freetype funcs on test-multithread ( #1187 )
6 years ago
Ebrahim Byagowi
e88009a93f
Minor, remove the no longer needed comment on test-multithread
6 years ago
Behdad Esfahbod
34d5a25953
Fix test-multithread and increase num_threads to 30
...
What were you thinking? ;)
6 years ago
Ebrahim Byagowi
8bb73dad7f
Add a multithreaded test ( #1184 )
6 years ago