Add GCC and clang warning flags from WebKit to ANGLE Mac and Linux builds

Review URL: https://codereview.appspot.com/6427049/


git-svn-id: http://angleproject.googlecode.com/svn/trunk@1230 736b8ea6-26fd-11df-bfd4-992fa37f6226
Pass the programBinary directly to applyDeclaration

Trac #21270
Bug=351
Signed-off-by: Nicolas Capens



git-svn-id: http://angleproject.googlecode.com/svn/trunk@1231 736b8ea6-26fd-11df-bfd4-992fa37f6226
Add serial tracking to ProgramBinary

Trac #21270
Bug=351
Signed-off-by: Nicolas Capens



git-svn-id: http://angleproject.googlecode.com/svn/trunk@1232 736b8ea6-26fd-11df-bfd4-992fa37f6226
Use the ProgramBinary's serial to track changed D3D9 shaders instead of the Program's

Trac #21270
Bug=351
Signed-off-by: Nicolas Capens

This is necessary since the shaders can change every time a new ProgramBinary is created
(eg when re-linking or loading a new binary).



git-svn-id: http://angleproject.googlecode.com/svn/trunk@1233 736b8ea6-26fd-11df-bfd4-992fa37f6226
Remove Program serial tracking. It is no longer useful (or used).


Trac #21270
Bug=351
Signed-off-by: Nicolas Capens




git-svn-id: http://angleproject.googlecode.com/svn/trunk@1234 736b8ea6-26fd-11df-bfd4-992fa37f6226
Cache the current program binary instead of the current program.

Trac #21270
Bug=351
Signed-off-by: Nicolas Capens

Everywhere we used the currentProgram it was immediately used to get the program's binary.


git-svn-id: http://angleproject.googlecode.com/svn/trunk@1235 736b8ea6-26fd-11df-bfd4-992fa37f6226
Don't erase the cached program binary on deletion.

Trac #21270
Bug=351
Signed-off-by: Nicolas Capens

This is unnecessary since the current program can never be deleted, only flagged for deletion.



git-svn-id: http://angleproject.googlecode.com/svn/trunk@1236 736b8ea6-26fd-11df-bfd4-992fa37f6226
Explicitly track the current program binary instead of just caching it.

Trac #21270
Bug=351
Signed-off-by: Nicolas Capens



git-svn-id: http://angleproject.googlecode.com/svn/trunk@1237 736b8ea6-26fd-11df-bfd4-992fa37f6226
redirect the LinkProgram and ProgramBinary calls through the context.

Trac #21270
Bug=351
Signed-off-by: Nicolas Capens



git-svn-id: http://angleproject.googlecode.com/svn/trunk@1238 736b8ea6-26fd-11df-bfd4-992fa37f6226
Make Program link() and setProgramBinary() return the status of the operation

Trac #21270
Bug=351
Signed-off-by: Nicolas Capens



git-svn-id: http://angleproject.googlecode.com/svn/trunk@1239 736b8ea6-26fd-11df-bfd4-992fa37f6226
Install new program binary when current program is successfully relinked or reloaded

Trac #21270
Bug=351
Signed-off-by: Nicolas Capens



git-svn-id: http://angleproject.googlecode.com/svn/trunk@1240 736b8ea6-26fd-11df-bfd4-992fa37f6226
Restore the explicit isLinked() method for Programs and fix link().

Trac #21270
Bug=351
Signed-off-by: Nicolas Capens

If link fails we still need to keep the failed binary around for information
such as number of active attributes, varyings, etc.
Thus we can no longer use the presence of a binary to tell us if we've successfully
linked a program object.



git-svn-id: http://angleproject.googlecode.com/svn/trunk@1241 736b8ea6-26fd-11df-bfd4-992fa37f6226
Make ProgramBinary a refcount object and use Binding pointers to maintain it's lifetime on context and program.

Trac #21270
Bug=351
Signed-off-by: Nicolas Capens

This fixes the underlying bug since it allows the context to keep the program binary alive, after a relink has occurred.



git-svn-id: http://angleproject.googlecode.com/svn/trunk@1242 736b8ea6-26fd-11df-bfd4-992fa37f6226
Revert r1230.

See https://codereview.appspot.com/6427049/.
Review URL: https://codereview.appspot.com/6422063

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