glGenerateMipmap now does not force textures to become render targets.

For textures that are not already render targets, use the CPU to filter them and mark them as dirty.

I tested it by modifying the "mip_map_2d" demo to call glGenerateMipmap instead of generating the mipmaps itself. I also used the debugger to force it to take the render target path and verified that it still worked.

We've been having problems with the display being reset when video memory pressure is heavy with one of our demos. This patch made a noticable improvement on Vista but I don't think it will necessarily help on XP.

Review URL: http://codereview.appspot.com/3262041

git-svn-id: http://angleproject.googlecode.com/svn/trunk@490 736b8ea6-26fd-11df-bfd4-992fa37f6226
2 files changed