I am working on a Python library for 2D sprite-based games (pygame's lack of hardware acceleration on the pi being a dealbreaker in this regard and pyglet not currently supporting OpenGL ES).
At the moment my surface creation code is based on the examples in /opt/vc/src. However, while experimenting I have found that the EGL/dispmanx code used in hello_triangle and hello_dispmanx does not seem to respect the pi's overscan settings. While the console and X both seem to respect the settings in /boot/config.txt (easily verified by setting a very large overscan value), the display surfaces I am creating (and those created by hello_triangle et al.) seem to occupy the whole of each scanline.
Is there any way to ensure that surfaces are created with the appropriate size?
