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

Issue 503953002: Do not use extern template declarations for RectBase etc for NaCl builds (Closed)

Created:
6 years, 4 months ago by Derek Schuff
Modified:
6 years, 2 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Do not use extern template declarations for RectBase etc for NaCl builds The GPU command buffer client uses Rect/RectF from gfx. RectBase and friends have an extern template declaration which means that instead of inlining the x(), y(), width() and height() methods (e.g. where they are used in the header and in gles2_implementation.cc), an external reference is generated instead. Unlike in Chromium, the NaCl IRT build does not build/link with the gfx/geometry implementation, which means that these references never get defined. So do not use the extern template declarations for NaCl. R=bbudge@chromium.org (GPU untrusted build), danakj@chromium.org (graphics primitives OWNERS) TEST= NaCl IRT build with no optimization BUG= https://code.google.com/p/chromium/issues/detail?id=388035 Committed: https://crrev.com/139fb7ad98ee8af20d557ff78e52473ea36f3ab1 Cr-Commit-Position: refs/heads/master@{#291829}

Patch Set 1 #

Total comments: 4

Patch Set 2 : review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -8 lines) Patch
M ui/gfx/geometry/insets.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/gfx/geometry/insets_f.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/gfx/geometry/point.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/gfx/geometry/point_f.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/gfx/geometry/rect.h View 1 1 chunk +1 line, -1 line 0 comments Download
M ui/gfx/geometry/rect_f.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/gfx/geometry/size.h View 1 1 chunk +1 line, -1 line 0 comments Download
M ui/gfx/geometry/size_f.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 22 (1 generated)
Derek Schuff
dschuff@chromium.org changed reviewers: + bbudge@chromium.org, danakj@chromium.org - bbudge@chromium.org (gpu untrusted build)
6 years, 4 months ago (2014-08-25 22:23:19 UTC) #1
Derek Schuff
dschuff@chromium.org changed reviewers: + bradnelson@chromium.org
6 years, 4 months ago (2014-08-25 22:26:16 UTC) #2
Derek Schuff
This went unnoticed because we've been building the IRT with O2, which caused the calls ...
6 years, 4 months ago (2014-08-25 22:26:16 UTC) #3
danakj
I'm a bit confused at what this CL seems to imply. Does this mean Rect::x() ...
6 years, 4 months ago (2014-08-25 22:35:14 UTC) #4
Derek Schuff
On 2014/08/25 22:35:14, danakj wrote: > I'm a bit confused at what this CL seems ...
6 years, 4 months ago (2014-08-25 23:24:13 UTC) #5
danakj
On 2014/08/25 23:24:13, Derek Schuff wrote: > On 2014/08/25 22:35:14, danakj wrote: > > I'm ...
6 years, 4 months ago (2014-08-25 23:32:54 UTC) #6
bradn
bradnelson@google.com changed reviewers: + bradnelson@google.com
6 years, 4 months ago (2014-08-26 00:05:44 UTC) #7
bradn
lgtm
6 years, 4 months ago (2014-08-26 00:05:45 UTC) #8
Derek Schuff
The CQ bit was checked by dschuff@chromium.org
6 years, 4 months ago (2014-08-26 00:10:45 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dschuff@chromium.org/503953002/1
6 years, 4 months ago (2014-08-26 00:11:55 UTC) #10
bbudge
https://codereview.chromium.org/503953002/diff/1/ui/gfx/geometry/rect.h File ui/gfx/geometry/rect.h (left): https://codereview.chromium.org/503953002/diff/1/ui/gfx/geometry/rect.h#oldcode36 ui/gfx/geometry/rect.h:36: Why remove this line? https://codereview.chromium.org/503953002/diff/1/ui/gfx/geometry/size.h File ui/gfx/geometry/size.h (right): https://codereview.chromium.org/503953002/diff/1/ui/gfx/geometry/size.h#newcode63 ...
6 years, 4 months ago (2014-08-26 00:13:03 UTC) #11
Derek Schuff
The CQ bit was unchecked by dschuff@chromium.org
6 years, 4 months ago (2014-08-26 00:30:28 UTC) #12
Derek Schuff
https://codereview.chromium.org/503953002/diff/1/ui/gfx/geometry/rect.h File ui/gfx/geometry/rect.h (left): https://codereview.chromium.org/503953002/diff/1/ui/gfx/geometry/rect.h#oldcode36 ui/gfx/geometry/rect.h:36: On 2014/08/26 00:13:03, bbudge wrote: > Why remove this ...
6 years, 4 months ago (2014-08-26 00:32:31 UTC) #13
Derek Schuff
The CQ bit was checked by dschuff@chromium.org
6 years, 4 months ago (2014-08-26 00:32:35 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dschuff@chromium.org/503953002/20001
6 years, 4 months ago (2014-08-26 00:34:26 UTC) #15
bbudge
lgtm
6 years, 4 months ago (2014-08-26 00:35:30 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (20001) as 3b2bf9c92ea7791f2670e775460bc8e7db5d65aa
6 years, 4 months ago (2014-08-26 03:40:44 UTC) #17
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/139fb7ad98ee8af20d557ff78e52473ea36f3ab1 Cr-Commit-Position: refs/heads/master@{#291829}
6 years, 3 months ago (2014-09-10 02:40:02 UTC) #18
Nico
Why don't you link to gfx/geometry if you use methods from there?
6 years, 2 months ago (2014-10-01 22:20:30 UTC) #20
danakj
On 2014/10/01 22:20:30, Nico (away until Oct 27) wrote: > Why don't you link to ...
6 years, 2 months ago (2014-10-06 18:30:20 UTC) #21
danakj
6 years, 2 months ago (2014-10-06 18:33:27 UTC) #22
Message was sent while issue was closed.
On 2014/10/06 18:30:20, danakj wrote:
> On 2014/10/01 22:20:30, Nico (away until Oct 27) wrote:
> > Why don't you link to gfx/geometry if you use methods from there?
> 
> Great question. dschuff@ can you answer?

Filed https://code.google.com/p/chromium/issues/detail?id=420715 about this
also.

Powered by Google App Engine
This is Rietveld 408576698