Bug 1354 - Parametrize the usage of glGetError()
Summary: Parametrize the usage of glGetError()
Status: UNCONFIRMED
Alias: None
Product: Jogl
Classification: JogAmp
Component: opengl (show other bugs)
Version: tbd
Hardware: All all
: P4 major
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2017-04-02 11:51 CEST by Giuseppe Barbieri
Modified: 2017-04-02 11:51 CEST (History)
0 users

See Also:
Type: DEFECT
SCM Refs:
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Giuseppe Barbieri 2017-04-02 11:51:17 CEST
We should have an option to disable/inhibit any call to glGetError() 

It shouldn't be called in production.

I had several problems in the past with buffer rings and asynchronous processes.

I believe it has to do with multi-threaded drivers, where glGetError() causes a synchronization

http://stackoverflow.com/a/30560003/1047713