4daa6f613cb7d8a3c07369af3e919ea65405ec55 |
|
22-Jan-2015 |
mtklein <mtklein@chromium.org> |
Don't require -DSK_USE_POSIX_THREADS. To compile SkCondVar, we already require either pthreads or Windows. This simplifies that code to not need SK_USE_POSIX_THREADS to be explicitly defined. We'll just look to see if we're targeting Windows, and if not, assume pthreads. Both before and after this CL, that code will fail to compile if we're not on Windows and don't have pthreads. BUG=skia: Review URL: https://codereview.chromium.org/869443003
/external/skia/src/utils/SkCondVar.cpp
|
db8d0e5bb018594d0ced3bfa68484115d8cf76b8 |
|
04-Nov-2014 |
mtklein <mtklein@chromium.org> |
Manually load CONDITION_VARIABLE methods on Windows, checking for failure (XP). Tested by running DM on XP. Before this patch, it fails at startup (even just out/Debug/dm --help). Now it asserts for other reasons later on in user code, which is just fine by me. The net effect is that SkTaskGroups will always be synchronous on XP. That's not ideal, but a step up from crashing. CQ_EXTRA_TRYBOTS=client.skia:Test-Win7-ShuttleA-HD2000-x86-Release-Trybot,Test-Win7-ShuttleA-HD2000-x86_64-Release-Trybot BUG=skia: Review URL: https://codereview.chromium.org/700683002
/external/skia/src/utils/SkCondVar.cpp
|
4d3c28158a65f9eac6b472dff29caa77b44f8134 |
|
31-Oct-2012 |
scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Implement SkCondVar for windows. Only works on Vista or later, since it uses condition variables. Review URL: https://codereview.appspot.com/6812062 git-svn-id: http://skia.googlecode.com/svn/trunk@6225 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/utils/SkCondVar.cpp
|
4177ef4b229b5fb67f355569654981bb4bf8eb9c |
|
31-Oct-2012 |
scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add SkThreadPool for managing threads. Skia-ized from https://codereview.appspot.com/6755043/ TODO: Use SkThread and platform independent features. Review URL: https://codereview.appspot.com/6777064 git-svn-id: http://skia.googlecode.com/svn/trunk@6217 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/utils/SkCondVar.cpp
|