DescriptionDo 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 #
Messages
Total messages: 22 (1 generated)
|