Please confirm the following points:
Topic
General Request
Your Request
Hi,
I'm currently integrating ProjectM in an iOS app, Modizer. it's working quite well but I'm facing regular stuttering when switching preset. I went through #545 and did some profiling.
Issue seems to be the following call in HLSL which eats a lot of CPU in the preset loading process:
static inline double iss_strtod(const char * in, char ** end) (line 67 in hlslparser/src/Engine.cpp)
It seems the overhead is huge.
I tried to just call regular C strtod function instead and it seems to work fine so far, stuttering has gone. Not sure it is important to manage the C++ to C locale for that part.
Edit:spoke too soon, stuttering has reduced but not fully, will do more troubleshooting.
Please confirm the following points:
Topic
General Request
Your Request
Hi,
I'm currently integrating ProjectM in an iOS app, Modizer. it's working quite well but I'm facing regular stuttering when switching preset. I went through #545 and did some profiling.
Issue seems to be the following call in HLSL which eats a lot of CPU in the preset loading process:
static inline double iss_strtod(const char * in, char ** end)(line 67 in hlslparser/src/Engine.cpp)It seems the overhead is huge.
I tried to just call regular C strtod function instead and it seems to work fine so far, stuttering has gone. Not sure it is important to manage the C++ to C locale for that part.
Edit:spoke too soon, stuttering has reduced but not fully, will do more troubleshooting.