src/hb-mutex.hh


Log

Author Commit Date CI Message
Pedro J. Estébanez b1680e91 2023-02-10T14:14:43 Use proper preprocessor checks for UWP
Behdad Esfahbod 449f6df7 2023-01-12T14:52:00 [mutex] Add constructor/destructor Use in one place.
Behdad Esfahbod 00f2657b 2022-11-29T13:49:15 [subset] Accelerate sanitize-table-cache Big wins all across small subsets BM_subset/subset_codepoints/Roboto-Regular.ttf/nohinting/10                              -0.1140         -0.1129             0             0             0             0 BM_subset/subset_codepoints/Amiri-Regular.ttf/nohinting/10                               -0.4717         -0.4714             0             0             0             0 BM_subset/subset_codepoints/NotoNastaliqUrdu-Regular.ttf/nohinting/10                    -0.8147         -0.8146             0             0             0             0 BM_subset/subset_codepoints/NotoSansDevanagari-Regular.ttf/nohinting/10                  -0.3248         -0.3242             0             0             0             0 BM_subset/subset_codepoints/Mplus1p-Regular.ttf/nohinting/10                             -0.1262         -0.1260             0             0             0             0 BM_subset/subset_codepoints/SourceHanSans-Regular_subset.otf/nohinting/10                -0.0308         -0.0309             0             0             0             0 BM_subset/subset_codepoints/SourceSansPro-Regular.otf/nohinting/10                       -0.1374         -0.1373             0             0             0             0 BM_subset/subset_codepoints/AdobeVFPrototype.otf/nohinting/10                            -0.4555         -0.4555             0             0             0             0 BM_subset/subset_codepoints/MPLUS1-Variable.ttf/nohinting/10                             -0.4175         -0.4174             0             0             0             0 BM_subset/subset_codepoints/RobotoFlex-Variable.ttf/nohinting/10                         -0.4214         -0.4214             0             0             0
Behdad Esfahbod 07dc34bd 2021-11-05T14:45:20 [mutex] Try work around GCC cast-align error/warning Shouldn't be needed because of the alignas(). Oh well... Might fix https://github.com/harfbuzz/harfbuzz/issues/3283
Behdad Esfahbod 30c05e8b 2021-11-01T23:57:00 [algs] include <new>
Ben Wagner cb2d71c6 2021-07-30T14:30:20 [mutex] Add hb_mutex_t std::mutex implementation Instead of failing...
Behdad Esfahbod ee7473b8 2021-07-30T12:55:28 [mutex] Remove unused HB_MUTEX_IMPL_INIT / HB_MUTEX_INIT https://github.com/harfbuzz/harfbuzz/pull/3100#issuecomment-890089096
Behdad Esfahbod 711c241f 2020-06-29T01:40:30 m[mutex] Remove busyloop mutex implemenation Don't know why I ever added this. :)
Hugo Beauzée-Luyssen 40ec187d 2020-04-24T14:01:07 win32: Cleanup PARTITION handling Use the WINAPI_PARTITION macro to filter desktop/app flavors. We use a negated desktop check because the default (for mingw-w64 at least) is to allow all API by combining desktop + app partitions. This causes build failures if we were to filter using WINAPI_PARTITION(WINAPI_FAMILY_APP) because it would always be true, but those API also require Windows 8 or later, while we only require Vista Fixes warnings like ../src/hb-blob.cc:572:47: warning: 'WINAPI_FAMILY_PC_APP' is not defined, evaluates to 0 [-Wundef] #if defined(WINAPI_FAMILY) && (WINAPI_FAMILY==WINAPI_FAMILY_PC_APP || WINAPI_FAMILY==WINAPI_FAMILY_PHONE_APP) ^ ../src/hb-blob.cc:572:86: warning: 'WINAPI_FAMILY_PHONE_APP' is not defined, evaluates to 0 [-Wundef] #if defined(WINAPI_FAMILY) && (WINAPI_FAMILY==WINAPI_FAMILY_PC_APP || WINAPI_FAMILY==WINAPI_FAMILY_PHONE_APP)
Behdad Esfahbod 5e489670 2019-10-22T15:03:47 Remove hb-warning.cc Fixes https://github.com/harfbuzz/harfbuzz/issues/2005
Ebrahim Byagowi 1bada656 2019-06-07T02:01:27 Minor, remove unnecessary semicolon Causing -Wextra-semi-stmt build error when no primitive has chosen Interesting that nobody has noticed it yet.
Behdad Esfahbod 210f93c1 2019-05-25T12:49:20 [mutex] Prefer pthread over windows https://github.com/harfbuzz/harfbuzz/issues/1728
Behdad Esfahbod 4c6136e9 2019-04-24T10:44:24 [mutex] Remove TODO
Ebrahim Byagowi e4120085 2018-12-17T21:31:01 Remove redundant void from C++ sources (#1486)
Ebrahim Byagowi b2ebaa9a 2018-12-16T22:38:10 Remove redundant 'inline' from methods (#1483)
Ken Brown eee5b5ed 2018-11-12T21:05:39 Don't use Win32 API on Cygwin Cygwin is a Posix platform to the extent possible. It should use the Posix API except in special circumstances.
Behdad Esfahbod 60318f87 2018-10-09T22:25:53 Minor
Behdad Esfahbod be2f148d 2018-10-09T16:24:50 [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.
Behdad Esfahbod c77ae408 2018-08-25T22:36:36 Rename hb-*private.hh to hb-*.hh Sorry for the noise, downstream custom builders. Please adjust.