You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Basic logic:
Try each context, if can't find buffer, try next context. Stop at first context with a buffer we want, selecting the best buffer in that context.
It was based on the recommendations from NVIDIA about mobile GL. It is supposed to be faster due to the smaller amount of memory touched etc.
Also so far I have not noticed a drop in visual quality - at least for certain map styles e.g. street maps
It may be that modern phones are so fast that I am wasting time worrying about 565 vs 8888. Are there performance figures to support for/against 565? Perhaps I should look into this myself.
Please let me know if I should stop worrying about 565, and switch to 8888.
Activity
ljbade commentedon Nov 9, 2014
OK I am making note here of what order I believe the logic needs to evaluate available configs.
Valid buffer configs in preferred order:
Preferred EGL context order:
Basic logic:
Try each context, if can't find buffer, try next context. Stop at first context with a buffer we want, selecting the best buffer in that context.
ljbade commentedon Nov 9, 2014
Some useful links:
Notes from NVIDIA on choosing and EGL config
We should pay attention to Android's EGLConfigChooser logic from GLSurfaceView
kkaefer commentedon Nov 10, 2014
What is the reasoning behind preferring 565 over 8888? All other implementations are using 8888.
ljbade commentedon Nov 10, 2014
It was based on the recommendations from NVIDIA about mobile GL. It is supposed to be faster due to the smaller amount of memory touched etc.
Also so far I have not noticed a drop in visual quality - at least for certain map styles e.g. street maps
It may be that modern phones are so fast that I am wasting time worrying about 565 vs 8888. Are there performance figures to support for/against 565? Perhaps I should look into this myself.
Please let me know if I should stop worrying about 565, and switch to 8888.
ljbade commentedon Nov 22, 2014
I used std::list and std::tuple to sort the configs after filtering them.
Done in a438459