summaryrefslogtreecommitdiffstats
path: root/tests/CanvasCompare
Commit message (Collapse)AuthorAgeFilesLines
* Refactor HardwareLayerJohn Reck2014-02-102-6/+10
| | | | | | | Defer all the things! Groundwork to allow hardware layers to work in a renderthread world Change-Id: Ib3aa47525f393083621254a743dbaa6352f933bd
* Remove NearestImageView from CanvasCompareChris Craik2013-07-093-48/+2
| | | | Change-Id: I69b0539df704d80a34cc8f22096657210f5d78ad
* Fix ambiguous clamp.Jason Sams2013-05-291-2/+2
| | | | Change-Id: I75a55bbfe6b8ef68242c8ecd0f70ef218829d110
* Add tessellation path for pointsChris Craik2013-05-143-2/+49
| | | | | | | | | | | | | | | | | | bug:4351353 bug:8185479 Point tessellation is similar to line special case, except that we only tessellate one point (as a circle or rect) and duplicate it across other instances. Additionally: Fixes square caps for AA=false lines Cleanup in CanvasCompare, disabling interpolation on zoomed-in comparison view Change-Id: I0756fcc4b20f77878fed0d8057297c80e82ed9dc
* Add input/output JSON data for baseline comparisonChris Craik2013-04-103-38/+213
| | | | | | | | | CanvasCompare will output a JSON file with test results, and can take such files as input for baseline comparison. The new logcat output breaks down results into per-test and per-modifier improvement and regressions. Change-Id: I4da0251db0637841173ac95e9f431a7ff52c8b61
* Adjust offset for non-AA line drawingChris Craik2013-02-151-4/+31
| | | | | | | | | | | | | bug:8114304 The original .375 was chosen to make GL_LINES align with Skia drawing. The new value of .065 is chosen to be as small as possible to make triangle-based lines align with Skia, while keeping lines drawn on integer coordinates unambiguous as to which column/row they draw on. Also adds more lines in CanvasCompare test to highlight the difference Change-Id: If578684f2db320682219c3caa625cf79bc62d88f
* Add cap tessellation supportChris Craik2013-02-061-0/+6
| | | | | | | | | | | bug:7117155 bug:8114304 Currently used for lines (with and without AA) and arcs with useCenter=false Also removes 0.375, 0.375 offset for AA lines Change-Id: Ic8ace418739344db1e2814edf65253fe7448b0b0
* Hardware / Software Canvas comparison toolChris Craik2012-11-2016-0/+1685
Has automated and manual testing modes Change-Id: I84d27447ad64021540525372022ab13a36ffc116