summaryrefslogtreecommitdiffstats
path: root/cc/test/pixel_test_utils.cc
Commit message (Collapse)AuthorAgeFilesLines
* cc: Made image comparison for pixel tests error tolerant.ernstm@chromium.org2013-03-291-34/+13
| | | | | | | | | | | Added PixelComparator interface and two implementations of it: ExactPixelComparator and FuzzyPixelComparator. The FuzzyPixelComparator tolerates an adjustable amount of error in the image. BUG=180460 Review URL: https://chromiumcodereview.appspot.com/12558003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191288 0039d316-1c4b-4281-b951-d872f2087c98
* Optimize SkColorFilters when drawing RenderPassQuadsclholgat@chromium.org2013-03-281-4/+10
| | | | | | | | | | | | | | Pull the color transformation matrix from the SkImageFilter if possible and apply with a shader. Handles all permutations of shaders. BUG=168719 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=190786 Review URL: https://chromiumcodereview.appspot.com/12803003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191067 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 190786 "Optimize SkColorFilters when drawing RenderPassQuads"jam@chromium.org2013-03-261-10/+4
| | | | | | | | | | | | | | | | | > Optimize SkColorFilters when drawing RenderPassQuads > > Pull the color transformation matrix from the SkImageFilter if possible > and apply with a shader. Handles all permutations of shaders. > > BUG=168719 > > > Review URL: https://chromiumcodereview.appspot.com/12803003 TBR=clholgat@chromium.org Review URL: https://codereview.chromium.org/13101002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190791 0039d316-1c4b-4281-b951-d872f2087c98
* Optimize SkColorFilters when drawing RenderPassQuadsclholgat@chromium.org2013-03-261-4/+10
| | | | | | | | | | | | Pull the color transformation matrix from the SkImageFilter if possible and apply with a shader. Handles all permutations of shaders. BUG=168719 Review URL: https://chromiumcodereview.appspot.com/12803003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190786 0039d316-1c4b-4281-b951-d872f2087c98
* Fix cpplint errors in cc/(animation|input|layers|trees|test)/jamesr@chromium.org2013-03-261-0/+3
| | | | | | | | | | | This fixes lint errors in everything except for the few stragglers (occlusion unit test, etc) that haven't been chromified. BUG=144577 Review URL: https://chromiumcodereview.appspot.com/12965007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190767 0039d316-1c4b-4281-b951-d872f2087c98
* Rename FilePath -> base::FilePath in various toplevel directoriesbrettw@chromium.org2013-02-101-3/+3
| | | | | | Review URL: https://codereview.chromium.org/12211108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181639 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Unify namespaces for all test filesenne@chromium.org2012-12-161-3/+0
| | | | | | | | | | | | | | All cc test harnesses now live in the cc namespace. Any cc unittest or pixeltest itself is in an anonymous namespace under cc. This patch removes all instances of the WebKitTest namespace from cc. R=jamesr@chromium.org BUG=none Review URL: https://chromiumcodereview.appspot.com/11474050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173391 0039d316-1c4b-4281-b951-d872f2087c98
* Basic pixel tests for ccjamesr@chromium.org2012-12-071-0/+81
| | | | | | | | | | | BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=171544 Review URL: https://chromiumcodereview.appspot.com/11412289 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171735 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 171544miket@chromium.org2012-12-061-81/+0
| | | | | | | | | | | | | | > Basic pixel tests for cc > > BUG= > > > Review URL: https://chromiumcodereview.appspot.com/11412289 TBR=jamesr@chromium.org Review URL: https://codereview.chromium.org/11470003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171557 0039d316-1c4b-4281-b951-d872f2087c98
* Basic pixel tests for ccjamesr@chromium.org2012-12-061-0/+81
BUG= Review URL: https://chromiumcodereview.appspot.com/11412289 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171544 0039d316-1c4b-4281-b951-d872f2087c98