What about adding the following ES extension to desktop GL?
GL_EXT_discard_framebuffer
It actually trivially adds the possibility to invalidate the content of framebuffer attachments. This can provide room for some optimizations.
Of course, this feature is more relevant for GPUs on embedded devices that's why it is an OpenGL ES extension, however I think it may provide possibility for optimizations on desktop as well.
What do you think? Is it pointless for desktop GL?



