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

Issue 508663002: Create an optimized draw state but not hooked in yet to gpu pipeline (Closed)

Created:
6 years, 3 months ago by egdaniel
Modified:
6 years, 3 months ago
Reviewers:
bsalomon
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@drawBase
Project:
skia
Visibility:
Public.

Description

Create an optimized draw state but not hooked in yet to gpu pipeline BUG=skia: Committed: https://skia.googlesource.com/skia/+/3658f382cc129e463d7f40a7e68214d04d50fe14

Patch Set 1 #

Patch Set 2 : Remove unused function #

Total comments: 9

Patch Set 3 : Review changes #

Total comments: 1

Patch Set 4 : Move getBlendOpts into RO #

Patch Set 5 : Whitespace fix #

Total comments: 14

Patch Set 6 : Updates #

Total comments: 4

Patch Set 7 : Move getFF back to public #

Patch Set 8 : Rebased to recent changes #

Patch Set 9 : Rebased to working ref changes #

Total comments: 6

Patch Set 10 : Rebased on master #

Patch Set 11 : Nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+554 lines, -254 lines) Patch
M gyp/gpu.gypi View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M src/gpu/GrDrawState.h View 1 2 3 4 5 6 7 8 9 10 18 chunks +65 lines, -66 lines 0 comments Download
M src/gpu/GrDrawState.cpp View 1 2 3 4 5 6 7 16 chunks +30 lines, -188 lines 0 comments Download
A src/gpu/GrOptDrawState.h View 1 2 1 chunk +67 lines, -0 lines 0 comments Download
A src/gpu/GrOptDrawState.cpp View 1 2 3 4 5 6 7 1 chunk +147 lines, -0 lines 0 comments Download
M src/gpu/GrRODrawState.h View 1 2 3 4 5 6 7 8 10 chunks +60 lines, -0 lines 0 comments Download
M src/gpu/GrRODrawState.cpp View 1 2 3 4 5 6 7 3 chunks +183 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (1 generated)
egdaniel
egdaniel@google.com changed reviewers: + bsalomon@google.com
6 years, 3 months ago (2014-08-26 18:01:34 UTC) #1
egdaniel
6 years, 3 months ago (2014-08-26 18:01:34 UTC) #2
bsalomon
https://codereview.chromium.org/508663002/diff/20001/src/gpu/GrDrawState.h File src/gpu/GrDrawState.h (right): https://codereview.chromium.org/508663002/diff/20001/src/gpu/GrDrawState.h#newcode31 src/gpu/GrDrawState.h:31: GrDrawState(const SkMatrix& initialViewMatrix) :fCachedOptState(NULL) { space after : https://codereview.chromium.org/508663002/diff/20001/src/gpu/GrOptDrawState.cpp ...
6 years, 3 months ago (2014-08-26 18:41:44 UTC) #3
egdaniel
https://codereview.chromium.org/508663002/diff/20001/src/gpu/GrOptDrawState.cpp File src/gpu/GrOptDrawState.cpp (right): https://codereview.chromium.org/508663002/diff/20001/src/gpu/GrOptDrawState.cpp#newcode112 src/gpu/GrOptDrawState.cpp:112: int firstCoverageStage = 0; On 2014/08/26 18:41:43, bsalomon wrote: ...
6 years, 3 months ago (2014-08-26 18:50:52 UTC) #4
egdaniel
6 years, 3 months ago (2014-08-26 20:22:28 UTC) #5
bsalomon
https://codereview.chromium.org/508663002/diff/40001/src/gpu/GrOptDrawState.cpp File src/gpu/GrOptDrawState.cpp (right): https://codereview.chromium.org/508663002/diff/40001/src/gpu/GrOptDrawState.cpp#newcode113 src/gpu/GrOptDrawState.cpp:113: /** Will doxygen see this comment? Maybe just use ...
6 years, 3 months ago (2014-08-27 13:30:38 UTC) #6
egdaniel
ptal
6 years, 3 months ago (2014-08-28 13:33:12 UTC) #7
bsalomon
https://codereview.chromium.org/508663002/diff/80001/src/gpu/GrDrawState.cpp File src/gpu/GrDrawState.cpp (right): https://codereview.chromium.org/508663002/diff/80001/src/gpu/GrDrawState.cpp#newcode155 src/gpu/GrDrawState.cpp:155: fViewMatrix.reset(); Does this not invalidate the opt state? This ...
6 years, 3 months ago (2014-08-28 13:49:27 UTC) #8
egdaniel
https://codereview.chromium.org/508663002/diff/80001/src/gpu/GrDrawState.cpp File src/gpu/GrDrawState.cpp (right): https://codereview.chromium.org/508663002/diff/80001/src/gpu/GrDrawState.cpp#newcode155 src/gpu/GrDrawState.cpp:155: fViewMatrix.reset(); On 2014/08/28 13:49:27, bsalomon wrote: > Does this ...
6 years, 3 months ago (2014-08-28 14:39:38 UTC) #9
bsalomon
https://codereview.chromium.org/508663002/diff/80001/src/gpu/GrDrawState.cpp File src/gpu/GrDrawState.cpp (right): https://codereview.chromium.org/508663002/diff/80001/src/gpu/GrDrawState.cpp#newcode155 src/gpu/GrDrawState.cpp:155: fViewMatrix.reset(); On 2014/08/28 14:39:38, egdaniel wrote: > On 2014/08/28 ...
6 years, 3 months ago (2014-08-28 15:05:02 UTC) #10
egdaniel
https://codereview.chromium.org/508663002/diff/100001/src/gpu/GrRODrawState.h File src/gpu/GrRODrawState.h (right): https://codereview.chromium.org/508663002/diff/100001/src/gpu/GrRODrawState.h#newcode390 src/gpu/GrRODrawState.h:390: const int* getFixedFunctionVertexAttribIndices() const { On 2014/08/28 15:05:02, bsalomon ...
6 years, 3 months ago (2014-08-28 15:24:24 UTC) #11
bsalomon
https://codereview.chromium.org/508663002/diff/100001/src/gpu/GrRODrawState.h File src/gpu/GrRODrawState.h (right): https://codereview.chromium.org/508663002/diff/100001/src/gpu/GrRODrawState.h#newcode390 src/gpu/GrRODrawState.h:390: const int* getFixedFunctionVertexAttribIndices() const { On 2014/08/28 15:24:24, egdaniel ...
6 years, 3 months ago (2014-08-28 15:47:01 UTC) #12
egdaniel
Probably should land the change to EffectStage copy ctor before this, but this is first ...
6 years, 3 months ago (2014-09-08 16:05:35 UTC) #13
bsalomon
https://codereview.chromium.org/508663002/diff/160001/src/gpu/GrDrawState.h File src/gpu/GrDrawState.h (right): https://codereview.chromium.org/508663002/diff/160001/src/gpu/GrDrawState.h#newcode183 src/gpu/GrDrawState.h:183: const GrEffect* setGeometryProcessor(const GrEffect* effect, int attr0 = -1, ...
6 years, 3 months ago (2014-09-08 20:59:03 UTC) #14
egdaniel
https://codereview.chromium.org/508663002/diff/160001/src/gpu/GrDrawState.h File src/gpu/GrDrawState.h (right): https://codereview.chromium.org/508663002/diff/160001/src/gpu/GrDrawState.h#newcode183 src/gpu/GrDrawState.h:183: const GrEffect* setGeometryProcessor(const GrEffect* effect, int attr0 = -1, ...
6 years, 3 months ago (2014-09-11 15:35:42 UTC) #15
bsalomon
lgtm
6 years, 3 months ago (2014-09-11 17:00:22 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/508663002/200001
6 years, 3 months ago (2014-09-15 13:55:16 UTC) #18
commit-bot: I haz the power
6 years, 3 months ago (2014-09-15 14:02:03 UTC) #19
Message was sent while issue was closed.
Committed patchset #11 (id:200001) as 3658f382cc129e463d7f40a7e68214d04d50fe14

Powered by Google App Engine
This is Rietveld 408576698