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

Issue 2237633003: Avoid creating full screen clear batches when there is already one in the queue. (Closed)

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

Description

Avoid creating full screen clear batches when there is already one in the queue. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2237633003 Committed: https://skia.googlesource.com/skia/+/fd8d013f0da10d94b43fb63002e56a3f4cd7f56d

Patch Set 1 #

Patch Set 2 : formatting and comment #

Total comments: 2

Patch Set 3 : use sk_sp<GrClearBatch> #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -13 lines) Patch
M src/gpu/GrDrawContext.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/GrDrawTarget.h View 4 chunks +6 lines, -1 line 0 comments Download
M src/gpu/GrDrawTarget.cpp View 1 2 6 chunks +24 lines, -9 lines 0 comments Download
M src/gpu/batches/GrClearBatch.h View 1 2 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (5 generated)
bsalomon
Android is pretty noisy, but on my desktop when running nanobench on a skp capture ...
4 years, 4 months ago (2016-08-11 15:31:43 UTC) #3
robertphillips
lgtm + suggestion I'm surprised this makes that big of a difference on desktop. It ...
4 years, 4 months ago (2016-08-11 16:51:53 UTC) #4
bsalomon
Rerunning the perf the gain is more modest but still very significant 250->210. https://codereview.chromium.org/2237633003/diff/20001/src/gpu/batches/GrClearBatch.h File ...
4 years, 4 months ago (2016-08-11 17:51:28 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2237633003/40001
4 years, 4 months ago (2016-08-11 17:51:44 UTC) #8
commit-bot: I haz the power
4 years, 4 months ago (2016-08-11 18:25:36 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://skia.googlesource.com/skia/+/fd8d013f0da10d94b43fb63002e56a3f4cd7f56d

Powered by Google App Engine
This is Rietveld 408576698