Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(533)

Issue 13116018: Adding unit test for verifying copy on write in SkSurface + bug fix in SkCanvas::clear (Closed)

Created:
7 years, 9 months ago by Justin Novosad
Modified:
7 years, 9 months ago
Reviewers:
reed1
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Adding unit test for verifying copy on write in SkSurface + bug fix in SkCanvas::clear Committed: https://code.google.com/p/skia/source/detail?r=8429

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+154 lines, -3 lines) Patch
M gyp/tests.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M src/core/SkCanvas.cpp View 1 chunk +1 line, -1 line 0 comments Download
A tests/SurfaceTest.cpp View 1 2 3 1 chunk +150 lines, -0 lines 0 comments Download
M tests/TestClassDef.h View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Justin Novosad
PTAL
7 years, 9 months ago (2013-03-27 19:31:27 UTC) #1
reed1
great idea for unittest! can it be easily refactored to cover raster and pictures too? ...
7 years, 9 months ago (2013-03-27 19:46:59 UTC) #2
Justin Novosad
On 2013/03/27 19:46:59, reed1 wrote: > great idea for unittest! can it be easily refactored ...
7 years, 9 months ago (2013-03-27 20:32:32 UTC) #3
Justin Novosad
testPoints2 is used by the drawPosText test. It needs the same number of points as ...
7 years, 9 months ago (2013-03-27 20:34:37 UTC) #4
reed1
On 2013/03/27 20:32:32, junov wrote: > On 2013/03/27 19:46:59, reed1 wrote: > > great idea ...
7 years, 9 months ago (2013-03-27 20:35:18 UTC) #5
reed1
https://codereview.chromium.org/13116018/diff/6001/tests/SurfaceTest.cpp File tests/SurfaceTest.cpp (right): https://codereview.chromium.org/13116018/diff/6001/tests/SurfaceTest.cpp#newcode82 tests/SurfaceTest.cpp:82: SkPoint testPoints2[] = { On 2013/03/27 19:46:59, reed1 wrote: ...
7 years, 9 months ago (2013-03-27 20:35:54 UTC) #6
reed1
https://codereview.chromium.org/13116018/diff/6001/tests/SurfaceTest.cpp File tests/SurfaceTest.cpp (right): https://codereview.chromium.org/13116018/diff/6001/tests/SurfaceTest.cpp#newcode82 tests/SurfaceTest.cpp:82: SkPoint testPoints2[] = { const?
7 years, 9 months ago (2013-03-27 20:36:19 UTC) #7
Justin Novosad
Patch. Added SkSurface_Picture pass.
7 years, 9 months ago (2013-03-27 21:24:15 UTC) #8
reed1
7 years, 9 months ago (2013-03-28 13:37:13 UTC) #9
lgtm

Powered by Google App Engine
This is Rietveld 408576698