Skip to content

disable gl.getError check for production#724

Merged
jfboeve merged 3 commits intolightning-js:mainfrom
lightning-tv:perf/getError
Feb 4, 2026
Merged

disable gl.getError check for production#724
jfboeve merged 3 commits intolightning-js:mainfrom
lightning-tv:perf/getError

Conversation

@chiefcll
Copy link
Copy Markdown
Contributor

performing this check has a lot of overhead for each image.

@wouterlucas
Copy link
Copy Markdown
Contributor

You can do this higher up the chain in checkGLError - that way you skip a few invocations
I don't know how important it is to have this on createShader

@chiefcll
Copy link
Copy Markdown
Contributor Author

I think it's important in Dev to know if it worked. But in prod - won't matter. I'll look into moving it up...

@chiefcll
Copy link
Copy Markdown
Contributor Author

done

@jfboeve jfboeve added this pull request to the merge queue Feb 4, 2026
Merged via the queue into lightning-js:main with commit 6529a40 Feb 4, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants