aboutsummaryrefslogtreecommitdiff
path: root/layers/image.cpp
diff options
context:
space:
mode:
authorChris Forbes <chrisforbes@google.com>2016-04-14 10:30:01 +1200
committerChris Forbes <chrisforbes@google.com>2016-04-14 10:51:19 +1200
commit85834d143caed7cd3cca59d91033c9dcb01b3d31 (patch)
tree7dd7986bcfea295f37e3780d3cb4b69d0d39364d /layers/image.cpp
parenta82b9de2a98c3f65e40586747a9f9fb5486d0f04 (diff)
downloadusermoji-85834d143caed7cd3cca59d91033c9dcb01b3d31.tar.xz
layers: only construct stringstreams in error paths
These are actually stupidly expensive to construct -- with most of the cost going to the contained std::locale. Added up to about 6% of profile on my machine in `smoke -s` with VK_LAYER_LUNARG_core_validation enabled. Signed-off-by: Chris Forbes <chrisforbes@google.com>
Diffstat (limited to 'layers/image.cpp')
0 files changed, 0 insertions, 0 deletions