Add c++0x flag to cflags on non-win platforms.

Our previous change to use static_assert leads the new wave of c++11
features.

BUG=

Change-Id: Id6d382475daa7029109dab1017a59b5ef07c18df
Reviewed-on: https://chromium-review.googlesource.com/221267
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Kenneth Russell <kbr@chromium.org>
Tested-by: Jamie Madill <jmadill@chromium.org>
Fix CopyBufferSubData validation.

We were checking readTarget twice, instead of both read and write.

BUG=angle:800

Change-Id: I4096a9c4e0fdec9c77bfc25250923c188d2b43db
Reviewed-on: https://chromium-review.googlesource.com/224102
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Tested-by: Jamie Madill <jmadill@chromium.org>
Fix TextureD3D::setData for depth-stencil textures.

D3D11 requires us to NULL the update region parameter when updating
depth stencil textures. For these textures, we can't always use the
subdata workaround, so disable it entirely for these textures.

BUG=angle:729
BUG=365078

Change-Id: I44258dd1b8937b1aebcb3a73de835698805537e0
Reviewed-on: https://chromium-review.googlesource.com/222911
Tested-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>