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

Issue 597323002: Split GrDrawState and GrOptDrawState into separate classes and remove base class. (Closed)

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

Description

Split GrDrawState and GrOptDrawState into separate classes and remove base class. Besides splitting the two classes, there are no logical changes here and mostly moving code around. BUG=skia: Committed: https://skia.googlesource.com/skia/+/89af44a0f1323dc136b238c00ccf143e15abb243

Patch Set 1 #

Patch Set 2 : Comment change #

Total comments: 7

Patch Set 3 : Nits #

Patch Set 4 : More nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1018 lines, -818 lines) Patch
M gyp/gpu.gypi View 1 chunk +0 lines, -2 lines 0 comments Download
M include/gpu/GrGpuResourceRef.h View 1 chunk +2 lines, -1 line 0 comments Download
M src/gpu/GrDrawState.h View 1 2 14 chunks +279 lines, -9 lines 0 comments Download
M src/gpu/GrDrawState.cpp View 1 2 3 8 chunks +338 lines, -4 lines 0 comments Download
M src/gpu/GrDrawTarget.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/gpu/GrOptDrawState.h View 1 2 4 chunks +320 lines, -6 lines 0 comments Download
M src/gpu/GrOptDrawState.cpp View 1 2 3 3 chunks +75 lines, -4 lines 0 comments Download
D src/gpu/GrRODrawState.h View 1 chunk +0 lines, -438 lines 0 comments Download
D src/gpu/GrRODrawState.cpp View 1 chunk +0 lines, -350 lines 0 comments Download
M src/gpu/gl/GrGpuGL.h View 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/gl/GrGpuGL.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 14 (4 generated)
egdaniel
6 years, 3 months ago (2014-09-24 19:20:53 UTC) #2
bsalomon
lgtm w/ a couple nits and Qs https://codereview.chromium.org/597323002/diff/20001/src/gpu/GrDrawState.h File src/gpu/GrDrawState.h (right): https://codereview.chromium.org/597323002/diff/20001/src/gpu/GrDrawState.h#newcode97 src/gpu/GrDrawState.h:97: bool validateVertexAttribs() ...
6 years, 2 months ago (2014-09-25 14:29:28 UTC) #3
bsalomon
lgtm w/ a couple nits and Qs
6 years, 2 months ago (2014-09-25 14:29:29 UTC) #4
egdaniel
https://codereview.chromium.org/597323002/diff/20001/src/gpu/GrDrawState.h File src/gpu/GrDrawState.h (right): https://codereview.chromium.org/597323002/diff/20001/src/gpu/GrDrawState.h#newcode97 src/gpu/GrDrawState.h:97: bool validateVertexAttribs() const; The validateVertexAttribs() only use is a ...
6 years, 2 months ago (2014-09-25 14:48:31 UTC) #5
bsalomon
https://codereview.chromium.org/597323002/diff/20001/src/gpu/GrDrawState.h File src/gpu/GrDrawState.h (right): https://codereview.chromium.org/597323002/diff/20001/src/gpu/GrDrawState.h#newcode259 src/gpu/GrDrawState.h:259: const GrFragmentStage& getCoverageStage(int stageIdx) const { return fCoverageStages[stageIdx]; } ...
6 years, 2 months ago (2014-09-25 15:10:17 UTC) #6
egdaniel
https://codereview.chromium.org/597323002/diff/20001/src/gpu/GrDrawState.h File src/gpu/GrDrawState.h (right): https://codereview.chromium.org/597323002/diff/20001/src/gpu/GrDrawState.h#newcode259 src/gpu/GrDrawState.h:259: const GrFragmentStage& getCoverageStage(int stageIdx) const { return fCoverageStages[stageIdx]; } ...
6 years, 2 months ago (2014-09-25 15:18:30 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/597323002/60001
6 years, 2 months ago (2014-09-25 19:05:53 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: Build-Win-VS2013-x86-Debug-Trybot on tryserver.skia (http://108.170.220.76:10117/builders/Build-Win-VS2013-x86-Debug-Trybot/builds/1962)
6 years, 2 months ago (2014-09-25 19:09:23 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/597323002/60001
6 years, 2 months ago (2014-09-26 13:09:53 UTC) #13
commit-bot: I haz the power
6 years, 2 months ago (2014-09-26 13:15:08 UTC) #14
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as 89af44a0f1323dc136b238c00ccf143e15abb243

Powered by Google App Engine
This is Rietveld 408576698