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

Issue 1930623003: Clean up test drawContext usage (Closed)

Created:
4 years, 7 months ago by robertphillips
Modified:
4 years, 7 months ago
Reviewers:
bsalomon
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Clean up test drawContext usage The general idea is to provide access to SkGpuDevice's drawContext rather than its GrRenderTarget. That is usually what the testing framework actually wants. GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1930623003 Committed: https://skia.googlesource.com/skia/+/175dd9b5e3d7d749738dac743d2ac360b5340187

Patch Set 1 #

Patch Set 2 : clean up #

Patch Set 3 : More clean up #

Total comments: 4

Patch Set 4 : Add TODO #

Patch Set 5 : Fix typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+186 lines, -219 lines) Patch
M gm/beziereffects.cpp View 1 9 chunks +21 lines, -33 lines 0 comments Download
M gm/bigrrectaaeffect.cpp View 2 chunks +3 lines, -9 lines 0 comments Download
M gm/constcolorprocessor.cpp View 1 2 chunks +7 lines, -9 lines 0 comments Download
M gm/convexpolyeffect.cpp View 3 chunks +4 lines, -13 lines 0 comments Download
M gm/imagefromyuvtextures.cpp View 1 1 chunk +2 lines, -3 lines 0 comments Download
M gm/rectangletexture.cpp View 1 chunk +2 lines, -3 lines 0 comments Download
M gm/rrects.cpp View 2 chunks +3 lines, -19 lines 0 comments Download
M gm/texdata.cpp View 1 1 chunk +91 lines, -86 lines 0 comments Download
M gm/texturedomaineffect.cpp View 1 2 chunks +5 lines, -9 lines 0 comments Download
M gm/yuvtorgbeffect.cpp View 1 2 chunks +6 lines, -10 lines 0 comments Download
M include/core/SkCanvas.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M include/core/SkDevice.h View 1 1 chunk +5 lines, -1 line 0 comments Download
M src/core/SkCanvas.cpp View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download
M src/core/SkMultiPictureDraw.cpp View 4 chunks +7 lines, -6 lines 0 comments Download
M src/gpu/SkGpuDevice.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 chunk +5 lines, -0 lines 0 comments Download
M tests/SurfaceTest.cpp View 3 chunks +6 lines, -3 lines 0 comments Download
M tools/VisualBench/WrappedBenchmark.h View 1 2 2 chunks +9 lines, -5 lines 0 comments Download
M tools/debugger/SkDebugCanvas.cpp View 1 chunk +3 lines, -6 lines 0 comments Download

Messages

Total messages: 35 (17 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1930623003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1930623003/40001
4 years, 7 months ago (2016-04-27 22:14:57 UTC) #5
robertphillips
The marginally interesting bits can be found in: SkCanvas.h/.cpp SkDevice.h/ SkGpuDevice.h/.cpp
4 years, 7 months ago (2016-04-27 22:17:53 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-04-27 22:30:29 UTC) #9
robertphillips
ping
4 years, 7 months ago (2016-04-28 14:24:42 UTC) #10
bsalomon
overall seems fine, some Qs https://codereview.chromium.org/1930623003/diff/40001/include/core/SkDevice.h File include/core/SkDevice.h (right): https://codereview.chromium.org/1930623003/diff/40001/include/core/SkDevice.h#newcode109 include/core/SkDevice.h:109: virtual GrRenderTarget* accessRenderTarget() { ...
4 years, 7 months ago (2016-04-28 15:03:35 UTC) #11
robertphillips
https://codereview.chromium.org/1930623003/diff/40001/include/core/SkDevice.h File include/core/SkDevice.h (right): https://codereview.chromium.org/1930623003/diff/40001/include/core/SkDevice.h#newcode109 include/core/SkDevice.h:109: virtual GrRenderTarget* accessRenderTarget() { return nullptr; } On 2016/04/28 ...
4 years, 7 months ago (2016-04-28 18:49:57 UTC) #12
bsalomon
lgtm, if you care virtaul is misspelled in the new comment.
4 years, 7 months ago (2016-04-28 18:54:08 UTC) #13
robertphillips
On 2016/04/28 18:54:08, bsalomon wrote: > lgtm, if you care virtaul is misspelled in the ...
4 years, 7 months ago (2016-04-28 18:57:23 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1930623003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1930623003/80001
4 years, 7 months ago (2016-04-28 18:57:51 UTC) #16
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86-Debug-Trybot/builds/8220) Build-Win-MSVC-x86_64-Debug-Trybot on ...
4 years, 7 months ago (2016-04-28 19:00:17 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1930623003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1930623003/80001
4 years, 7 months ago (2016-04-28 19:23:48 UTC) #20
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86_64-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86_64-Debug-Trybot/builds/8263)
4 years, 7 months ago (2016-04-28 19:26:19 UTC) #22
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1930623003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1930623003/80001
4 years, 7 months ago (2016-04-28 19:27:38 UTC) #24
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86-Debug-Trybot/builds/8221)
4 years, 7 months ago (2016-04-28 19:28:29 UTC) #26
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1930623003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1930623003/80001
4 years, 7 months ago (2016-04-28 21:27:55 UTC) #28
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-04-28 21:28:48 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1930623003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1930623003/80001
4 years, 7 months ago (2016-04-28 21:31:06 UTC) #33
commit-bot: I haz the power
4 years, 7 months ago (2016-04-28 21:32:09 UTC) #35
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://skia.googlesource.com/skia/+/175dd9b5e3d7d749738dac743d2ac360b5340187

Powered by Google App Engine
This is Rietveld 408576698