aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics/opengl/texture.h
AgeCommit message (Collapse)Author
2013-10-19OPENGL: Limit maximum Surface size to maximum texture size.Johannes Schickel
This is mostly aimed at old graphics chips. For example, wjp's old laptop only supports 1024x1024 textures but has a 1280x800 screen. Switching to fullscreen would create a bigger overlay than supported. Now it will get limited to an smaller resolution and then scaled too. Alternatively we could think of tiling surfaces into textures. But then handling scaling would be more complicated since it might result in artifacts on texture tile borders.
2013-10-19OPENGL: Implement dirty rect handling.Johannes Schickel
2013-10-19OPENGL: Add new generic OpenGL (ES) backend.Johannes Schickel
This backend is based on ideas of the old OpenGL backend, of the Android GL backend and of the iPhone GL backend.