Cocoa Port:
- If a video filter is used, upload textures in BGRA8888 instead of RGBA8888 format.
- Do some cleanup of the OpenGL display code.

git-svn-id: https://svn.code.sf.net/p/desmume/code/trunk@5013 5577840e-afb3-4e59-9ef3-2b7f898b1952
Cocoa Port:
- Fix building of the Legacy project.
- In the Legacy and Xcode 3 projects, make the default C language GNU99.

git-svn-id: https://svn.code.sf.net/p/desmume/code/trunk@5014 5577840e-afb3-4e59-9ef3-2b7f898b1952
Video Filters:
- When using multiple threads, ensure that all lines are accounted for when the line count isn't evenly divisible by the thread count.
- Add static method VideoFilter::GetAttributesByID().
- Reallocating the destination buffers now uses its own method. Reverts the changes from r5000.
- Prepare the code for the use of multi-pass filters.

git-svn-id: https://svn.code.sf.net/p/desmume/code/trunk@5015 5577840e-afb3-4e59-9ef3-2b7f898b1952