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

Issue 2145643003: Move GrDrawTarget::clear logic into GrDrawContext (Closed)

Created:
4 years, 5 months ago by robertphillips
Modified:
4 years, 5 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

Move GrDrawTarget::clear logic into GrDrawContext I found it a bit worrisome that GrDrawTarget was calling back into GrDrawContext. This also moves GrDrawTarget closer to being a simple-ish container of batches. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2145643003 Committed: https://skia.googlesource.com/skia/+/9199a9fef9896636f673372d2ac1c00af036bf85

Patch Set 1 #

Total comments: 4

Patch Set 2 : Add Make entry point #

Patch Set 3 : Fix typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -99 lines) Patch
M gyp/gpu.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/GrDrawContext.cpp View 1 3 chunks +34 lines, -2 lines 0 comments Download
M src/gpu/GrDrawTarget.h View 2 chunks +2 lines, -10 lines 0 comments Download
M src/gpu/GrDrawTarget.cpp View 2 chunks +3 lines, -39 lines 0 comments Download
M src/gpu/batches/GrClearBatch.h View 1 3 chunks +10 lines, -48 lines 0 comments Download
A src/gpu/batches/GrClearStencilClipBatch.h View 1 2 1 chunk +59 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (14 generated)
robertphillips
4 years, 5 months ago (2016-07-12 18:34:44 UTC) #4
bsalomon
https://codereview.chromium.org/2145643003/diff/1/src/gpu/GrDrawContext.cpp File src/gpu/GrDrawContext.cpp (right): https://codereview.chromium.org/2145643003/diff/1/src/gpu/GrDrawContext.cpp#newcode228 src/gpu/GrDrawContext.cpp:228: sk_sp<GrBatch> batch(sk_make_sp<GrClearBatch>(*rect, color, this->accessRenderTarget())); It seems to me like ...
4 years, 5 months ago (2016-07-12 18:54:26 UTC) #5
robertphillips
https://codereview.chromium.org/2145643003/diff/1/src/gpu/GrDrawContext.cpp File src/gpu/GrDrawContext.cpp (right): https://codereview.chromium.org/2145643003/diff/1/src/gpu/GrDrawContext.cpp#newcode228 src/gpu/GrDrawContext.cpp:228: sk_sp<GrBatch> batch(sk_make_sp<GrClearBatch>(*rect, color, this->accessRenderTarget())); On 2016/07/12 18:54:26, bsalomon wrote: ...
4 years, 5 months ago (2016-07-12 19:22:47 UTC) #6
bsalomon
On 2016/07/12 19:22:47, robertphillips wrote: > https://codereview.chromium.org/2145643003/diff/1/src/gpu/GrDrawContext.cpp > File src/gpu/GrDrawContext.cpp (right): > > https://codereview.chromium.org/2145643003/diff/1/src/gpu/GrDrawContext.cpp#newcode228 > ...
4 years, 5 months ago (2016-07-12 19:24:50 UTC) #7
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/2145643003/40001
4 years, 5 months ago (2016-07-13 14:47:48 UTC) #18
commit-bot: I haz the power
4 years, 5 months ago (2016-07-13 14:48:47 UTC) #20
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://skia.googlesource.com/skia/+/9199a9fef9896636f673372d2ac1c00af036bf85

Powered by Google App Engine
This is Rietveld 408576698