In my game I set resolution policy to “kResolutionExactFit”. However, that didn’t worked (I wanted my viewport to stretch over the whole display, while it was maintaining original ratio, leaving borders on the sides).
After a while, I found this line (CCEGLView.cpp, line 451):
No matter which resolution policy I apply~~ you always overwriting it by kResolutionShowAll value.
In my opinion, this is a bug, and you should use existing resolution policy.