summaryrefslogtreecommitdiffstats
path: root/src/render/backend/stringtoint_p.h
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire@kdab.com>2016-02-11 08:47:00 +0100
committerSean Harmer <sean.harmer@kdab.com>2016-02-21 10:36:29 +0000
commit2fd869c0f36e821d0bfdb3a4edbb344a0d4190b9 (patch)
tree9b442a6a50ac34ccdeb620295df0fa0402648f51 /src/render/backend/stringtoint_p.h
parent1e409bf2e5e7e21a25d9913ea044fe08db6ff787 (diff)
RenderViews: use int comparison rather than string for uniforms filtering
Provides a non negligible gain in performance. Change-Id: I1165d1fcd044e3bdebf286539da2f5316f764540 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/render/backend/stringtoint_p.h')
-rw-r--r--src/render/backend/stringtoint_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/backend/stringtoint_p.h b/src/render/backend/stringtoint_p.h
index 0c2c5dd09..27a3f6f05 100644
--- a/src/render/backend/stringtoint_p.h
+++ b/src/render/backend/stringtoint_p.h
@@ -61,7 +61,7 @@ namespace Qt3DRender {
namespace Render {
-class StringToInt
+class Q_AUTOTEST_EXPORT StringToInt
{
public:
static int lookupId(const QString &str);