From 68c1e256f53934a4a37b5f5c47f357eb4d52713d Mon Sep 17 00:00:00 2001 From: "piman@chromium.org" Date: Fri, 24 Sep 2010 22:44:26 +0000 Subject: Remove mutex from skia's atomic operations BUG=none - high CPU usage of locks TEST=run chrome on Atom-based device, run perf, check that sk_atomic_inc/dec isn't hot Review URL: http://codereview.chromium.org/3441031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60543 0039d316-1c4b-4281-b951-d872f2087c98 --- skia/skia.gyp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'skia/skia.gyp') diff --git a/skia/skia.gyp b/skia/skia.gyp index a873237..5be7398 100644 --- a/skia/skia.gyp +++ b/skia/skia.gyp @@ -375,7 +375,7 @@ #'../third_party/skia/src/ports/SkOSEvent_dummy.cpp', '../third_party/skia/src/ports/SkOSFile_stdio.cpp', #'../third_party/skia/src/ports/SkThread_none.cpp', - '../third_party/skia/src/ports/SkThread_pthread.cpp', + #'../third_party/skia/src/ports/SkThread_pthread.cpp', '../third_party/skia/src/ports/SkThread_win.cpp', '../third_party/skia/src/ports/SkTime_Unix.cpp', #'../third_party/skia/src/ports/SkXMLParser_empty.cpp', @@ -512,6 +512,7 @@ 'ext/google_logging.cc', 'ext/image_operations.cc', 'ext/image_operations.h', + 'ext/SkThread_chrome.cc', 'ext/platform_canvas.h', 'ext/platform_canvas.cc', 'ext/platform_canvas_linux.cc', @@ -647,8 +648,8 @@ [ 'OS == "win"', { 'sources!': [ '../third_party/skia/src/core/SkMMapStream.cpp', - '../third_party/skia/src/ports/SkThread_pthread.cpp', '../third_party/skia/src/ports/SkTime_Unix.cc', + 'ext/SkThread_chrome.cc', ], 'include_dirs': [ 'config/win', -- cgit v1.1