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

Issue 506803003: Create Read-only Base class for GrDrawState that holds data members and getters (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@master
Project:
skia
Visibility:
Public.

Description

Create Read-only Base class for GrDrawState that holds data members and getters Base class will but used also in follow up cl that will create an OptDrawState class which will share much of the same data/functions as DrawState. Thus the base class BUG=skia: Committed: https://skia.googlesource.com/skia/+/21aed57023bad4b04076c59e37097c7563efc028

Patch Set 1 #

Total comments: 13

Patch Set 2 : Changes from reviewer comments #

Total comments: 1

Patch Set 3 : Nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+682 lines, -523 lines) Patch
M gyp/gpu.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M src/gpu/GrDrawState.h View 1 2 19 chunks +28 lines, -277 lines 0 comments Download
M src/gpu/GrDrawState.cpp View 8 chunks +104 lines, -246 lines 0 comments Download
A src/gpu/GrRODrawState.h View 1 1 chunk +381 lines, -0 lines 0 comments Download
A src/gpu/GrRODrawState.cpp View 1 chunk +167 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
egdaniel
egdaniel@google.com changed reviewers: + bsalomon@google.com
6 years, 3 months ago (2014-08-26 18:01:22 UTC) #1
egdaniel
6 years, 3 months ago (2014-08-26 18:01:22 UTC) #2
bsalomon
https://codereview.chromium.org/506803003/diff/1/src/gpu/GrDrawState.h File src/gpu/GrDrawState.h (right): https://codereview.chromium.org/506803003/diff/1/src/gpu/GrDrawState.h#newcode113 src/gpu/GrDrawState.h:113: bool srcAlphaWillBeOne() const; Shouldn't this be in RO? https://codereview.chromium.org/506803003/diff/1/src/gpu/GrDrawState.h#newcode315 ...
6 years, 3 months ago (2014-08-26 18:15:01 UTC) #3
egdaniel
https://codereview.chromium.org/506803003/diff/1/src/gpu/GrDrawState.h File src/gpu/GrDrawState.h (right): https://codereview.chromium.org/506803003/diff/1/src/gpu/GrDrawState.h#newcode113 src/gpu/GrDrawState.h:113: bool srcAlphaWillBeOne() const; On 2014/08/26 18:15:01, bsalomon wrote: > ...
6 years, 3 months ago (2014-08-26 18:23:46 UTC) #4
bsalomon
https://codereview.chromium.org/506803003/diff/1/src/gpu/GrDrawState.h File src/gpu/GrDrawState.h (right): https://codereview.chromium.org/506803003/diff/1/src/gpu/GrDrawState.h#newcode17 src/gpu/GrDrawState.h:17: * Sub class that is derived from GrRODrawState. The ...
6 years, 3 months ago (2014-08-26 18:25:56 UTC) #5
bsalomon
https://codereview.chromium.org/506803003/diff/1/src/gpu/GrDrawState.h File src/gpu/GrDrawState.h (right): https://codereview.chromium.org/506803003/diff/1/src/gpu/GrDrawState.h#newcode113 src/gpu/GrDrawState.h:113: bool srcAlphaWillBeOne() const; On 2014/08/26 18:23:46, egdaniel wrote: > ...
6 years, 3 months ago (2014-08-26 18:26:41 UTC) #6
egdaniel
https://codereview.chromium.org/506803003/diff/1/src/gpu/GrDrawState.h File src/gpu/GrDrawState.h (right): https://codereview.chromium.org/506803003/diff/1/src/gpu/GrDrawState.h#newcode17 src/gpu/GrDrawState.h:17: * Sub class that is derived from GrRODrawState. The ...
6 years, 3 months ago (2014-08-26 18:45:23 UTC) #7
bsalomon
https://codereview.chromium.org/506803003/diff/1/src/gpu/GrDrawState.h File src/gpu/GrDrawState.h (right): https://codereview.chromium.org/506803003/diff/1/src/gpu/GrDrawState.h#newcode323 src/gpu/GrDrawState.h:323: bool canIgnoreColorAttribute() const; On 2014/08/26 18:45:23, egdaniel wrote: > ...
6 years, 3 months ago (2014-08-26 18:51:53 UTC) #8
bsalomon
lgtm
6 years, 3 months ago (2014-08-26 18:53:21 UTC) #9
egdaniel
The CQ bit was checked by egdaniel@google.com
6 years, 3 months ago (2014-08-26 19:07:38 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/egdaniel@google.com/506803003/40001
6 years, 3 months ago (2014-08-26 19:08:44 UTC) #11
commit-bot: I haz the power
6 years, 3 months ago (2014-08-26 19:24:12 UTC) #12
Message was sent while issue was closed.
Committed patchset #3 (40001) as 21aed57023bad4b04076c59e37097c7563efc028

Powered by Google App Engine
This is Rietveld 408576698