There are a number of ways to search the Skia codebase, each with advantages and disadvantages.
cs.skia.org redirects to Chromium code search restricted to the Skia portion of the Chromium tree. You can add a query after the slash; e.g. cs.skia.org/foo will search for “foo” within the Skia tree. Chromium code search provides cross-references, but not history/blame.
For Googlers, there is also the option of the skia depot in internal Code Search. In addition to the main skia repo, internal Code Search indexes the buildbot, common, and skia_internal repos. However, cross-references, history/blame, and code analysis are not available.
The Github mirrors of the skia and skia-buildbot repos are useful for investigating history and blame, or for exploring release branches or other branches. However, the search functionality is fairly limited, cross-references are not available, and in history the original committer’s username is replaced with that person’s Github username.
You can also navigate through the Skia repos on googlesource.com. All commits appear here first.
|Code search option||Search||XRef||History||Repos||Branches||Freshness|
|cs.skia.org||regexp||yes||no||skia||master||last DEPS roll + hours|
|Internal||regexp||no||no||skia buildbot common internal||master||hours|