Version: m51
OS: All
Currently the extraction of the gpu driver bug workarounds from the command-line is done in FeatureInfo's constructor. Since a new FeatureInfo is created for each ContextGroup this extraction is done multiple time whereas the result is constant.
This could be optimized by doing it only one time, for example in GpuChannelManager's constructor.
Note that currently feature_info()->workarounds() is called in a lot of places including some unit tests. So maybe FeatureInfo will still keep a copy of the workarounds but the generation will be done by GpuChannelManager, so only once.
Comment 1 by j.iso...@samsung.com
, Apr 4 2016