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

Issue 742853002: Don't use NULL GrOptDrawState to indicate that draw should be skipped. (Closed)

Created:
6 years, 1 month ago by bsalomon
Modified:
6 years, 1 month ago
Reviewers:
egdaniel
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

Don't use NULL GrOptDrawState to indicate that draw should be skipped. Committed: https://skia.googlesource.com/skia/+/b03c4a35bd319d883925a39871b4972ff1b2c0cc

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address comments #

Patch Set 3 : save other file #

Total comments: 2

Patch Set 4 : Make bool cast work #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -53 lines) Patch
M include/gpu/GrGpuResourceRef.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M src/gpu/GrInOrderDrawBuffer.cpp View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M src/gpu/GrOptDrawState.h View 1 2 3 3 chunks +3 lines, -17 lines 0 comments Download
M src/gpu/GrOptDrawState.cpp View 1 2 3 2 chunks +26 lines, -27 lines 0 comments Download
M tests/GLProgramsTest.cpp View 1 1 chunk +3 lines, -6 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
bsalomon
6 years, 1 month ago (2014-11-19 20:44:37 UTC) #2
egdaniel
https://codereview.chromium.org/742853002/diff/1/src/gpu/GrOptDrawState.cpp File src/gpu/GrOptDrawState.cpp (right): https://codereview.chromium.org/742853002/diff/1/src/gpu/GrOptDrawState.cpp#newcode44 src/gpu/GrOptDrawState.cpp:44: fRenderTarget.reset(drawState.fRenderTarget.get()); is worth having SkASSERT(ds.fRT.get())? Mostly thinking since we ...
6 years, 1 month ago (2014-11-19 21:07:12 UTC) #3
bsalomon
https://codereview.chromium.org/742853002/diff/1/src/gpu/GrOptDrawState.cpp File src/gpu/GrOptDrawState.cpp (right): https://codereview.chromium.org/742853002/diff/1/src/gpu/GrOptDrawState.cpp#newcode44 src/gpu/GrOptDrawState.cpp:44: fRenderTarget.reset(drawState.fRenderTarget.get()); On 2014/11/19 21:07:11, egdaniel wrote: > is worth ...
6 years, 1 month ago (2014-11-20 15:00:30 UTC) #4
egdaniel
lgtm with question on assert https://codereview.chromium.org/742853002/diff/40001/src/gpu/GrOptDrawState.cpp File src/gpu/GrOptDrawState.cpp (right): https://codereview.chromium.org/742853002/diff/40001/src/gpu/GrOptDrawState.cpp#newcode45 src/gpu/GrOptDrawState.cpp:45: SkASSERT(fRenderTarget); Will just checking ...
6 years, 1 month ago (2014-11-20 15:45:19 UTC) #5
bsalomon
https://codereview.chromium.org/742853002/diff/40001/src/gpu/GrOptDrawState.cpp File src/gpu/GrOptDrawState.cpp (right): https://codereview.chromium.org/742853002/diff/40001/src/gpu/GrOptDrawState.cpp#newcode45 src/gpu/GrOptDrawState.cpp:45: SkASSERT(fRenderTarget); On 2014/11/20 15:45:19, egdaniel wrote: > Will just ...
6 years, 1 month ago (2014-11-20 15:46:48 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/742853002/40001
6 years, 1 month ago (2014-11-20 15:47:07 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: Build-Ubuntu13.10-Clang-x86_64-Debug-Trybot on client.skia.compile (http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu13.10-Clang-x86_64-Debug-Trybot/builds/772)
6 years, 1 month ago (2014-11-20 15:48:18 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/742853002/60001
6 years, 1 month ago (2014-11-20 17:44:20 UTC) #12
commit-bot: I haz the power
6 years, 1 month ago (2014-11-20 17:56:16 UTC) #13
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://skia.googlesource.com/skia/+/b03c4a35bd319d883925a39871b4972ff1b2c0cc

Powered by Google App Engine
This is Rietveld 408576698