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

Issue 12379052: Remove constructors from GrVertexAttrib (Closed)

Created:
7 years, 9 months ago by jvanverth1
Modified:
7 years, 9 months ago
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Remove constructors from GrVertexAttrib. It fits our style better to use initializer lists, so the constructors have been removed and replaced with said lists.

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -31 lines) Patch
M src/gpu/GrAAConvexPathRenderer.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/gpu/GrAAHairLinePathRenderer.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/gpu/GrAARectRenderer.cpp View 2 chunks +4 lines, -4 lines 0 comments Download
M src/gpu/GrContext.cpp View 4 chunks +10 lines, -7 lines 1 comment Download
M src/gpu/GrDrawState.h View 1 chunk +3 lines, -3 lines 0 comments Download
M src/gpu/GrDrawState.cpp View 3 chunks +12 lines, -6 lines 0 comments Download
M src/gpu/GrDrawTarget.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/gpu/GrInOrderDrawBuffer.cpp View 3 chunks +6 lines, -3 lines 0 comments Download
M src/gpu/GrTextContext.cpp View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
jvanverth1
7 years, 9 months ago (2013-03-01 19:38:20 UTC) #1
robertphillips
lgtm
7 years, 9 months ago (2013-03-01 19:51:27 UTC) #2
bsalomon
lgtm https://codereview.chromium.org/12379052/diff/1/src/gpu/GrContext.cpp File src/gpu/GrContext.cpp (right): https://codereview.chromium.org/12379052/diff/1/src/gpu/GrContext.cpp#newcode933 src/gpu/GrContext.cpp:933: attribs.push_back(currAttrib); No need to change but just FYI, ...
7 years, 9 months ago (2013-03-01 19:55:38 UTC) #3
jvanverth1
> https://codereview.chromium.org/12379052/diff/1/src/gpu/GrContext.cpp > File src/gpu/GrContext.cpp (right): > > https://codereview.chromium.org/12379052/diff/1/src/gpu/GrContext.cpp#newcode933 > src/gpu/GrContext.cpp:933: attribs.push_back(currAttrib); > No need ...
7 years, 9 months ago (2013-03-01 20:24:00 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/jvanverth@google.com/12379052/1
7 years, 9 months ago (2013-03-01 20:24:23 UTC) #5
commit-bot: I haz the power
Presubmit check for 12379052-1 failed and returned exit status 1. INFO:root:Found 9 file(s). Running presubmit ...
7 years, 9 months ago (2013-03-01 20:24:26 UTC) #6
bsalomon
On 2013/03/01 20:24:00, JimVV wrote: > > https://codereview.chromium.org/12379052/diff/1/src/gpu/GrContext.cpp > > File src/gpu/GrContext.cpp (right): > > ...
7 years, 9 months ago (2013-03-01 20:25:03 UTC) #7
jvanverth1
7 years, 9 months ago (2013-03-01 20:34:38 UTC) #8
Message was sent while issue was closed.
Committed as r7936.

On 2013/03/01 20:25:03, bsalomon wrote:
> On 2013/03/01 20:24:00, JimVV wrote:
> > > https://codereview.chromium.org/12379052/diff/1/src/gpu/GrContext.cpp
> > > File src/gpu/GrContext.cpp (right):
> > > 
> > >
> >
>
https://codereview.chromium.org/12379052/diff/1/src/gpu/GrContext.cpp#newcode933
> > > src/gpu/GrContext.cpp:933: attribs.push_back(currAttrib);
> > > No need to change but just FYI, this would work:
> > > 
> > > attribs.push_back()->set(...);
> > 
> > Strangely this seems to generate more assembly in Win64 than what I have.
> 
> weird

Powered by Google App Engine
This is Rietveld 408576698