diff options
author | Thomas Helland <[email protected]> | 2017-05-20 22:50:09 +0200 |
---|---|---|
committer | Thomas Helland <[email protected]> | 2017-09-26 18:25:20 +0200 |
commit | e7220d2c22b55b8305e5338b80483a6659fb15c8 (patch) | |
tree | 69bf061b320696c904b45bd6c60e5e483f069e55 /.mailmap | |
parent | cad323f898fef3c8c1d07152919c3d3c88a26955 (diff) |
glcpp: Use string_buffer for line continuation removal
Migrate removal of line continuations to string_buffer. Before this
it used ralloc_strncat() to append strings, which internally
each time calculates strlen() of its argument. Its argument is
entire shader, so it multiple time scans the whole shader text.
Signed-off-by: Vladislav Egorov <[email protected]>
Tested-by: Dieter Nützel <Dieter at nuetzel-hh.de>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
V2: Adapt to different API of string buffer (Thomas Helland)
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions