diff options
| author | Glenn Kasten <gkasten@google.com> | 2012-01-30 13:00:02 -0800 |
|---|---|---|
| committer | Glenn Kasten <gkasten@google.com> | 2012-01-30 13:00:02 -0800 |
| commit | c64a6f01cb2dd7cda8bcac79ba04b6ed454d65c4 (patch) | |
| tree | d2264340942bdfbaec813e7a32728f5e1930a8e5 /opengl/tests/gl_basic/gl_basic.cpp | |
| parent | acabf488674e0f5a6d0fa6d1da5e36b417a681a0 (diff) | |
Improve performance for sp<> on stack
Combine default constructor for sp<> immediately followed by assignment,
as the reference-counting is relatively slow. Also return sp<> directly
rather than via local variable, for the same reason.
Change-Id: If55931f1e407994f6591ddde41b53db72fb4fc40
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions
